summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_plane.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_plane.c')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_plane.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_plane.c b/src/lib/ecore_drm2/ecore_drm2_plane.c
index 943104fd00..155c932bf5 100644
--- a/src/lib/ecore_drm2/ecore_drm2_plane.c
+++ b/src/lib/ecore_drm2/ecore_drm2_plane.c
@@ -113,6 +113,16 @@ out:
113} 113}
114 114
115EAPI void 115EAPI void
116ecore_drm2_plane_release(Ecore_Drm2_Plane *plane)
117{
118 EINA_SAFETY_ON_NULL_RETURN(plane);
119
120 plane->state->in_use = EINA_FALSE;
121 plane->output->planes = eina_list_remove(plane->output->planes, plane);
122 free(plane);
123}
124
125EAPI void
116ecore_drm2_plane_destination_set(Ecore_Drm2_Plane *plane, int x, int y, int w, int h) 126ecore_drm2_plane_destination_set(Ecore_Drm2_Plane *plane, int x, int y, int w, int h)
117{ 127{
118 EINA_SAFETY_ON_NULL_RETURN(plane); 128 EINA_SAFETY_ON_NULL_RETURN(plane);