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
..
2009-10-14 11:31:26 +01:00
2009-10-14 11:31:26 +01:00
2009-10-30 11:02:35 +00:00
2009-07-10 11:38:42 +01:00
2009-07-10 11:38:42 +01:00
2009-10-19 12:01:38 +01:00
2009-10-14 11:31:26 +01:00
2009-10-16 15:55:05 +01:00
2009-10-19 11:45:15 +01:00