Skip to content
  • Daniel van Vugt's avatar
    renderer-native: Add hardware presentation timing · e9e4b2b7
    Daniel van Vugt authored and Jonas Ådahl's avatar Jonas Ådahl committed
    Add support for getting hardware presentation times from KMS (Wayland
    sessions). Also implement cogl_get_clock_time which is required to compare
    and judge the age of presentation timestamps.
    
    For single monitor systems this is straightforward. For multi-monitor
    systems though we have to choose a display to sync to. The compositor
    already partially solves this for us in the case of only one display
    updating because it will only use the subset of monitors that are
    changing. In the case of multiple monitors consuming the same frame
    concurrently however, we choose the fastest one (in use at the time).
    Note however that we also need !73 to land in order to fully realize
    multiple monitors running at full speed.
    e9e4b2b7