summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2015-07-30 11:45:26 -0400
committerChris Michael <cp.michael@samsung.com>2015-07-30 11:45:26 -0400
commitebea504cbc7aacb01336f557255e71f6883263f1 (patch)
tree4708292aee7649153d1e27b81965cda5dedcbda1
parentcf3434a9276546f1b271e42177ada1bb0178a88e (diff)
wayland-shm: rename _evas_outbuf_swapmode_get() to _evas_outbuf_swap_mode_get()
Summary: Everyone else calls it swap_mode, let's be trendy. Reviewers: zmike, devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2891
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_engine.c2
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_engine.h2
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_outbuf.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.c b/src/modules/evas/engines/wayland_shm/evas_engine.c
index 99e8d6a461..b88207cc6a 100644
--- a/src/modules/evas/engines/wayland_shm/evas_engine.c
+++ b/src/modules/evas/engines/wayland_shm/evas_engine.c
@@ -37,7 +37,7 @@ _render_engine_swapbuf_setup(int w, int h, unsigned int rotation, unsigned int d
37 if (!ob) goto err; 37 if (!ob) goto err;
38 38
39 if (!evas_render_engine_software_generic_init(&re->generic, ob, 39 if (!evas_render_engine_software_generic_init(&re->generic, ob,
40 _evas_outbuf_swapmode_get, 40 _evas_outbuf_swap_mode_get,
41 _evas_outbuf_rotation_get, 41 _evas_outbuf_rotation_get,
42 NULL, 42 NULL,
43 NULL, 43 NULL,
diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.h b/src/modules/evas/engines/wayland_shm/evas_engine.h
index 94779e9936..b3424c55d7 100644
--- a/src/modules/evas/engines/wayland_shm/evas_engine.h
+++ b/src/modules/evas/engines/wayland_shm/evas_engine.h
@@ -127,7 +127,7 @@ void _evas_outbuf_free(Outbuf *ob);
127void _evas_outbuf_flush(Outbuf *ob, Tilebuf_Rect *rects, Evas_Render_Mode render_mode); 127void _evas_outbuf_flush(Outbuf *ob, Tilebuf_Rect *rects, Evas_Render_Mode render_mode);
128void _evas_outbuf_idle_flush(Outbuf *ob); 128void _evas_outbuf_idle_flush(Outbuf *ob);
129 129
130Render_Engine_Swap_Mode _evas_outbuf_swapmode_get(Outbuf *ob); 130Render_Engine_Swap_Mode _evas_outbuf_swap_mode_get(Outbuf *ob);
131int _evas_outbuf_rotation_get(Outbuf *ob); 131int _evas_outbuf_rotation_get(Outbuf *ob);
132void _evas_outbuf_reconfigure(Outbuf *ob, int x, int y, int w, int h, int rot, Outbuf_Depth depth, Eina_Bool alpha, Eina_Bool resize); 132void _evas_outbuf_reconfigure(Outbuf *ob, int x, int y, int w, int h, int rot, Outbuf_Depth depth, Eina_Bool alpha, Eina_Bool resize);
133void *_evas_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch); 133void *_evas_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch);
diff --git a/src/modules/evas/engines/wayland_shm/evas_outbuf.c b/src/modules/evas/engines/wayland_shm/evas_outbuf.c
index 68bf028d91..03ff7a2cbc 100644
--- a/src/modules/evas/engines/wayland_shm/evas_outbuf.c
+++ b/src/modules/evas/engines/wayland_shm/evas_outbuf.c
@@ -249,7 +249,7 @@ _evas_outbuf_flush(Outbuf *ob, Tilebuf_Rect *rects EINA_UNUSED, Evas_Render_Mode
249} 249}
250 250
251Render_Engine_Swap_Mode 251Render_Engine_Swap_Mode
252_evas_outbuf_swapmode_get(Outbuf *ob) 252_evas_outbuf_swap_mode_get(Outbuf *ob)
253{ 253{
254 int count = 0, ret = 0; 254 int count = 0, ret = 0;
255 255