projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42c4646
)
compositor-drm: skip overlay for shm buffers
author
Rob Clark
<rob@ti.com>
Thu, 9 Aug 2012 19:18:27 +0000
(14:18 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 9 Aug 2012 21:05:20 +0000
(17:05 -0400)
They can't be imported by gbm, so no point in trying, and segfaulting
in gbm when we try to import (because it tries to deref the buffer as
a wl_drm_buffer).
Signed-off-by: Rob Clark <rob@ti.com>
src/compositor-drm.c
patch
|
blob
|
history
diff --git
a/src/compositor-drm.c
b/src/compositor-drm.c
index
0e3b6e8
..
657e70a
100644
(file)
--- a/
src/compositor-drm.c
+++ b/
src/compositor-drm.c
@@
-599,6
+599,9
@@
drm_output_prepare_overlay_surface(struct weston_output *output_base,
if (es->buffer == NULL)
return NULL;
+ if (wl_buffer_is_shm(es->buffer))
+ return NULL;
+
if (!drm_surface_transform_supported(es))
return NULL;