Skip to content
  • Alexander Larsson's avatar
    Change the way the update area is tracked during paint · a8f11835
    Alexander Larsson authored and Matthias Clasen's avatar Matthias Clasen committed
    First of all we track the current update area during an
    update in window->active_update_area. This will be used later
    in end_paint to know the damaged area.
    
    Secondly we keep track of old update areas for the last 2
    frames. This will later allow us to reuse old framebuffer
    contents in double or tripple buffer setups, only painting
    what has changed since then.
    a8f11835