mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-07 03:48:02 +02:00
compositor-drm: Don't use overlay when surface alpha != 1.0f
Assume that overlays can't handle alpha blending even with a constant alpha factor. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
parent
ab38eeed19
commit
151c436650
1 changed files with 3 additions and 0 deletions
|
|
@ -596,6 +596,9 @@ drm_output_prepare_overlay_surface(struct weston_output *output_base,
|
|||
if (es->buffer == NULL)
|
||||
return NULL;
|
||||
|
||||
if (es->alpha != 1.0f)
|
||||
return NULL;
|
||||
|
||||
if (wl_buffer_is_shm(es->buffer))
|
||||
return NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue