Skip to content
  • Daniel Stone's avatar
    backend-drm: Cache drm_fb for each weston_buffer · 7d27df4c
    Daniel Stone authored
    
    
    When we first create a drm_fb from a weston_buffer, cache it and keep it
    alive as long as the buffer lives. This allows us to reuse the gbm_bo
    and kernel-side DRM framebuffer, rather than constantly creating and
    destroying them at every repaint. The overhead of doing so (e.g. MMU
    updates) can be significant on some platforms.
    
    Signed-off-by: default avatarDaniel Stone <daniels@collabora.com>
    7d27df4c
Loading