Skip to content

renderer-native: Swap then await earlier flips.

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

Rendering the next frame (which mostly happens as part of the flush done in swap buffers) is a task that the GPU can complete independently of the CPU having to wait for previous page flips. So reverse their order to get the GPU started earlier, with the aim of greater GPU-CPU parallelism.

Edited by Daniel van Vugt

Merge request reports