aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_drm2/Ecore_Drm2.h
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-05-09 12:47:02 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-05-27 11:57:53 -0400
commit3c332e1f88881b918abb1c2d042ca8d391f8d588 (patch)
treebb30ddcb9d01b5fc9fff4fef60ff8a01949f2620 /src/lib/ecore_drm2/Ecore_Drm2.h
parentecore-drm2: Add API functions to get and set pointer position (diff)
downloadefl-3c332e1f88881b918abb1c2d042ca8d391f8d588.tar.gz
ecore-drm2: Add drm2 event for session activation
This patch adds a new Ecore_Drm2_Event_Activate that can be raised to inform Enlightenment that a session has been activated or suspended so that rendering can be paused/resumed Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2/Ecore_Drm2.h')
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index f4bbad2d08..af69c8d60c 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -52,7 +52,14 @@ typedef struct _Ecore_Drm2_Event_Output_Changed
Eina_Bool enabled : 1;
} Ecore_Drm2_Event_Output_Changed;
+/* structure to represent event for session state changes */
+typedef struct _Ecore_Drm2_Event_Activate
+{
+ Eina_Bool active : 1;
+} Ecore_Drm2_Event_Activate;
+
EAPI extern int ECORE_DRM2_EVENT_OUTPUT_CHANGED;
+EAPI extern int ECORE_DRM2_EVENT_ACTIVATE;
/**
* @file