projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26f2878
)
ecore_wl2_surface: fix zero size buffer creation
author
Jiyoun Park
<jy0703.park@samsung.com>
Fri, 5 Jan 2018 03:24:45 +0000
(12:24 +0900)
committer
Jiyoun Park
<jy0703.park@samsung.com>
Fri, 5 Jan 2018 03:24:45 +0000
(12:24 +0900)
opensource changed the shm surface code not to create shm buffer at init time.
Becuase of this client can request to the server using the zerosize buffer,
tizen buffer driver cannot allow zerosize.
src/lib/ecore_wl2/ecore_wl2_surface.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_wl2/ecore_wl2_surface.c
b/src/lib/ecore_wl2/ecore_wl2_surface.c
index
cd810d2
..
03e5111
100644
(file)
--- a/
src/lib/ecore_wl2/ecore_wl2_surface.c
+++ b/
src/lib/ecore_wl2/ecore_wl2_surface.c
@@
-233,8
+233,14
@@
ecore_wl2_surface_create(Ecore_Wl2_Window *win, Eina_Bool alpha)
types |= ECORE_WL2_BUFFER_DMABUF;
out->alpha = alpha;
+//TIZEN_ONLY(20180105): tizen don't allow the zero size buffer creation
+ out->w = 1;
+ out->h = 1;
+ /*
out->w = 0;
out->h = 0;
+ */
+//
/* create surface buffers */
if (!ecore_wl2_buffer_init(ewd, types)) goto err;