GNOME Bugzilla – Bug 618138
Work around COGL bug causing flash for new windows
Last modified: 2010-05-09 18:32:11 UTC
COGL bug http://bugzilla.openedhand.com/show_bug.cgi?id=2110 results in pending drawing at the time of cogl_offscreen_new_to_texture() going to the newly created framebuffer rather than the stage. This would result in most windows being missing for the first frame when a new window is mapped. Work around this by calling cogl_flush() before cogl_offscreen_new_to_texture().
Created attachment 160609 [details] [review] Work around COGL bug causing flash for new windows
Taking the executive decision to push this without review since it pretty obviously can't hurt anything except at the worst a trivial slowdown and fixes a significantn issue. The underlying idea of the workaround will be reviewed when the Clutter patch is reviewed. Attachment 160609 [details] pushed as 092cc47 - Work around COGL bug causing flash for new windows