[Cogl] [PATCH] replace public cogl_flush with cogl_framebuffer_flush

Neil Roberts neil at linux.intel.com
Mon Nov 19 12:01:59 PST 2012


I wonder if cogl_framebuffer_flush should have a more scary name like
cogl_framebuffer_flush_cogl_state or something if it really is only
meant to be used when you are doing dodgy things with GL yourself.

We currently have a problem that if you create a single-buffered
onscreen framebuffer then there isn't a legitimate way to get the
rendering to appear on the screen. We might want to use the name
cogl_framebuffer_flush or cogl_onscreen_flush to make that happen. That
would flush the journal and also call glFlush(). If that's a possibility
then we should keep the name free.

Regards,
- Neil
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



More information about the Cogl mailing list