Add renderer destroy function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
c351ba68eb
commit
ee2e852673
|
@ -80,6 +80,14 @@ e_renderer_create(E_Compositor *comp)
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EAPI void
|
||||||
|
e_renderer_destroy(E_Compositor *comp)
|
||||||
|
{
|
||||||
|
/* check for valid renderer and call the destroy function */
|
||||||
|
if ((comp->renderer) && (comp->renderer->destroy))
|
||||||
|
comp->renderer->destroy(comp);
|
||||||
|
}
|
||||||
|
|
||||||
/* local functions */
|
/* local functions */
|
||||||
static void
|
static void
|
||||||
_e_renderer_region_repaint(E_Surface *surface, E_Output *output, pixman_region32_t *region, pixman_region32_t *surf_region, pixman_op_t pixman_op)
|
_e_renderer_region_repaint(E_Surface *surface, E_Output *output, pixman_region32_t *region, pixman_region32_t *surf_region, pixman_op_t pixman_op)
|
||||||
|
|
|
@ -92,6 +92,7 @@ struct _E_Renderer
|
||||||
};
|
};
|
||||||
|
|
||||||
EAPI Eina_Bool e_renderer_create(E_Compositor *comp);
|
EAPI Eina_Bool e_renderer_create(E_Compositor *comp);
|
||||||
|
EAPI void e_renderer_destroy(E_Compositor *comp);
|
||||||
|
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue