• Daniel van Vugt's avatar
    renderer-native: Swap then await earlier flips. · b2f9de98
    Daniel van Vugt authored
    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)
    b2f9de98
meta-renderer-native.c 110 KB