-
- Downloads
libweston/backends: Move damage flush into backends
Currently we flush damage for the "primary plane" every repaint, but this is folly. The drm backend may skip rendering entirely if using an all-planes composition. This could leave the renderer plane in a messy state if a surface on an overlay plane disappears. Instead, let the backends flush the primary plane damage when they know they need to render. Fixes #864 Signed-off-by:Derek Foreman <derek.foreman@collabora.com>
Showing
- include/libweston/libweston.h 1 addition, 1 deletioninclude/libweston/libweston.h
- libweston/backend-drm/drm-internal.h 1 addition, 1 deletionlibweston/backend-drm/drm-internal.h
- libweston/backend-drm/drm-virtual.c 2 additions, 3 deletionslibweston/backend-drm/drm-virtual.c
- libweston/backend-drm/drm.c 16 additions, 10 deletionslibweston/backend-drm/drm.c
- libweston/backend-headless/headless.c 9 additions, 3 deletionslibweston/backend-headless/headless.c
- libweston/backend-pipewire/pipewire.c 10 additions, 3 deletionslibweston/backend-pipewire/pipewire.c
- libweston/backend-rdp/rdp.c 11 additions, 4 deletionslibweston/backend-rdp/rdp.c
- libweston/backend-vnc/vnc.c 10 additions, 3 deletionslibweston/backend-vnc/vnc.c
- libweston/backend-wayland/wayland.c 19 additions, 7 deletionslibweston/backend-wayland/wayland.c
- libweston/backend-x11/x11.c 20 additions, 7 deletionslibweston/backend-x11/x11.c
- libweston/backend.h 4 additions, 0 deletionslibweston/backend.h
- libweston/compositor.c 15 additions, 14 deletionslibweston/compositor.c
Loading