After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 618138 - Work around COGL bug causing flash for new windows
Work around COGL bug causing flash for new windows
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2010-05-08 21:14 UTC by Owen Taylor
Modified: 2010-05-09 18:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Work around COGL bug causing flash for new windows (1.43 KB, patch)
2010-05-08 21:14 UTC, Owen Taylor
committed Details | Review

Description Owen Taylor 2010-05-08 21:14:27 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().
Comment 1 Owen Taylor 2010-05-08 21:14:29 UTC
Created attachment 160609 [details] [review]
Work around COGL bug causing flash for new windows
Comment 2 Owen Taylor 2010-05-09 18:32:09 UTC
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