Merge branch 'drm-dumb-buffer-prefer-shadow' into 'master'

pixman: render on shadow buffer when prefered

Closes #2914

See merge request wlroots/wlroots!4418
This commit is contained in:
Simon Zeni 2023-11-21 19:30:35 +00:00
commit dd96057771
6 changed files with 87 additions and 50 deletions

View file

@ -35,6 +35,7 @@ struct wlr_dmabuf_attributes {
int32_t width, height;
uint32_t format; // FourCC code, see DRM_FORMAT_* in <drm_fourcc.h>
uint64_t modifier; // see DRM_FORMAT_MOD_* in <drm_fourcc.h>
bool prefer_shadow;
int n_planes;
uint32_t offset[WLR_DMABUF_MAX_PLANES];