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
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
clutter-x11-enum-types.h.in
clutter-x11-texture-pixmap.c
clutter-x11-texture-pixmap.h
clutter-x11.h
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