summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:49:15 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:49:15 -0700
commit3e88aa37bc233ded87fdc69340ac02adc0830448 (patch)
tree287c4b6621dff0f88934e441418c534432b66f05
parente31707743a58aa249214870e158ac051193b16e2 (diff)
evas: Render_Engine_Swap_Mode is actually about output swap.
-rw-r--r--src/modules/evas/engines/buffer/evas_engine.h2
-rw-r--r--src/modules/evas/engines/buffer/evas_outbuf.c2
-rw-r--r--src/modules/evas/engines/drm/evas_engine.h2
-rw-r--r--src/modules/evas/engines/drm/evas_outbuf.c2
-rw-r--r--src/modules/evas/engines/eglfs/evas_engine.c2
-rw-r--r--src/modules/evas/engines/eglfs/evas_engine.h6
-rw-r--r--src/modules/evas/engines/eglfs/evas_outbuf.c4
-rw-r--r--src/modules/evas/engines/gl_cocoa/evas_engine.h4
-rw-r--r--src/modules/evas/engines/gl_cocoa/evas_outbuf.m2
-rw-r--r--src/modules/evas/engines/gl_drm/evas_engine.c4
-rw-r--r--src/modules/evas/engines/gl_drm/evas_engine.h6
-rw-r--r--src/modules/evas/engines/gl_drm/evas_outbuf.c6
-rw-r--r--src/modules/evas/engines/gl_generic/Evas_Engine_GL_Shared.h4
-rw-r--r--src/modules/evas/engines/gl_x11/evas_engine.c4
-rw-r--r--src/modules/evas/engines/gl_x11/evas_engine.h6
-rw-r--r--src/modules/evas/engines/gl_x11/evas_x_main.c6
-rw-r--r--src/modules/evas/engines/software_generic/Evas_Engine_Software_Generic.h4
-rw-r--r--src/modules/evas/engines/software_generic/Evas_Engine_Software_Shared.h2
-rw-r--r--src/modules/evas/engines/software_x11/evas_xlib_swapbuf.c6
-rw-r--r--src/modules/evas/engines/software_x11/evas_xlib_swapbuf.h2
-rw-r--r--src/modules/evas/engines/software_x11/evas_xlib_swapper.c6
-rw-r--r--src/modules/evas/engines/software_x11/evas_xlib_swapper.h4
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_engine.c10
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_engine.h6
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_wl_main.c6
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_engine.h2
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_outbuf.c2
27 files changed, 55 insertions, 57 deletions
diff --git a/src/modules/evas/engines/buffer/evas_engine.h b/src/modules/evas/engines/buffer/evas_engine.h
index 4fcf2e4..f319b17 100644
--- a/src/modules/evas/engines/buffer/evas_engine.h
+++ b/src/modules/evas/engines/buffer/evas_engine.h
@@ -87,7 +87,7 @@ void *evas_buffer_outbuf_buf_new_region_for_update (Outbuf *buf, int x,
87void evas_buffer_outbuf_buf_free_region_for_update (Outbuf *buf, RGBA_Image *update); 87void evas_buffer_outbuf_buf_free_region_for_update (Outbuf *buf, RGBA_Image *update);
88void evas_buffer_outbuf_buf_push_updated_region (Outbuf *buf, RGBA_Image *update, int x, int y, int w, int h); 88void evas_buffer_outbuf_buf_push_updated_region (Outbuf *buf, RGBA_Image *update, int x, int y, int w, int h);
89void evas_buffer_outbuf_buf_switch_buffer (Outbuf *buf, Tilebuf_Rect *surface_damage, Tilebuf_Rect *buffer_damage, Evas_Render_Mode render_mode); 89void evas_buffer_outbuf_buf_switch_buffer (Outbuf *buf, Tilebuf_Rect *surface_damage, Tilebuf_Rect *buffer_damage, Evas_Render_Mode render_mode);
90Render_Engine_Swap_Mode evas_buffer_outbuf_buf_swap_mode_get(Outbuf *buf); 90Render_Output_Swap_Mode evas_buffer_outbuf_buf_swap_mode_get(Outbuf *buf);
91int evas_buffer_outbuf_buf_rot_get (Outbuf *buf); 91int evas_buffer_outbuf_buf_rot_get (Outbuf *buf);
92 92
93#endif 93#endif
diff --git a/src/modules/evas/engines/buffer/evas_outbuf.c b/src/modules/evas/engines/buffer/evas_outbuf.c
index 0230316..f984e70 100644
--- a/src/modules/evas/engines/buffer/evas_outbuf.c
+++ b/src/modules/evas/engines/buffer/evas_outbuf.c
@@ -478,7 +478,7 @@ evas_buffer_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot EINA_UNUSED, Ou
478 switch_data); 478 switch_data);
479} 479}
480 480
481Render_Engine_Swap_Mode 481Render_Output_Swap_Mode
482evas_buffer_outbuf_buf_swap_mode_get(Outbuf *ob) 482evas_buffer_outbuf_buf_swap_mode_get(Outbuf *ob)
483{ 483{
484 if (ob->func.switch_buffer) return MODE_DOUBLE; 484 if (ob->func.switch_buffer) return MODE_DOUBLE;
diff --git a/src/modules/evas/engines/drm/evas_engine.h b/src/modules/evas/engines/drm/evas_engine.h
index a14ce15..9891945 100644
--- a/src/modules/evas/engines/drm/evas_engine.h
+++ b/src/modules/evas/engines/drm/evas_engine.h
@@ -75,7 +75,7 @@ Outbuf *_outbuf_setup(Evas_Engine_Info_Drm *info, int w, int h);
75void _outbuf_free(Outbuf *ob); 75void _outbuf_free(Outbuf *ob);
76int _outbuf_rotation_get(Outbuf *ob); 76int _outbuf_rotation_get(Outbuf *ob);
77void _outbuf_reconfigure(Outbuf *ob, int w, int h, int rotation, Outbuf_Depth depth); 77void _outbuf_reconfigure(Outbuf *ob, int w, int h, int rotation, Outbuf_Depth depth);
78Render_Engine_Swap_Mode _outbuf_state_get(Outbuf *ob); 78Render_Output_Swap_Mode _outbuf_state_get(Outbuf *ob);
79void *_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch); 79void *_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch);
80void _outbuf_update_region_push(Outbuf *ob, RGBA_Image *update, int x, int y, int w, int h); 80void _outbuf_update_region_push(Outbuf *ob, RGBA_Image *update, int x, int y, int w, int h);
81void _outbuf_update_region_free(Outbuf *ob, RGBA_Image *update); 81void _outbuf_update_region_free(Outbuf *ob, RGBA_Image *update);
diff --git a/src/modules/evas/engines/drm/evas_outbuf.c b/src/modules/evas/engines/drm/evas_outbuf.c
index 79f8f6f..4029275 100644
--- a/src/modules/evas/engines/drm/evas_outbuf.c
+++ b/src/modules/evas/engines/drm/evas_outbuf.c
@@ -241,7 +241,7 @@ _outbuf_fb_assign(Outbuf *ob)
241 return EINA_TRUE; 241 return EINA_TRUE;
242} 242}
243 243
244Render_Engine_Swap_Mode 244Render_Output_Swap_Mode
245_outbuf_state_get(Outbuf *ob) 245_outbuf_state_get(Outbuf *ob)
246{ 246{
247 int age; 247 int age;
diff --git a/src/modules/evas/engines/eglfs/evas_engine.c b/src/modules/evas/engines/eglfs/evas_engine.c
index dfbaed8..e33c52b 100644
--- a/src/modules/evas/engines/eglfs/evas_engine.c
+++ b/src/modules/evas/engines/eglfs/evas_engine.c
@@ -684,7 +684,7 @@ eng_output_setup(void *engine EINA_UNUSED, void *in, unsigned int w, unsigned in
684 Evas_Engine_Info_Eglfs *info = in; 684 Evas_Engine_Info_Eglfs *info = in;
685 Render_Engine *re = NULL; 685 Render_Engine *re = NULL;
686 Outbuf *ob = NULL; 686 Outbuf *ob = NULL;
687 Render_Engine_Swap_Mode swap_mode; 687 Render_Output_Swap_Mode swap_mode;
688 688
689 swap_mode = evas_render_engine_gl_swap_mode_get(info->info.swap_mode); 689 swap_mode = evas_render_engine_gl_swap_mode_get(info->info.swap_mode);
690 690
diff --git a/src/modules/evas/engines/eglfs/evas_engine.h b/src/modules/evas/engines/eglfs/evas_engine.h
index 36cb29a..54c90fd 100644
--- a/src/modules/evas/engines/eglfs/evas_engine.h
+++ b/src/modules/evas/engines/eglfs/evas_engine.h
@@ -75,7 +75,7 @@ struct _Outbuf
75 75
76 int w, h; 76 int w, h;
77 unsigned int rotation, depth; 77 unsigned int rotation, depth;
78 Render_Engine_Swap_Mode swap_mode; 78 Render_Output_Swap_Mode swap_mode;
79 79
80 struct 80 struct
81 { 81 {
@@ -99,13 +99,13 @@ struct _Outbuf
99 Eina_Bool drew : 1; 99 Eina_Bool drew : 1;
100}; 100};
101 101
102Outbuf *evas_outbuf_new(Evas_Engine_Info_Eglfs *info, int w, int h, Render_Engine_Swap_Mode swap_mode); 102Outbuf *evas_outbuf_new(Evas_Engine_Info_Eglfs *info, int w, int h, Render_Output_Swap_Mode swap_mode);
103void evas_outbuf_free(Outbuf *ob); 103void evas_outbuf_free(Outbuf *ob);
104void evas_outbuf_use(Outbuf *ob); 104void evas_outbuf_use(Outbuf *ob);
105void evas_outbuf_resurf(Outbuf *ob); 105void evas_outbuf_resurf(Outbuf *ob);
106void evas_outbuf_unsurf(Outbuf *ob); 106void evas_outbuf_unsurf(Outbuf *ob);
107void evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth); 107void evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth);
108Render_Engine_Swap_Mode evas_outbuf_buffer_state_get(Outbuf *ob); 108Render_Output_Swap_Mode evas_outbuf_buffer_state_get(Outbuf *ob);
109int evas_outbuf_rot_get(Outbuf *ob); 109int evas_outbuf_rot_get(Outbuf *ob);
110Eina_Bool evas_outbuf_update_region_first_rect(Outbuf *ob); 110Eina_Bool evas_outbuf_update_region_first_rect(Outbuf *ob);
111void *evas_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch); 111void *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/eglfs/evas_outbuf.c b/src/modules/evas/engines/eglfs/evas_outbuf.c
index d08f3f9..e922d1e 100644
--- a/src/modules/evas/engines/eglfs/evas_outbuf.c
+++ b/src/modules/evas/engines/eglfs/evas_outbuf.c
@@ -377,7 +377,7 @@ _evas_outbuf_egl_setup(Outbuf *ob)
377} 377}
378 378
379Outbuf * 379Outbuf *
380evas_outbuf_new(Evas_Engine_Info_Eglfs *info, int w, int h, Render_Engine_Swap_Mode swap_mode) 380evas_outbuf_new(Evas_Engine_Info_Eglfs *info, int w, int h, Render_Output_Swap_Mode swap_mode)
381{ 381{
382 Outbuf *ob; 382 Outbuf *ob;
383 char *num; 383 char *num;
@@ -551,7 +551,7 @@ evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth)
551 glsym_evas_gl_common_context_resize(ob->gl_context, w, h, rot); 551 glsym_evas_gl_common_context_resize(ob->gl_context, w, h, rot);
552} 552}
553 553
554Render_Engine_Swap_Mode 554Render_Output_Swap_Mode
555evas_outbuf_buffer_state_get(Outbuf *ob) 555evas_outbuf_buffer_state_get(Outbuf *ob)
556{ 556{
557 return MODE_FULL; 557 return MODE_FULL;
diff --git a/src/modules/evas/engines/gl_cocoa/evas_engine.h b/src/modules/evas/engines/gl_cocoa/evas_engine.h
index d7eafb0..dd8919f 100644
--- a/src/modules/evas/engines/gl_cocoa/evas_engine.h
+++ b/src/modules/evas/engines/gl_cocoa/evas_engine.h
@@ -65,7 +65,7 @@ struct _Outbuf
65 int w; 65 int w;
66 int h; 66 int h;
67 int rot; 67 int rot;
68 Render_Engine_Swap_Mode swap_mode; 68 Render_Output_Swap_Mode swap_mode;
69 69
70 Eina_Bool drew; 70 Eina_Bool drew;
71}; 71};
@@ -92,7 +92,7 @@ Outbuf *evas_outbuf_new(Evas_Engine_Info_GL_Cocoa *info, int w, int h);
92void evas_outbuf_free(Outbuf *ob); 92void evas_outbuf_free(Outbuf *ob);
93void evas_outbuf_use(Outbuf *ob); 93void evas_outbuf_use(Outbuf *ob);
94int evas_outbuf_rot_get(Outbuf *ob); 94int evas_outbuf_rot_get(Outbuf *ob);
95Render_Engine_Swap_Mode evas_outbuf_buffer_state_get(Outbuf *ob); 95Render_Output_Swap_Mode evas_outbuf_buffer_state_get(Outbuf *ob);
96void evas_outbuf_gl_context_use(Context_3D *ctx); 96void evas_outbuf_gl_context_use(Context_3D *ctx);
97Eina_Bool evas_outbuf_update_region_first_rect(Outbuf *ob); 97Eina_Bool evas_outbuf_update_region_first_rect(Outbuf *ob);
98void *evas_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch); 98void *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/gl_cocoa/evas_outbuf.m b/src/modules/evas/engines/gl_cocoa/evas_outbuf.m
index d2ebc86..d1566dd 100644
--- a/src/modules/evas/engines/gl_cocoa/evas_outbuf.m
+++ b/src/modules/evas/engines/gl_cocoa/evas_outbuf.m
@@ -199,7 +199,7 @@ evas_outbuf_rot_get(Outbuf *ob)
199 return ob->rot; 199 return ob->rot;
200} 200}
201 201
202Render_Engine_Swap_Mode 202Render_Output_Swap_Mode
203evas_outbuf_buffer_state_get(Outbuf *ob) 203evas_outbuf_buffer_state_get(Outbuf *ob)
204{ 204{
205 return ob->swap_mode; 205 return ob->swap_mode;
diff --git a/src/modules/evas/engines/gl_drm/evas_engine.c b/src/modules/evas/engines/gl_drm/evas_engine.c
index 28b21d2..ce5358f 100644
--- a/src/modules/evas/engines/gl_drm/evas_engine.c
+++ b/src/modules/evas/engines/gl_drm/evas_engine.c
@@ -905,7 +905,7 @@ eng_output_setup(void *engine EINA_UNUSED, void *in, unsigned int w, unsigned in
905 Evas_Engine_Info_GL_Drm *info = in; 905 Evas_Engine_Info_GL_Drm *info = in;
906 Render_Engine *re = NULL; 906 Render_Engine *re = NULL;
907 Outbuf *ob; 907 Outbuf *ob;
908 Render_Engine_Swap_Mode swap_mode; 908 Render_Output_Swap_Mode swap_mode;
909 909
910 swap_mode = evas_render_engine_gl_swap_mode_get(info->info.swap_mode); 910 swap_mode = evas_render_engine_gl_swap_mode_get(info->info.swap_mode);
911 911
@@ -987,7 +987,7 @@ eng_output_update(void *engine EINA_UNUSED, void *data, void *in, unsigned int w
987 (info->info.destination_alpha != eng_get_ob(re)->destination_alpha)) 987 (info->info.destination_alpha != eng_get_ob(re)->destination_alpha))
988 { 988 {
989 Outbuf *ob, *ob_old; 989 Outbuf *ob, *ob_old;
990 Render_Engine_Swap_Mode swap_mode = MODE_AUTO; 990 Render_Output_Swap_Mode swap_mode = MODE_AUTO;
991 991
992 ob_old = re->generic.software.ob; 992 ob_old = re->generic.software.ob;
993 re->generic.software.ob = NULL; 993 re->generic.software.ob = NULL;
diff --git a/src/modules/evas/engines/gl_drm/evas_engine.h b/src/modules/evas/engines/gl_drm/evas_engine.h
index e6a77bf..c67763c 100644
--- a/src/modules/evas/engines/gl_drm/evas_engine.h
+++ b/src/modules/evas/engines/gl_drm/evas_engine.h
@@ -90,7 +90,7 @@ struct _Outbuf
90 int w, h, bpp; 90 int w, h, bpp;
91 unsigned int rotation, depth, format; 91 unsigned int rotation, depth, format;
92 int prev_age; 92 int prev_age;
93 Render_Engine_Swap_Mode swap_mode; 93 Render_Output_Swap_Mode swap_mode;
94 94
95 struct gbm_surface *surface; 95 struct gbm_surface *surface;
96 96
@@ -118,13 +118,13 @@ struct _Outbuf
118Eina_Bool eng_gbm_init(Evas_Engine_Info_GL_Drm *info); 118Eina_Bool eng_gbm_init(Evas_Engine_Info_GL_Drm *info);
119Eina_Bool eng_gbm_shutdown(Evas_Engine_Info_GL_Drm *info); 119Eina_Bool eng_gbm_shutdown(Evas_Engine_Info_GL_Drm *info);
120 120
121Outbuf *evas_outbuf_new(Evas_Engine_Info_GL_Drm *info, int w, int h, Render_Engine_Swap_Mode swap_mode); 121Outbuf *evas_outbuf_new(Evas_Engine_Info_GL_Drm *info, int w, int h, Render_Output_Swap_Mode swap_mode);
122void evas_outbuf_free(Outbuf *ob); 122void evas_outbuf_free(Outbuf *ob);
123void evas_outbuf_use(Outbuf *ob); 123void evas_outbuf_use(Outbuf *ob);
124void evas_outbuf_resurf(Outbuf *ob); 124void evas_outbuf_resurf(Outbuf *ob);
125void evas_outbuf_unsurf(Outbuf *ob); 125void evas_outbuf_unsurf(Outbuf *ob);
126void evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth); 126void evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth);
127Render_Engine_Swap_Mode evas_outbuf_buffer_state_get(Outbuf *ob); 127Render_Output_Swap_Mode evas_outbuf_buffer_state_get(Outbuf *ob);
128int evas_outbuf_rot_get(Outbuf *ob); 128int evas_outbuf_rot_get(Outbuf *ob);
129Eina_Bool evas_outbuf_update_region_first_rect(Outbuf *ob); 129Eina_Bool evas_outbuf_update_region_first_rect(Outbuf *ob);
130void *evas_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch); 130void *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/gl_drm/evas_outbuf.c b/src/modules/evas/engines/gl_drm/evas_outbuf.c
index dcc0256..4048c16 100644
--- a/src/modules/evas/engines/gl_drm/evas_outbuf.c
+++ b/src/modules/evas/engines/gl_drm/evas_outbuf.c
@@ -358,7 +358,7 @@ err:
358} 358}
359 359
360Outbuf * 360Outbuf *
361evas_outbuf_new(Evas_Engine_Info_GL_Drm *info, int w, int h, Render_Engine_Swap_Mode swap_mode) 361evas_outbuf_new(Evas_Engine_Info_GL_Drm *info, int w, int h, Render_Output_Swap_Mode swap_mode)
362{ 362{
363 Outbuf *ob; 363 Outbuf *ob;
364 364
@@ -541,7 +541,7 @@ evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth)
541 glsym_evas_gl_common_context_resize(ob->gl_context, w, h, rot); 541 glsym_evas_gl_common_context_resize(ob->gl_context, w, h, rot);
542} 542}
543 543
544Render_Engine_Swap_Mode 544Render_Output_Swap_Mode
545evas_outbuf_buffer_state_get(Outbuf *ob) 545evas_outbuf_buffer_state_get(Outbuf *ob)
546{ 546{
547 /* check for valid output buffer */ 547 /* check for valid output buffer */
@@ -551,7 +551,7 @@ evas_outbuf_buffer_state_get(Outbuf *ob)
551 551
552 if (ob->swap_mode == MODE_AUTO && _extn_have_buffer_age) 552 if (ob->swap_mode == MODE_AUTO && _extn_have_buffer_age)
553 { 553 {
554 Render_Engine_Swap_Mode swap_mode; 554 Render_Output_Swap_Mode swap_mode;
555 EGLint age = 0; 555 EGLint age = 0;
556 556
557 eina_evlog("+gl_query_surf_swap_mode", ob, 0.0, NULL); 557 eina_evlog("+gl_query_surf_swap_mode", ob, 0.0, NULL);
diff --git a/src/modules/evas/engines/gl_generic/Evas_Engine_GL_Shared.h b/src/modules/evas/engines/gl_generic/Evas_Engine_GL_Shared.h
index 90b7a1d..0c85dc5 100644
--- a/src/modules/evas/engines/gl_generic/Evas_Engine_GL_Shared.h
+++ b/src/modules/evas/engines/gl_generic/Evas_Engine_GL_Shared.h
@@ -13,10 +13,10 @@ typedef enum _Evas_Engine_Info_Gl_Swap_Mode
13 EVAS_ENGINE_GL_SWAP_MODE_QUADRUPLE = 5 13 EVAS_ENGINE_GL_SWAP_MODE_QUADRUPLE = 5
14} Evas_Engine_Info_Gl_Swap_Mode; 14} Evas_Engine_Info_Gl_Swap_Mode;
15 15
16static inline Render_Engine_Swap_Mode 16static inline Render_Output_Swap_Mode
17evas_render_engine_gl_swap_mode_get(Evas_Engine_Info_Gl_Swap_Mode info_swap_mode) 17evas_render_engine_gl_swap_mode_get(Evas_Engine_Info_Gl_Swap_Mode info_swap_mode)
18{ 18{
19 Render_Engine_Swap_Mode swap_mode = MODE_FULL; 19 Render_Output_Swap_Mode swap_mode = MODE_FULL;
20 const char *s; 20 const char *s;
21 21
22 s = getenv("EVAS_GL_SWAP_MODE"); 22 s = getenv("EVAS_GL_SWAP_MODE");
diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c b/src/modules/evas/engines/gl_x11/evas_engine.c
index 924bb5a..cb3ca43 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -1581,7 +1581,7 @@ eng_output_setup(void *engine EINA_UNUSED, void *in, unsigned int w, unsigned in
1581 Evas_Engine_Info_GL_X11 *info = in; 1581 Evas_Engine_Info_GL_X11 *info = in;
1582 Render_Engine *re = NULL; 1582 Render_Engine *re = NULL;
1583 Outbuf *ob = NULL; 1583 Outbuf *ob = NULL;
1584 Render_Engine_Swap_Mode swap_mode; 1584 Render_Output_Swap_Mode swap_mode;
1585 1585
1586 swap_mode = evas_render_engine_gl_swap_mode_get(info->swap_mode); 1586 swap_mode = evas_render_engine_gl_swap_mode_get(info->swap_mode);
1587 1587
@@ -1691,7 +1691,7 @@ eng_output_update(void *engine EINA_UNUSED, void *data, void *in, unsigned int w
1691{ 1691{
1692 Evas_Engine_Info_GL_X11 *info = in; 1692 Evas_Engine_Info_GL_X11 *info = in;
1693 Render_Engine *re = data; 1693 Render_Engine *re = data;
1694 Render_Engine_Swap_Mode swap_mode; 1694 Render_Output_Swap_Mode swap_mode;
1695 1695
1696 swap_mode = evas_render_engine_gl_swap_mode_get(info->swap_mode); 1696 swap_mode = evas_render_engine_gl_swap_mode_get(info->swap_mode);
1697 1697
diff --git a/src/modules/evas/engines/gl_x11/evas_engine.h b/src/modules/evas/engines/gl_x11/evas_engine.h
index 2238c2b..a37fb6f 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.h
+++ b/src/modules/evas/engines/gl_x11/evas_engine.h
@@ -90,7 +90,7 @@ struct _Outbuf
90 Evas_Engine_GL_Context *gl_context; 90 Evas_Engine_GL_Context *gl_context;
91 Evas_Engine_Info_GL_X11 *info; 91 Evas_Engine_Info_GL_X11 *info;
92 92
93 Render_Engine_Swap_Mode swap_mode; 93 Render_Output_Swap_Mode swap_mode;
94 Colormap colormap; 94 Colormap colormap;
95 Window win; 95 Window win;
96 unsigned int w, h; 96 unsigned int w, h;
@@ -169,7 +169,7 @@ Outbuf *eng_window_new(Evas_Engine_Info_GL_X11 *info,
169 Visual *vis, Colormap cmap, 169 Visual *vis, Colormap cmap,
170 int depth, unsigned int w, unsigned int h, int indirect, 170 int depth, unsigned int w, unsigned int h, int indirect,
171 int alpha, int rot, 171 int alpha, int rot,
172 Render_Engine_Swap_Mode swap_mode, 172 Render_Output_Swap_Mode swap_mode,
173 int depth_bits, int stencil_bits, int msaa_bits); 173 int depth_bits, int stencil_bits, int msaa_bits);
174void eng_window_free(Outbuf *gw); 174void eng_window_free(Outbuf *gw);
175void eng_window_use(Outbuf *gw); 175void eng_window_use(Outbuf *gw);
@@ -186,7 +186,7 @@ void eng_gl_context_use(Context_3D *context);
186 186
187void eng_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth); 187void eng_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth);
188int eng_outbuf_get_rot(Outbuf *ob); 188int eng_outbuf_get_rot(Outbuf *ob);
189Render_Engine_Swap_Mode eng_outbuf_swap_mode(Outbuf *ob); 189Render_Output_Swap_Mode eng_outbuf_swap_mode(Outbuf *ob);
190#ifdef GL_GLES 190#ifdef GL_GLES
191void eng_outbuf_damage_region_set(Outbuf *ob, Tilebuf_Rect *damage); 191void eng_outbuf_damage_region_set(Outbuf *ob, Tilebuf_Rect *damage);
192#endif 192#endif
diff --git a/src/modules/evas/engines/gl_x11/evas_x_main.c b/src/modules/evas/engines/gl_x11/evas_x_main.c
index 4cd47f5..da38d3e 100644
--- a/src/modules/evas/engines/gl_x11/evas_x_main.c
+++ b/src/modules/evas/engines/gl_x11/evas_x_main.c
@@ -184,7 +184,7 @@ eng_window_new(Evas_Engine_Info_GL_X11 *info,
184 int indirect EINA_UNUSED, 184 int indirect EINA_UNUSED,
185 int alpha, 185 int alpha,
186 int rot, 186 int rot,
187 Render_Engine_Swap_Mode swap_mode, 187 Render_Output_Swap_Mode swap_mode,
188 int depth_bits, 188 int depth_bits,
189 int stencil_bits, 189 int stencil_bits,
190 int msaa_bits) 190 int msaa_bits)
@@ -1381,12 +1381,12 @@ eng_outbuf_get_rot(Outbuf *ob)
1381 return ob->rot; 1381 return ob->rot;
1382} 1382}
1383 1383
1384Render_Engine_Swap_Mode 1384Render_Output_Swap_Mode
1385eng_outbuf_swap_mode(Outbuf *ob) 1385eng_outbuf_swap_mode(Outbuf *ob)
1386{ 1386{
1387 if (ob->swap_mode == MODE_AUTO && extn_have_buffer_age) 1387 if (ob->swap_mode == MODE_AUTO && extn_have_buffer_age)
1388 { 1388 {
1389 Render_Engine_Swap_Mode swap_mode; 1389 Render_Output_Swap_Mode swap_mode;
1390 eina_evlog("+gl_query_surf_swap_mode", ob, 0.0, NULL); 1390 eina_evlog("+gl_query_surf_swap_mode", ob, 0.0, NULL);
1391#ifdef GL_GLES 1391#ifdef GL_GLES
1392 EGLint age = 0; 1392 EGLint age = 0;
diff --git a/src/modules/evas/engines/software_generic/Evas_Engine_Software_Generic.h b/src/modules/evas/engines/software_generic/Evas_Engine_Software_Generic.h
index 833b31e..d563b56 100644
--- a/src/modules/evas/engines/software_generic/Evas_Engine_Software_Generic.h
+++ b/src/modules/evas/engines/software_generic/Evas_Engine_Software_Generic.h
@@ -35,7 +35,7 @@ typedef enum
35typedef struct _Render_Output_Software_Generic Render_Output_Software_Generic; 35typedef struct _Render_Output_Software_Generic Render_Output_Software_Generic;
36typedef struct _Outbuf Outbuf; 36typedef struct _Outbuf Outbuf;
37 37
38typedef Render_Engine_Swap_Mode (*Outbuf_Swap_Mode_Get)(Outbuf *ob); 38typedef Render_Output_Swap_Mode (*Outbuf_Swap_Mode_Get)(Outbuf *ob);
39typedef void (*Outbuf_Reconfigure)(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth); 39typedef void (*Outbuf_Reconfigure)(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth);
40typedef Eina_Bool (*Outbuf_Region_First_Rect)(Outbuf *ob); 40typedef Eina_Bool (*Outbuf_Region_First_Rect)(Outbuf *ob);
41typedef void (*Outbuf_Damage_Region_Set)(Outbuf *ob, Tilebuf_Rect *rects); 41typedef void (*Outbuf_Damage_Region_Set)(Outbuf *ob, Tilebuf_Rect *rects);
@@ -71,7 +71,7 @@ struct _Render_Output_Software_Generic
71 71
72 unsigned int w, h; 72 unsigned int w, h;
73 73
74 Render_Engine_Swap_Mode swap_mode; 74 Render_Output_Swap_Mode swap_mode;
75 Render_Output_Merge_Mode merge_mode; 75 Render_Output_Merge_Mode merge_mode;
76 76
77 unsigned char end : 1; 77 unsigned char end : 1;
diff --git a/src/modules/evas/engines/software_generic/Evas_Engine_Software_Shared.h b/src/modules/evas/engines/software_generic/Evas_Engine_Software_Shared.h
index 4bb64cf..897fe1c 100644
--- a/src/modules/evas/engines/software_generic/Evas_Engine_Software_Shared.h
+++ b/src/modules/evas/engines/software_generic/Evas_Engine_Software_Shared.h
@@ -9,7 +9,7 @@ typedef enum
9 MODE_TRIPLE, 9 MODE_TRIPLE,
10 MODE_QUADRUPLE, 10 MODE_QUADRUPLE,
11 MODE_AUTO 11 MODE_AUTO
12} Render_Engine_Swap_Mode; 12} Render_Output_Swap_Mode;
13 13
14#endif 14#endif
15 15
diff --git a/src/modules/evas/engines/software_x11/evas_xlib_swapbuf.c b/src/modules/evas/engines/software_x11/evas_xlib_swapbuf.c
index e22cb89..473045c 100644
--- a/src/modules/evas/engines/software_x11/evas_xlib_swapbuf.c
+++ b/src/modules/evas/engines/software_x11/evas_xlib_swapbuf.c
@@ -602,12 +602,10 @@ evas_software_xlib_swapbuf_alpha_get(Outbuf *buf)
602 return buf->priv.destination_alpha; 602 return buf->priv.destination_alpha;
603} 603}
604 604
605Render_Engine_Swap_Mode 605Render_Output_Swap_Mode
606evas_software_xlib_swapbuf_buffer_state_get(Outbuf *buf) 606evas_software_xlib_swapbuf_buffer_state_get(Outbuf *buf)
607{ 607{
608 Render_Engine_Swap_Mode mode;
609 if (!buf->priv.swapper) return MODE_FULL; 608 if (!buf->priv.swapper) return MODE_FULL;
610 mode = evas_xlib_swapper_buffer_state_get(buf->priv.swapper); 609 return evas_xlib_swapper_buffer_state_get(buf->priv.swapper);
611 return mode;
612} 610}
613 611
diff --git a/src/modules/evas/engines/software_x11/evas_xlib_swapbuf.h b/src/modules/evas/engines/software_x11/evas_xlib_swapbuf.h
index d4a6245..34325ea 100644
--- a/src/modules/evas/engines/software_x11/evas_xlib_swapbuf.h
+++ b/src/modules/evas/engines/software_x11/evas_xlib_swapbuf.h
@@ -49,5 +49,5 @@ int evas_software_xlib_swapbuf_get_rot(Outbuf *buf);
49void evas_software_xlib_swapbuf_rotation_set(Outbuf *buf, 49void evas_software_xlib_swapbuf_rotation_set(Outbuf *buf,
50 int rot); 50 int rot);
51Eina_Bool evas_software_xlib_swapbuf_alpha_get(Outbuf *buf); 51Eina_Bool evas_software_xlib_swapbuf_alpha_get(Outbuf *buf);
52Render_Engine_Swap_Mode evas_software_xlib_swapbuf_buffer_state_get(Outbuf *buf); 52Render_Output_Swap_Mode evas_software_xlib_swapbuf_buffer_state_get(Outbuf *buf);
53#endif 53#endif
diff --git a/src/modules/evas/engines/software_x11/evas_xlib_swapper.c b/src/modules/evas/engines/software_x11/evas_xlib_swapper.c
index 35a3e40..e1721b6 100644
--- a/src/modules/evas/engines/software_x11/evas_xlib_swapper.c
+++ b/src/modules/evas/engines/software_x11/evas_xlib_swapper.c
@@ -253,7 +253,7 @@ evas_xlib_swapper_swap(X_Swapper *swp, Eina_Rectangle *rects, int nrects)
253 swp->buf_cur = (swp->buf_cur + 1) % swp->buf_num; 253 swp->buf_cur = (swp->buf_cur + 1) % swp->buf_num;
254} 254}
255 255
256Render_Engine_Swap_Mode 256Render_Output_Swap_Mode
257evas_xlib_swapper_buffer_state_get(X_Swapper *swp) 257evas_xlib_swapper_buffer_state_get(X_Swapper *swp)
258{ 258{
259 int i, n, count = 0; 259 int i, n, count = 0;
@@ -853,7 +853,7 @@ evas_xlib_swapper_swap(X_Swapper *swp, Eina_Rectangle *rects, int nrects)
853 sym_XFixesDestroyRegion(swp->disp, region); 853 sym_XFixesDestroyRegion(swp->disp, region);
854} 854}
855 855
856Render_Engine_Swap_Mode 856Render_Output_Swap_Mode
857evas_xlib_swapper_buffer_state_get(X_Swapper *swp) 857evas_xlib_swapper_buffer_state_get(X_Swapper *swp)
858{ 858{
859 DRI2BufferFlags *flags; 859 DRI2BufferFlags *flags;
@@ -931,7 +931,7 @@ evas_xlib_swapper_swap(X_Swapper *swp EINA_UNUSED, Eina_Rectangle *rects EINA_UN
931{ 931{
932} 932}
933 933
934Render_Engine_Swap_Mode 934Render_Output_Swap_Mode
935evas_xlib_swapper_buffer_state_get(X_Swapper *swp EINA_UNUSED) 935evas_xlib_swapper_buffer_state_get(X_Swapper *swp EINA_UNUSED)
936{ 936{
937 return MODE_FULL; 937 return MODE_FULL;
diff --git a/src/modules/evas/engines/software_x11/evas_xlib_swapper.h b/src/modules/evas/engines/software_x11/evas_xlib_swapper.h
index 3e69566..383f229 100644
--- a/src/modules/evas/engines/software_x11/evas_xlib_swapper.h
+++ b/src/modules/evas/engines/software_x11/evas_xlib_swapper.h
@@ -8,8 +8,8 @@ void evas_xlib_swapper_free(X_Swapper *swp);
8void *evas_xlib_swapper_buffer_map(X_Swapper *swp, int *bpl, int *w, int *h); 8void *evas_xlib_swapper_buffer_map(X_Swapper *swp, int *bpl, int *w, int *h);
9void evas_xlib_swapper_buffer_unmap(X_Swapper *swp); 9void evas_xlib_swapper_buffer_unmap(X_Swapper *swp);
10void evas_xlib_swapper_swap(X_Swapper *swp, Eina_Rectangle *rects, int nrects); 10void evas_xlib_swapper_swap(X_Swapper *swp, Eina_Rectangle *rects, int nrects);
11Render_Engine_Swap_Mode evas_xlib_swapper_buffer_state_get(X_Swapper *swp); 11Render_Output_Swap_Mode evas_xlib_swapper_buffer_state_get(X_Swapper *swp);
12int evas_xlib_swapper_depth_get(X_Swapper *swp); 12int evas_xlib_swapper_depth_get(X_Swapper *swp);
13int evas_xlib_swapper_byte_order_get(X_Swapper *swp); 13int evas_xlib_swapper_byte_order_get(X_Swapper *swp);
14int evas_xlib_swapper_bit_order_get(X_Swapper *swp); 14int evas_xlib_swapper_bit_order_get(X_Swapper *swp);
15 15
diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c
index f615acb..0630daf 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -510,10 +510,10 @@ eng_output_info_setup(void *info)
510 info->render_mode = EVAS_RENDER_MODE_BLOCKING; 510 info->render_mode = EVAS_RENDER_MODE_BLOCKING;
511} 511}
512 512
513static Render_Engine_Swap_Mode 513static Render_Output_Swap_Mode
514_eng_swap_mode_get(void) 514_eng_swap_mode_get(void)
515{ 515{
516 Render_Engine_Swap_Mode swap_mode = MODE_FULL; 516 Render_Output_Swap_Mode swap_mode = MODE_FULL;
517 const char *s; 517 const char *s;
518 518
519 if ((s = getenv("EVAS_GL_SWAP_MODE"))) 519 if ((s = getenv("EVAS_GL_SWAP_MODE")))
@@ -551,7 +551,7 @@ eng_output_setup(void *engine EINA_UNUSED, void *info, unsigned int w, unsigned
551 Evas_Engine_Info_Wayland *inf = info; 551 Evas_Engine_Info_Wayland *inf = info;
552 Render_Engine *re; 552 Render_Engine *re;
553 Outbuf *ob; 553 Outbuf *ob;
554 Render_Engine_Swap_Mode swap_mode; 554 Render_Output_Swap_Mode swap_mode;
555 555
556 swap_mode = _eng_swap_mode_get(); 556 swap_mode = _eng_swap_mode_get();
557 557
@@ -631,7 +631,7 @@ eng_output_update(void *engine EINA_UNUSED, void *data, void *info, unsigned int
631 ob = eng_get_ob(re); 631 ob = eng_get_ob(re);
632 if (!ob) 632 if (!ob)
633 { 633 {
634 Render_Engine_Swap_Mode swap_mode = MODE_AUTO; 634 Render_Output_Swap_Mode swap_mode = MODE_AUTO;
635 635
636 swap_mode = _eng_swap_mode_get(); 636 swap_mode = _eng_swap_mode_get();
637 ob = eng_window_new(inf, w, h, swap_mode); 637 ob = eng_window_new(inf, w, h, swap_mode);
@@ -669,7 +669,7 @@ eng_output_update(void *engine EINA_UNUSED, void *data, void *info, unsigned int
669 (ob->info->info.depth != ob->depth) || 669 (ob->info->info.depth != ob->depth) ||
670 (ob->info->info.destination_alpha != ob->alpha)) 670 (ob->info->info.destination_alpha != ob->alpha))
671 { 671 {
672 Render_Engine_Swap_Mode swap_mode = MODE_AUTO; 672 Render_Output_Swap_Mode swap_mode = MODE_AUTO;
673 673
674 gl_wins--; 674 gl_wins--;
675 if (!ob->info->info.wl_display) 675 if (!ob->info->info.wl_display)
diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.h b/src/modules/evas/engines/wayland_egl/evas_engine.h
index c25e072..49218a9 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.h
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.h
@@ -65,7 +65,7 @@ struct _Outbuf
65 Evas_Engine_GL_Context *gl_context; 65 Evas_Engine_GL_Context *gl_context;
66 66
67 int prev_age; 67 int prev_age;
68 Render_Engine_Swap_Mode swap_mode; 68 Render_Output_Swap_Mode swap_mode;
69 int vsync; 69 int vsync;
70 int frame_cnt; 70 int frame_cnt;
71 71
@@ -107,7 +107,7 @@ extern Evas_GL_Preload_Render_Call glsym_evas_gl_preload_render_unlock;
107extern unsigned int (*glsym_eglSwapBuffersWithDamage) (EGLDisplay a, void *b, const EGLint *d, EGLint c); 107extern unsigned int (*glsym_eglSwapBuffersWithDamage) (EGLDisplay a, void *b, const EGLint *d, EGLint c);
108extern unsigned int (*glsym_eglSetDamageRegionKHR) (EGLDisplay a, EGLSurface b, EGLint *c, EGLint d); 108extern unsigned int (*glsym_eglSetDamageRegionKHR) (EGLDisplay a, EGLSurface b, EGLint *c, EGLint d);
109 109
110Outbuf *eng_window_new(Evas_Engine_Info_Wayland *einfo, int w, int h, Render_Engine_Swap_Mode swap_mode); 110Outbuf *eng_window_new(Evas_Engine_Info_Wayland *einfo, int w, int h, Render_Output_Swap_Mode swap_mode);
111void eng_window_free(Outbuf *gw); 111void eng_window_free(Outbuf *gw);
112void eng_window_use(Outbuf *gw); 112void eng_window_use(Outbuf *gw);
113void eng_window_unsurf(Outbuf *gw); 113void eng_window_unsurf(Outbuf *gw);
@@ -115,7 +115,7 @@ void eng_window_resurf(Outbuf *gw);
115 115
116void eng_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth); 116void eng_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth);
117int eng_outbuf_rotation_get(Outbuf *ob); 117int eng_outbuf_rotation_get(Outbuf *ob);
118Render_Engine_Swap_Mode eng_outbuf_swap_mode_get(Outbuf *ob); 118Render_Output_Swap_Mode eng_outbuf_swap_mode_get(Outbuf *ob);
119Eina_Bool eng_outbuf_region_first_rect(Outbuf *ob); 119Eina_Bool eng_outbuf_region_first_rect(Outbuf *ob);
120void eng_outbuf_damage_region_set(Outbuf *ob, Tilebuf_Rect *damage); 120void eng_outbuf_damage_region_set(Outbuf *ob, Tilebuf_Rect *damage);
121void *eng_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch); 121void *eng_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_egl/evas_wl_main.c b/src/modules/evas/engines/wayland_egl/evas_wl_main.c
index 435b5b2..a865502 100644
--- a/src/modules/evas/engines/wayland_egl/evas_wl_main.c
+++ b/src/modules/evas/engines/wayland_egl/evas_wl_main.c
@@ -9,7 +9,7 @@ static struct wl_display *display = NULL;
9static int win_count = 0; 9static int win_count = 0;
10 10
11Outbuf * 11Outbuf *
12eng_window_new(Evas_Engine_Info_Wayland *einfo, int w, int h, Render_Engine_Swap_Mode swap_mode) 12eng_window_new(Evas_Engine_Info_Wayland *einfo, int w, int h, Render_Output_Swap_Mode swap_mode)
13{ 13{
14 Outbuf *gw; 14 Outbuf *gw;
15 int context_attrs[3]; 15 int context_attrs[3];
@@ -361,12 +361,12 @@ eng_outbuf_rotation_get(Outbuf *ob)
361 return ob->rot; 361 return ob->rot;
362} 362}
363 363
364Render_Engine_Swap_Mode 364Render_Output_Swap_Mode
365eng_outbuf_swap_mode_get(Outbuf *ob) 365eng_outbuf_swap_mode_get(Outbuf *ob)
366{ 366{
367 if ((ob->swap_mode == MODE_AUTO) && (extn_have_buffer_age)) 367 if ((ob->swap_mode == MODE_AUTO) && (extn_have_buffer_age))
368 { 368 {
369 Render_Engine_Swap_Mode swap_mode; 369 Render_Output_Swap_Mode swap_mode;
370 EGLint age = 0; 370 EGLint age = 0;
371 371
372 eina_evlog("+gl_query_surf_swap_mode", ob, 0.0, NULL); 372 eina_evlog("+gl_query_surf_swap_mode", ob, 0.0, NULL);
diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.h b/src/modules/evas/engines/wayland_shm/evas_engine.h
index 308e31a..7cbedf0 100644
--- a/src/modules/evas/engines/wayland_shm/evas_engine.h
+++ b/src/modules/evas/engines/wayland_shm/evas_engine.h
@@ -147,7 +147,7 @@ void _evas_outbuf_free(Outbuf *ob);
147void _evas_outbuf_flush(Outbuf *ob, Tilebuf_Rect *surface_damage, Tilebuf_Rect *buffer_damage, Evas_Render_Mode render_mode); 147void _evas_outbuf_flush(Outbuf *ob, Tilebuf_Rect *surface_damage, Tilebuf_Rect *buffer_damage, Evas_Render_Mode render_mode);
148void _evas_outbuf_idle_flush(Outbuf *ob); 148void _evas_outbuf_idle_flush(Outbuf *ob);
149 149
150Render_Engine_Swap_Mode _evas_outbuf_swap_mode_get(Outbuf *ob); 150Render_Output_Swap_Mode _evas_outbuf_swap_mode_get(Outbuf *ob);
151int _evas_outbuf_rotation_get(Outbuf *ob); 151int _evas_outbuf_rotation_get(Outbuf *ob);
152void _evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth, Eina_Bool alpha, Eina_Bool resize, Eina_Bool hidden); 152void _evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth, Eina_Bool alpha, Eina_Bool resize, Eina_Bool hidden);
153void *_evas_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch); 153void *_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 a34ddef..3281f60 100644
--- a/src/modules/evas/engines/wayland_shm/evas_outbuf.c
+++ b/src/modules/evas/engines/wayland_shm/evas_outbuf.c
@@ -316,7 +316,7 @@ _evas_outbuf_flush(Outbuf *ob, Tilebuf_Rect *surface_damage EINA_UNUSED, Tilebuf
316 } 316 }
317} 317}
318 318
319Render_Engine_Swap_Mode 319Render_Output_Swap_Mode
320_evas_outbuf_swap_mode_get(Outbuf *ob) 320_evas_outbuf_swap_mode_get(Outbuf *ob)
321{ 321{
322 int age; 322 int age;