diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2015-07-28 09:16:04 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2015-07-28 09:19:12 -0400 |
commit | d68c382105db671f81734b4c1ceef76de4f6d796 (patch) | |
tree | 9743fa6f3c6c9745fe073f233f896d3d28179bcd | |
parent | 0b284d0914a3942d5a9c0ef87e6bf61b45d69044 (diff) | |
download | efl-d68c382105db671f81734b4c1ceef76de4f6d796.tar.gz |
wayland-shm: Remove "mapped"
Summary:
Looks like the recent changes to swap/redraw have fixed a problem with
damage tracking and we no longer need this.
Damage history seems ok without it now.
@fix
Reviewers: zmike, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2876
-rw-r--r-- | src/modules/evas/engines/wayland_shm/evas_engine.h | 1 | ||||
-rw-r--r-- | src/modules/evas/engines/wayland_shm/evas_outbuf.c | 2 | ||||
-rw-r--r-- | src/modules/evas/engines/wayland_shm/evas_shm.c | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.h b/src/modules/evas/engines/wayland_shm/evas_engine.h index a4a8ade45c..f8406ae658 100644 --- a/src/modules/evas/engines/wayland_shm/evas_engine.h +++ b/src/modules/evas/engines/wayland_shm/evas_engine.h @@ -86,7 +86,6 @@ struct _Shm_Surface Shm_Leaf *current; Eina_Bool alpha : 1; - Eina_Bool mapped : 1; }; struct _Outbuf diff --git a/src/modules/evas/engines/wayland_shm/evas_outbuf.c b/src/modules/evas/engines/wayland_shm/evas_outbuf.c index e5d6dbe728..ad3182d62c 100644 --- a/src/modules/evas/engines/wayland_shm/evas_outbuf.c +++ b/src/modules/evas/engines/wayland_shm/evas_outbuf.c @@ -261,8 +261,6 @@ _evas_outbuf_swapmode_get(Outbuf *ob) LOGFN(__FILE__, __LINE__, __FUNCTION__); - if (!ob->surface->mapped) return MODE_FULL; - for (; i < ob->surface->num_buff; i++) { n = (ob->surface->num_buff + ob->surface->curr_buff - (i)) % ob->surface->num_buff; diff --git a/src/modules/evas/engines/wayland_shm/evas_shm.c b/src/modules/evas/engines/wayland_shm/evas_shm.c index dadd62834c..0b3cef3843 100644 --- a/src/modules/evas/engines/wayland_shm/evas_shm.c +++ b/src/modules/evas/engines/wayland_shm/evas_shm.c @@ -426,7 +426,6 @@ _evas_shm_surface_swap(Shm_Surface *surface) surface->dx = 0; surface->dy = 0; - surface->mapped = EINA_TRUE; } void * |