summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm_private.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm/ecore_drm_private.h14
1 files changed, 14 insertions, 0 deletions
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
106 Ecore_Drm_Backlight_Type type; 106 Ecore_Drm_Backlight_Type type;
107} Ecore_Drm_Backlight; 107} Ecore_Drm_Backlight;
108 108
109struct _Ecore_Drm_Plane
110{
111 int id;
112 unsigned int rotation;
113 unsigned int rotation_map[6];
114 unsigned int supported_rotations;
115 Ecore_Drm_Plane_Type type;
116};
117
109struct _Ecore_Drm_Output 118struct _Ecore_Drm_Output
110{ 119{
111 Ecore_Drm_Device *dev; 120 Ecore_Drm_Device *dev;
112 unsigned int crtc_id; 121 unsigned int crtc_id;
122 unsigned int crtc_index;
113 unsigned int conn_id; 123 unsigned int conn_id;
114 unsigned int conn_type; 124 unsigned int conn_type;
115 drmModeCrtcPtr crtc; 125 drmModeCrtcPtr crtc;
@@ -125,6 +135,10 @@ struct _Ecore_Drm_Output
125 Ecore_Drm_Output_Mode *current_mode; 135 Ecore_Drm_Output_Mode *current_mode;
126 Eina_List *modes; 136 Eina_List *modes;
127 137
138 unsigned int primary_plane_id;
139 unsigned int rotation_prop_id;
140 Eina_List *planes;
141
128 unsigned char *edid_blob; 142 unsigned char *edid_blob;
129 143
130 struct 144 struct