Skip to content

cogl: Flush specific framebuffers

Daniel van Vugt requested to merge vanvugt/mutter:flush-fixmes into master

This resolves a couple of FIXMEs. The FIXME comments were right in stating that not all journals needed flushing, only the one we are trying to put on screen needs flushing.

However we can't eliminate all flushes because the winsys swap calls that follow go directly into OpenGL which knows nothing about cogl journalling. So the journal must be flushed before the swap, to give OpenGL the correct state.

P.S. If this turns out to cause any bugs then the next best answer is to just remove the FIXME comments. Because flushing is still the right thing to do.

Edited by Georges Basile Stavracas Neto

Merge request reports