aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_drm2/Ecore_Drm2.h
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-04-28 15:30:34 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-05-05 12:53:23 -0500
commitab8ec5ed5f50200e3d75e1b5fe81883f2887e2f7 (patch)
treeb6f39ffa249f6a92f2dfaa484621c39af16de41f /src/lib/ecore_drm2/Ecore_Drm2.h
parentecore_drm2: Rebuild atomic state from plane_destination_set (diff)
downloadefl-ab8ec5ed5f50200e3d75e1b5fe81883f2887e2f7.tar.gz
ecore_drm2: Add API to update the fb for a plane
Diffstat (limited to 'src/lib/ecore_drm2/Ecore_Drm2.h')
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index 1448500d44..4fa46ce4e6 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -1032,6 +1032,20 @@ EAPI void ecore_drm2_plane_release(Ecore_Drm2_Plane *plane);
*/
EAPI void ecore_drm2_plane_destination_set(Ecore_Drm2_Plane *plane, int x, int y, int w, int h);
+/**
+ * Set plane frame buffer
+ *
+ * @param plane
+ * @param fb
+ *
+ * @return whether the plane state has been successfully changed or not
+ *
+ * @ingroup Ecore_Drm2_Plane_Group
+ * @since 1.20
+ */
+EAPI Eina_Bool ecore_drm2_plane_fb_set(Ecore_Drm2_Plane *plane, Ecore_Drm2_Fb *fb);
+
+
# endif
#endif