• Axel Davy's avatar
    present: Fix Async swap logic · 22037358
    Axel Davy authored
    According to the spec, PresentOptionAsync should only
    trigger a different behaviour when the target msc has been reached.
    
    In this case if the driver is able to do async swaps, we use
    them to avoid a screen copy.
    
    When the target msc hasn't been reached yet, we want to use sync swaps.
    
    v2: Fix indentation and simplify checks for Async flips
    Signed-off-by: 's avatarAxel Davy <axel.davy@ens.fr>
    Reviewed-by: 's avatarMichel Dänzer <michel.daenzer@amd.com>
    22037358
Name
Last commit
Last update
..
Makefile.am Loading commit data...
present.c Loading commit data...
present.h Loading commit data...
present_event.c Loading commit data...
present_fake.c Loading commit data...
present_fence.c Loading commit data...
present_notify.c Loading commit data...
present_priv.h Loading commit data...
present_request.c Loading commit data...
present_screen.c Loading commit data...
presentext.h Loading commit data...