evas-gl-cocoa: Remove need for useless region_free function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2017-11-06 09:28:53 -05:00
parent 3ae469e648
commit de1e18ef7d
3 changed files with 1 additions and 9 deletions

View File

@ -165,7 +165,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,

View File

@ -97,7 +97,6 @@ void evas_outbuf_gl_context_use(Context_3D *ctx);
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);
Context_3D *evas_outbuf_gl_context_new(Outbuf *ob);

View File

@ -226,13 +226,6 @@ evas_outbuf_update_region_push(Outbuf *ob,
glsym_evas_gl_common_context_flush(ob->gl_context);
}
void
evas_outbuf_update_region_free(Outbuf *ob EINA_UNUSED, RGBA_Image *update EINA_UNUSED)
{
TRC("");
/* Nothing to do here as we don't really create an image per area */
}
void *
evas_outbuf_update_region_new(Outbuf *ob,
int x,