1
0
Fork 0
mutter-performance-source/clutter/x11
Chris Lord 2fcb644e4f [stage] Fix some races to do with window resizing
When we resize, we relied on the stage's allocate to re-initialise the
GL viewport. Unfortunately, if we resized within Clutter, the new size
was cached before the window is actually resized, so glViewport wasn't
being called after resizing (some of the time, it's a race condition).

Change the way resizing works slightly so that we only resize when the
geometry size doesn't match our preferred size, and queue a relayout on
ConfigureNotify so the glViewport gets called.

Also change window creation slightly so that setting the size of a
window before it's realized works correctly.
2010-02-15 18:56:50 +00:00
..
clutter-backend-x11-private.h 2008-01-31 Rob Bradford <rob@openedhand.com> 2008-01-31 11:24:11 +00:00
clutter-backend-x11.c glx backend: Adds support for GLX_INTEL_swap_event 2010-02-09 22:19:41 +00:00
clutter-backend-x11.h glx backend: Adds support for GLX_INTEL_swap_event 2010-02-09 22:19:41 +00:00
clutter-event-x11.c [stage] Fix some races to do with window resizing 2010-02-15 18:56:50 +00:00
clutter-input-device-x11.c x11: Re-enable XI1 extension keyboards 2010-01-20 19:40:58 +00:00
clutter-input-device-x11.h device: Make InputDevice an object and subclass it for X11 2010-01-20 00:38:08 +00:00
clutter-stage-x11.c [stage] Fix some races to do with window resizing 2010-02-15 18:56:50 +00:00
clutter-stage-x11.h Revert "[x11] Don't set actor size on ConfigureNotify" 2010-02-06 16:57:37 +01:00
clutter-x11-enum-types.c.in 2008-06-30 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-30 15:03:42 +00:00
clutter-x11-enum-types.h.in 2008-06-30 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-30 15:03:42 +00:00
clutter-x11-texture-pixmap.c x11 tfp: Plug a leak 2010-01-05 14:22:35 +00:00
clutter-x11-texture-pixmap.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-x11.h Port the X11 backend to the Device Manager 2010-01-20 00:38:07 +00:00
clutter-x11.pc.in Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
Makefile.am device: Make InputDevice an object and subclass it for X11 2010-01-20 00:38:08 +00:00