devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e04ad61ab40a0407cd27c6da66ef5d74e003a75d

commit e04ad61ab40a0407cd27c6da66ef5d74e003a75d
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Nov 6 09:23:13 2017 -0500

    evas-wayland-egl: Remove need for useless free_region function
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/evas/engines/wayland_egl/evas_engine.c  | 2 +-
 src/modules/evas/engines/wayland_egl/evas_engine.h  | 1 -
 src/modules/evas/engines/wayland_egl/evas_wl_main.c | 6 ------
 3 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c 
b/src/modules/evas/engines/wayland_egl/evas_engine.c
index 3da159fcdd..4db2ad59db 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -584,7 +584,7 @@ eng_output_setup(void *engine, void *info, unsigned int w, 
unsigned int h)
                                            eng_outbuf_damage_region_set,
                                            eng_outbuf_update_region_new,
                                            eng_outbuf_update_region_push,
-                                           eng_outbuf_update_region_free,
+                                           NULL,
                                            NULL,
                                            eng_outbuf_flush,
                                            NULL,
diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.h 
b/src/modules/evas/engines/wayland_egl/evas_engine.h
index bab7cad7c9..89c39fb3e4 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.h
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.h
@@ -119,7 +119,6 @@ Render_Output_Swap_Mode eng_outbuf_swap_mode_get(Outbuf 
*ob);
 Eina_Bool eng_outbuf_region_first_rect(Outbuf *ob);
 void eng_outbuf_damage_region_set(Outbuf *ob, Tilebuf_Rect *damage);
 void *eng_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int 
*cx, int *cy, int *cw, int *ch);
-void eng_outbuf_update_region_free(Outbuf *ob, RGBA_Image *update);
 void eng_outbuf_update_region_push(Outbuf *ob, RGBA_Image *update, int x, int 
y, int w, int h);
 void eng_outbuf_flush(Outbuf *ob, Tilebuf_Rect *surface_damage, Tilebuf_Rect 
*buffer_damage, Evas_Render_Mode render_mode);
 
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 4f1823ec1f..aed592b5d1 100644
--- a/src/modules/evas/engines/wayland_egl/evas_wl_main.c
+++ b/src/modules/evas/engines/wayland_egl/evas_wl_main.c
@@ -491,12 +491,6 @@ eng_outbuf_update_region_new(Outbuf *ob, int x, int y, int 
w, int h, int *cx EIN
 }
 
 void 
-eng_outbuf_update_region_free(Outbuf *ob EINA_UNUSED, RGBA_Image *update 
EINA_UNUSED)
-{
-
-}
-
-void 
 eng_outbuf_update_region_push(Outbuf *ob, RGBA_Image *update EINA_UNUSED, int 
x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
 {
    if (!_re_wincheck(ob)) return;

-- 


Reply via email to