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>
This commit is contained in:
Chris Michael 2017-01-18 10:06:20 -05:00
parent 7c829d1669
commit f32268ad1b
2 changed files with 10 additions and 10 deletions

View File

@ -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;

View File

@ -677,16 +677,6 @@ typedef enum _Ecore_Drm2_Transform
ECORE_DRM2_TRANSFORM_FLIPPED_270
} Ecore_Drm2_Transform;
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;
struct _Ecore_Drm2_Fb
{
int fd;