projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0377dd
)
compositor-drm: Don't use overlay when surface alpha != 1.0f
author
Ville Syrjälä
<ville.syrjala@linux.intel.com>
Fri, 16 Nov 2012 09:48:46 +0000
(11:48 +0200)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 16 Nov 2012 23:39:06 +0000
(18:39 -0500)
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>
src/compositor-drm.c
patch
|
blob
|
history
diff --git
a/src/compositor-drm.c
b/src/compositor-drm.c
index
2adec61
..
73a0c52
100644
(file)
--- a/
src/compositor-drm.c
+++ b/
src/compositor-drm.c
@@
-572,6
+572,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;