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.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_plane.c b/src/lib/ecore_drm2/ecore_drm2_plane.c
index ef7d813241..d22bda76d2 100644
--- a/src/lib/ecore_drm2/ecore_drm2_plane.c
+++ b/src/lib/ecore_drm2/ecore_drm2_plane.c
@@ -111,3 +111,14 @@ out:
111 return NULL; 111 return NULL;
112#endif 112#endif
113} 113}
114
115EAPI void
116ecore_drm2_plane_destination_set(Ecore_Drm2_Plane *plane, int x, int y, int w, int h)
117{
118 EINA_SAFETY_ON_NULL_RETURN(plane);
119
120 plane->state->cx.value = x;
121 plane->state->cy.value = y;
122 plane->state->cw.value = w;
123 plane->state->ch.value = h;
124}