summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-06-12 11:44:29 -0400
committerChris Michael <cp.michael@samsung.com>2015-06-12 11:50:24 -0400
commit8809979ce35f74f4b48e4c76ae4ea0f79c83f3fd (patch)
tree9b9b54fd229e959bff1c3dfb88863190e9cfa4ff /src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h
parent02faffe14bd86b610d3b8cfd32928e8d1c4158dc (diff)
evas-gl-drm: Add swap_mode enum
Summary: This adds an enum we can use for setting/determining the swap_mode to use for the gl_drm engine Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h')
-rw-r--r--src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h b/src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h
index 17fe8cbabc..71ab60cefc 100644
--- a/src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h
+++ b/src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h
@@ -4,6 +4,16 @@
4# include <Ecore_Drm.h> 4# include <Ecore_Drm.h>
5# include <gbm.h> 5# include <gbm.h>
6 6
7typedef enum _Evas_Engine_Info_GL_Drm_Swap_Mode
8{
9 EVAS_ENGINE_GL_DRM_SWAP_MODE_AUTO = 0,
10 EVAS_ENGINE_GL_DRM_SWAP_MODE_FULL = 1,
11 EVAS_ENGINE_GL_DRM_SWAP_MODE_COPY = 2,
12 EVAS_ENGINE_GL_DRM_SWAP_MODE_DOUBLE = 3,
13 EVAS_ENGINE_GL_DRM_SWAP_MODE_TRIPLE = 4,
14 EVAS_ENGINE_GL_DRM_SWAP_MODE_QUADRUPLE = 5
15} Evas_Engine_Info_GL_Drm_Swap_Mode;
16
7typedef struct _Evas_Engine_Info_GL_Drm Evas_Engine_Info_GL_Drm; 17typedef struct _Evas_Engine_Info_GL_Drm Evas_Engine_Info_GL_Drm;
8 18
9struct _Evas_Engine_Info_GL_Drm 19struct _Evas_Engine_Info_GL_Drm
@@ -15,7 +25,6 @@ struct _Evas_Engine_Info_GL_Drm
15 struct 25 struct
16 { 26 {
17 struct gbm_device *gbm; 27 struct gbm_device *gbm;
18 struct gbm_surface *surface;
19 28
20 unsigned int rotation, depth; 29 unsigned int rotation, depth;
21 unsigned int crtc_id, conn_id, buffer_id; 30 unsigned int crtc_id, conn_id, buffer_id;