evas-software-x11: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2017-11-06 09:19:20 -05:00
parent 5edae8b9c1
commit 31a7963196
5 changed files with 2 additions and 19 deletions

View File

@ -103,7 +103,7 @@ _output_xlib_setup(void *engine, int w, int h, int rot, Display *disp, Drawable
NULL,
evas_software_xlib_outbuf_new_region_for_update,
evas_software_xlib_outbuf_push_updated_region,
evas_software_xlib_outbuf_free_region_for_update,
NULL,
evas_software_xlib_outbuf_idle_flush,
evas_software_xlib_outbuf_flush,
NULL,
@ -152,7 +152,7 @@ _output_swapbuf_setup(void *engine, int w, int h, int rot, Display *disp, Drawab
NULL,
evas_software_xlib_swapbuf_new_region_for_update,
evas_software_xlib_swapbuf_push_updated_region,
evas_software_xlib_swapbuf_free_region_for_update,
NULL,
evas_software_xlib_swapbuf_idle_flush,
evas_software_xlib_swapbuf_flush,
NULL,

View File

@ -757,12 +757,6 @@ evas_software_xlib_outbuf_new_region_for_update(Outbuf *buf, int x, int y, int w
return im;
}
void
evas_software_xlib_outbuf_free_region_for_update(Outbuf *buf EINA_UNUSED, RGBA_Image *update EINA_UNUSED)
{
/* no need to do anything - they are cleaned up on flush */
}
void
evas_software_xlib_outbuf_flush(Outbuf *buf, Tilebuf_Rect *surface_damage EINA_UNUSED, Tilebuf_Rect *buffer_damage EINA_UNUSED, Evas_Render_Mode render_mode EINA_UNUSED)
{

View File

@ -35,9 +35,6 @@ void *evas_software_xlib_outbuf_new_region_for_update (Outbuf *buf,
int *cw,
int *ch);
void evas_software_xlib_outbuf_free_region_for_update (Outbuf *buf,
RGBA_Image *update);
void evas_software_xlib_outbuf_flush (Outbuf *buf, Tilebuf_Rect *surface_damage, Tilebuf_Rect *buffer_damage, Evas_Render_Mode render_mode);
void evas_software_xlib_outbuf_idle_flush (Outbuf *buf);

View File

@ -317,12 +317,6 @@ evas_software_xlib_swapbuf_new_region_for_update(Outbuf *buf, int x, int y, int
return NULL;
}
void
evas_software_xlib_swapbuf_free_region_for_update(Outbuf *buf EINA_UNUSED, RGBA_Image *update EINA_UNUSED)
{
/* no need to do anything - they are cleaned up on flush */
}
void
evas_software_xlib_swapbuf_flush(Outbuf *buf, Tilebuf_Rect *surface_damage EINA_UNUSED, Tilebuf_Rect *buffer_damage EINA_UNUSED, Evas_Render_Mode render_mode)
{

View File

@ -30,8 +30,6 @@ void *evas_software_xlib_swapbuf_new_region_for_update(Outbuf *buf,
int *cy,
int *cw,
int *ch);
void evas_software_xlib_swapbuf_free_region_for_update(Outbuf *buf,
RGBA_Image *update);
void evas_software_xlib_swapbuf_flush(Outbuf *buf, Tilebuf_Rect *surface_damage, Tilebuf_Rect *buffer_damage, Evas_Render_Mode render_mode);
void evas_software_xlib_swapbuf_idle_flush(Outbuf *buf);
void evas_software_xlib_swapbuf_push_updated_region(Outbuf *buf,