Commit b2f9de98 authored by Committed by Marco Trevisan
renderer-native: Swap then await earlier flips.
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. (cherry picked from commit 6e415353)
Showing with 6 additions and 6 deletions