aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-02-04 09:44:17 -0500
committerChris Michael <cpmichael@osg.samsung.com>2016-02-04 09:44:17 -0500
commit1486c7053ac09ee1b3ca6e884eeea424198a2f0e (patch)
treefdcc14a7b9c025e3c5a581334eaf69d22cd2e24d
parentecore-drm: Add API functions for rotation support (diff)
downloadefl-1486c7053ac09ee1b3ca6e884eeea424198a2f0e.tar.gz
This should not have been pushed. Unsure what happened here, but
revert this Revert "ecore-drm: Add opaque type for Plane support" This reverts commit 94082f54e8ce7d47402ea5d8d57e3871f8fa98a4.
-rw-r--r--src/lib/ecore_drm/Ecore_Drm.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h
index 249fc1711d..0366899232 100644
--- a/src/lib/ecore_drm/Ecore_Drm.h
+++ b/src/lib/ecore_drm/Ecore_Drm.h
@@ -69,13 +69,6 @@ typedef enum _Ecore_Drm_Seat_Capabilities
EVDEV_SEAT_TOUCH = (1 << 2),
} Ecore_Drm_Seat_Capabilities;
-typedef enum _Ecore_Drm_Plane_Type
-{
- ECORE_DRM_PLANE_TYPE_OVERLAY,
- ECORE_DRM_PLANE_TYPE_PRIMARY,
- ECORE_DRM_PLANE_TYPE_CURSOR
-} Ecore_Drm_Plane_Type;
-
/* structure for fb objects */
typedef struct _Ecore_Drm_Fb
{
@@ -215,10 +208,6 @@ typedef struct _Ecore_Drm_Event_Output Ecore_Drm_Event_Output;
/** @since 1.14 */
typedef void (*Ecore_Drm_Pageflip_Cb)(void *data);
-/* opaque structure to represent a drm hardware plane */
-/** @since 1.18 */
-typedef struct _Ecore_Drm_Plane Ecore_Drm_Plane;
-
EAPI extern int ECORE_DRM_EVENT_ACTIVATE;
EAPI extern int ECORE_DRM_EVENT_OUTPUT; /**< @since 1.14 */
@@ -1013,10 +1002,11 @@ EAPI Eina_Bool ecore_drm_output_possible_crtc_get(Ecore_Drm_Output *output, unsi
*/
EAPI Eina_Bool ecore_drm_output_mode_set(Ecore_Drm_Output *output, Ecore_Drm_Output_Mode *mode, int x, int y);
-/* TODO: Doxy */
+/* TODO: doxy */
/* @since 1.18 */
EAPI unsigned int ecore_drm_output_supported_rotations_get(Ecore_Drm_Output *output, Ecore_Drm_Plane_Type type);
+/* TODO: doxy */
/* @since 1.18 */
EAPI Eina_Bool ecore_drm_output_rotation_set(Ecore_Drm_Output *output, Ecore_Drm_Plane_Type type, unsigned int rotation);