1
0
Fork 0
mutter-performance-source/examples
Neil Roberts 9f107ab3fb Support window resizing in the SDL 2 winsys
The SDL2 winsys will now set the SDL_WINDOW_RESIZABLE flag on the
window before creating it if the resizable property is set on the
onscreen. Note that there doesn't appear to be a way in SDL to change
the flag later so unlike the other winsyses it will only take affect
if it is set before allocating the framebuffer.

The winsys now registers a callback for SDL events so that it can
report window size changes back to the application.

Reviewed-by: Robert Bragg <robert@linux.intel.com>

(cherry picked from commit 0dea9aeb897faf029828379b120970477df3c7d5)
2013-01-22 17:48:04 +00:00
..
android/hello Adds CoglError api 2013-01-22 17:47:39 +00:00
cogl-crate.c Adds CoglError api 2013-01-22 17:47:39 +00:00
cogl-gles2-context.c Adds CoglError api 2013-01-22 17:47:39 +00:00
cogl-gles2-gears.c Adds CoglError api 2013-01-22 17:47:39 +00:00
cogl-hello.c Adds CoglError api 2013-01-22 17:47:39 +00:00
cogl-info.c Adds CoglError api 2013-01-22 17:47:39 +00:00
cogl-msaa.c Adds CoglError api 2013-01-22 17:47:39 +00:00
cogl-sdl-hello.c build the sdl examples when glib is disabled 2013-01-22 17:47:58 +00:00
cogl-sdl2-hello.c Support window resizing in the SDL 2 winsys 2013-01-22 17:48:04 +00:00
cogl-x11-foreign.c Adds CoglError api 2013-01-22 17:47:39 +00:00
cogl-x11-tfp.c Adds CoglError api 2013-01-22 17:47:39 +00:00
cogland.c Adds CoglError api 2013-01-22 17:47:39 +00:00
crate.jpg Adds another example that draws a 3D crate 2011-06-30 14:33:11 +01:00
Makefile.am build: don't include deps/glib headers if glib enabled 2013-01-22 17:47:58 +00:00