summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/Ecore_Drm.h
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-02-04 08:53:16 -0500
committerChris Michael <cpmichael@osg.samsung.com>2016-02-04 08:53:16 -0500
commitbabd202d05094df18c448b66efb96fcd8f0d0e10 (patch)
tree96a747eee34a926aa2fe09d4a9d8fee46f3a7df3 /src/lib/ecore_drm/Ecore_Drm.h
parent33ea5653477c97072c62c7d7d32b6263b89f8509 (diff)
ecore-drm: Add opaque structure for Ecore_Drm_Plane
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/ecore_drm/Ecore_Drm.h')
-rw-r--r--src/lib/ecore_drm/Ecore_Drm.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h
index 5c50f1022d..66ac7fe94b 100644
--- a/src/lib/ecore_drm/Ecore_Drm.h
+++ b/src/lib/ecore_drm/Ecore_Drm.h
@@ -34,6 +34,13 @@
34extern "C" { 34extern "C" {
35# endif 35# endif
36 36
37# define ECORE_DRM_PLANE_ROTATION_NORMAL 1
38# define ECORE_DRM_PLANE_ROTATION_90 2
39# define ECORE_DRM_PLANE_ROTATION_180 4
40# define ECORE_DRM_PLANE_ROTATION_270 8
41# define ECORE_DRM_PLANE_ROTATION_REFLECT_X 16
42# define ECORE_DRM_PLANE_ROTATION_REFLECT_Y 32
43
37typedef enum _Ecore_Drm_Evdev_Capabilities 44typedef enum _Ecore_Drm_Evdev_Capabilities
38{ 45{
39 EVDEV_KEYBOARD = (1 << 0), 46 EVDEV_KEYBOARD = (1 << 0),
@@ -153,6 +160,13 @@ struct _Ecore_Drm_Event_Output
153 Eina_Bool plug : 1; 160 Eina_Bool plug : 1;
154}; 161};
155 162
163typedef enum _Ecore_Drm_Plane_Type
164{
165 ECORE_DRM_PLANE_TYPE_OVERLAY,
166 ECORE_DRM_PLANE_TYPE_PRIMARY,
167 ECORE_DRM_PLANE_TYPE_CURSOR
168} Ecore_Drm_Plane_Type;
169
156/* opaque structure to represent a drm device */ 170/* opaque structure to represent a drm device */
157typedef struct _Ecore_Drm_Device Ecore_Drm_Device; 171typedef struct _Ecore_Drm_Device Ecore_Drm_Device;
158 172
@@ -183,6 +197,10 @@ typedef struct _Ecore_Drm_Sprite Ecore_Drm_Sprite;
183/* structure to inform drm activation state */ 197/* structure to inform drm activation state */
184typedef struct _Ecore_Drm_Event_Activate Ecore_Drm_Event_Activate; 198typedef struct _Ecore_Drm_Event_Activate Ecore_Drm_Event_Activate;
185 199
200/* opaque structure to represent a drm hardware plane */
201/** @since 1.18 */
202typedef struct _Ecore_Drm_Plane Ecore_Drm_Plane;
203
186/* structure to inform drm output plug events */ 204/* structure to inform drm output plug events */
187/** @since 1.14 */ 205/** @since 1.14 */
188typedef struct _Ecore_Drm_Event_Output Ecore_Drm_Event_Output; 206typedef struct _Ecore_Drm_Event_Output Ecore_Drm_Event_Output;