summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2013-09-18 20:00:50 -0700
committerChad Versace <chad.versace@linux.intel.com>2013-09-19 10:43:31 -0700
commit035db0cb4710f42f9248f4f0f8074aafe98ceaa7 (patch)
tree4d0774834606eb293eeb4b8322c8f930085193ca /examples
parent7dd2236e7e4a13d09514d6fa811f4bb7089e5180 (diff)
waffle: Mark waffle_window_resize() as experimental
That is, guard it with the feature macro WAFFLE_API_EXPERIMENTAL. waffle_window_resize() is proving to dificult to implement because Waffle lacks an event model. It seems to work properly on Wayland. It works on CGL but the resize is janky. It kinda works on composited X11 but interacts badly with GL rendering; the client needs to stall after resize to provide the compositor sufficient time to process the request before the client begins to draw... ouch. I haven't tested it on Android. So... until waffle_window_resize() actually works it needs to remain experimental until we do one of: 1. Make it synchronous on all platforms. (I'm having difficulty doing this on composited X11). 2. Waffle exposes API for an event model, into which window resizes are integrated. (This is likely the wrong direction). 3. We kill waffle_window_resize(). CC: Juha-Pekka Heikkila <juha-pekka.heikkila@linux.intel.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/gl_basic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/gl_basic.c b/examples/gl_basic.c
index 3c8445a..1a3ea4c 100644
--- a/examples/gl_basic.c
+++ b/examples/gl_basic.c
@@ -35,6 +35,7 @@
#define _POSIX_C_SOURCE 199309L // glibc feature macro for nanosleep.
#define WAFFLE_API_VERSION 0x0103
+#define WAFFLE_API_EXPERIMENTAL
#include <getopt.h>
#include <stdarg.h>