From babd202d05094df18c448b66efb96fcd8f0d0e10 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 4 Feb 2016 08:53:16 -0500 Subject: ecore-drm: Add opaque structure for Ecore_Drm_Plane Signed-off-by: Chris Michael --- src/lib/ecore_drm/ecore_drm_private.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/lib/ecore_drm/ecore_drm_private.h') diff --git a/src/lib/ecore_drm/ecore_drm_private.h b/src/lib/ecore_drm/ecore_drm_private.h index 1f51d3b7df..de78d6d307 100644 --- a/src/lib/ecore_drm/ecore_drm_private.h +++ b/src/lib/ecore_drm/ecore_drm_private.h @@ -106,10 +106,20 @@ typedef struct _Ecore_Drm_Backlight Ecore_Drm_Backlight_Type type; } Ecore_Drm_Backlight; +struct _Ecore_Drm_Plane +{ + int id; + unsigned int rotation; + unsigned int rotation_map[6]; + unsigned int supported_rotations; + Ecore_Drm_Plane_Type type; +}; + struct _Ecore_Drm_Output { Ecore_Drm_Device *dev; unsigned int crtc_id; + unsigned int crtc_index; unsigned int conn_id; unsigned int conn_type; drmModeCrtcPtr crtc; @@ -125,6 +135,10 @@ struct _Ecore_Drm_Output Ecore_Drm_Output_Mode *current_mode; Eina_List *modes; + unsigned int primary_plane_id; + unsigned int rotation_prop_id; + Eina_List *planes; + unsigned char *edid_blob; struct -- cgit v1.2.1