Skip to content
  • Owen W. Taylor's avatar
    Add GdkFrameHistory and GdkFrameTimings, handle _NET_WM_FRAME_TIMINGS · 15ee04c6
    Owen W. Taylor authored
    In order to be able to track statistics about how well we are drawing,
    and in order to be able to do sophisticated things with frame timing
    like predicting per-frame latencies and synchronizing audio with video,
    we need to be able to track exactly when previous frames were drawn
    to the screen.
    
    Information about each frame is stored in a new GdkFrameTimings object.
    A new GdkFrameHistory object is added which keeps a queue of recent
    GdkFrameTimings (this is added to avoid further complicating the
    implementation of GdkFrameClock.)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685460
    15ee04c6