aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_drm2/Ecore_Drm2.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-01-18 10:06:20 -0500
committerChris Michael <cp.michael@samsung.com>2017-01-18 10:06:20 -0500
commitf32268ad1b4ccc8ecbf4c14baad4efc6601c89dd (patch)
tree9fc7ab207082ead5e4cff07a876b0320229133e9 /src/lib/ecore_drm2/Ecore_Drm2.h
parentecore-drm2: Minor formatting fix (diff)
downloadefl-f32268ad1b4ccc8ecbf4c14baad4efc6601c89dd.tar.gz
ecore-drm2: Expose Ecore_Drm2_Rotation enum
As we will need these values when doing rotation checks inside wl_drm module (for randr rotation support), let's move them out of the private header and expose them in Ecore_Drm2.h Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2/Ecore_Drm2.h')
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index 89263145e9..2a972771ba 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -27,6 +27,16 @@
# ifdef EFL_BETA_API_SUPPORT
+typedef enum _Ecore_Drm2_Rotation
+{
+ ECORE_DRM2_ROTATION_NORMAL = 1,
+ ECORE_DRM2_ROTATION_90 = 2,
+ ECORE_DRM2_ROTATION_180 = 4,
+ ECORE_DRM2_ROTATION_270 = 8,
+ ECORE_DRM2_ROTATION_REFLECT_X = 16,
+ ECORE_DRM2_ROTATION_REFLECT_Y = 32
+} Ecore_Drm2_Rotation;
+
/* opaque structure to represent a drm device */
typedef struct _Ecore_Drm2_Device Ecore_Drm2_Device;