mutter/clutter/x11
Robert Bragg f8f8873714 [stage-x11] Ensure viewport is initialized before first stage paint
This ensures that glViewport is called before the first stage paint.
Previously _clutter_stage_maybe_setup_viewport (which is done before we
start painting) was bailing out without calling cogl_setup_viewport because
the CLUTTER_STAGE_IN_RESIZE flag may be set if the stage was resized before
the first paint.  (NB: The CLUTTER_STAGE_IN_RESIZE flag isn't removed until
we get an explicit event back from the X server since the window manager may
choose to deny/alter the resize.)

We now special case the first resize - where the viewport hasn't previously
been initialized and use the requested geometry to initialize the
glViewport without waiting for a reply from the server.
2009-11-02 16:55:02 +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 [x11 backend] remove data duplicated between backends and stages 2009-10-16 18:58:48 +01:00
clutter-backend-x11.h [x11 backend] remove data duplicated between backends and stages 2009-10-16 18:58:48 +01:00
clutter-event-x11.c [x11] Fix Stage user-initiated resize 2009-10-05 12:24:19 +01:00
clutter-stage-x11.c [stage-x11] Ensure viewport is initialized before first stage paint 2009-11-02 16:55:02 +00:00
clutter-stage-x11.h [stage-x11] Ensure viewport is initialized before first stage paint 2009-11-02 16:55:02 +00: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 Always create the Damage object for ClutterX11TexturePixmap auto updates 2009-07-27 10:49:38 +01: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 [input] Rework input device API 2009-06-19 13:12:05 +01: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 Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00