Skip to content
  • Chris Wilson's avatar
    kmstest: Fix up lifetimes of cairo objects · 164d9d26
    Chris Wilson authored
    
    
    cairo_t is the short lived drawing context, whereas cairo_surface_t is
    the heavyweight object that persists and is also tied to underlying GEM
    objects. So make the kmstest API reflect the different weights and fix
    the lifetime and underlying object reference leaks.
    
    Based on the fix by Paulo Zanoni.
    
    Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    164d9d26