backend/drm: Add pixel blend mode properties

This commit is contained in:
YaoBing Xiao 2026-03-26 10:07:27 +08:00
parent 413664e0b0
commit b09160aa3e
6 changed files with 22 additions and 1 deletions

View file

@ -196,6 +196,7 @@ static struct wlr_drm_fb *drm_fb_create(struct wlr_drm_backend *drm,
fb->backend = drm;
fb->wlr_buf = buf;
fb->has_alpha = pixel_format_has_alpha(attribs.format);
wlr_addon_init(&fb->addon, &buf->addons, drm, &fb_addon_impl);
wl_list_insert(&drm->fbs, &fb->link);