Change e_plane to use pixman regions.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
c2cbaa5503
commit
bd97b2c442
|
@ -5,13 +5,13 @@ e_plane_init(E_Plane *plane, Evas_Coord x, Evas_Coord y)
|
||||||
{
|
{
|
||||||
plane->x = x;
|
plane->x = x;
|
||||||
plane->y = y;
|
plane->y = y;
|
||||||
plane->damage = eina_rectangle_new(x, y, 0, 0);
|
pixman_region32_init(&plane->damage);
|
||||||
plane->clip = eina_rectangle_new(x, y, 0, 0);
|
pixman_region32_init(&plane->clip);
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
e_plane_shutdown(E_Plane *plane)
|
e_plane_shutdown(E_Plane *plane)
|
||||||
{
|
{
|
||||||
eina_rectangle_free(plane->damage);
|
pixman_region32_fini(&plane->damage);
|
||||||
eina_rectangle_free(plane->clip);
|
pixman_region32_fini(&plane->clip);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue