projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c8947f
)
e_plane: add checking same tbm_surface is fetched
41/220441/1
author
Changyeon Lee
<cyeon.lee@samsung.com>
Wed, 18 Dec 2019 07:27:12 +0000
(16:27 +0900)
committer
Changyeon Lee
<cyeon.lee@samsung.com>
Wed, 18 Dec 2019 07:27:12 +0000
(16:27 +0900)
Change-Id: Ie0330966e51dcba29e566337bcf45ce67d52cd96
src/bin/e_plane.c
patch
|
blob
|
history
diff --git
a/src/bin/e_plane.c
b/src/bin/e_plane.c
index 2ecab53a477772b35362aeb50a506be72127c42d..3dbdaca56f7678778f9384847e9a400f8b9f319e 100644
(file)
--- a/
src/bin/e_plane.c
+++ b/
src/bin/e_plane.c
@@
-464,6
+464,8
@@
_e_plane_surface_from_client_acquire_reserved(E_Plane *plane)
if (!tsurface)
ERR("fail to e_plane_renderer_client_surface_recieve");
+ if (tsurface == plane->tsurface) return NULL;
+
/* enqueue the surface to the layer_queue */
if (!e_plane_renderer_surface_queue_enqueue(plane->renderer, tsurface))
{
@@
-522,6
+524,8
@@
_e_plane_surface_from_client_acquire(E_Plane *plane)
return NULL;
}
+ if (tsurface == plane->tsurface) return NULL;
+
return tsurface;
}