evas-eglfs: Remove need for useless free_region function
authorChris Michael <cp.michael@samsung.com>
Mon, 6 Nov 2017 14:14:14 +0000 (09:14 -0500)
committerChris Michael <cp.michael@samsung.com>
Mon, 6 Nov 2017 14:14:14 +0000 (09:14 -0500)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/evas/engines/eglfs/evas_engine.c
src/modules/evas/engines/eglfs/evas_engine.h
src/modules/evas/engines/eglfs/evas_outbuf.c

index 88321d8..34aa22f 100644 (file)
@@ -709,7 +709,7 @@ eng_output_setup(void *engine, void *in, unsigned int w, unsigned int h)
                                            NULL,
                                            evas_outbuf_update_region_new,
                                            evas_outbuf_update_region_push,
-                                           evas_outbuf_update_region_free,
+                                           NULL,
                                            NULL,
                                            evas_outbuf_flush,
                                            NULL,
index 54c90fd..e3ad5ba 100644 (file)
@@ -110,7 +110,6 @@ int evas_outbuf_rot_get(Outbuf *ob);
 Eina_Bool evas_outbuf_update_region_first_rect(Outbuf *ob);
 void *evas_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch);
 void evas_outbuf_update_region_push(Outbuf *ob, RGBA_Image *update, int x, int y, int w, int h);
-void evas_outbuf_update_region_free(Outbuf *ob, RGBA_Image *update);
 void evas_outbuf_flush(Outbuf *ob, Tilebuf_Rect *surface_damage, Tilebuf_Rect *buffer_damage, Evas_Render_Mode render_mode);
 Evas_Engine_GL_Context* evas_outbuf_gl_context_get(Outbuf *ob);
 void *evas_outbuf_egl_display_get(Outbuf *ob);
index e922d1e..ba73286 100644 (file)
@@ -607,12 +607,6 @@ evas_outbuf_update_region_push(Outbuf *ob, RGBA_Image *update EINA_UNUSED, int x
 }
 
 void
-evas_outbuf_update_region_free(Outbuf *ob EINA_UNUSED, RGBA_Image *update EINA_UNUSED)
-{
-   /* Nothing to do here as we don't really create an image per area */
-}
-
-void
 evas_outbuf_flush(Outbuf *ob, Tilebuf_Rect *surface_damage EINA_UNUSED, Tilebuf_Rect *buffer_damage EINA_UNUSED, Evas_Render_Mode render_mode)
 {
    if (render_mode == EVAS_RENDER_MODE_ASYNC_INIT) goto end;