summaryrefslogtreecommitdiff
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
parent02faffe14bd86b610d3b8cfd32928e8d1c4158dc (diff)
downloadefl-8809979ce35f74f4b48e4c76ae4ea0f79c83f3fd.tar.gz
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>
-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 @@
# include <Ecore_Drm.h>
# include <gbm.h>
+typedef enum _Evas_Engine_Info_GL_Drm_Swap_Mode
+{
+ EVAS_ENGINE_GL_DRM_SWAP_MODE_AUTO = 0,
+ EVAS_ENGINE_GL_DRM_SWAP_MODE_FULL = 1,
+ EVAS_ENGINE_GL_DRM_SWAP_MODE_COPY = 2,
+ EVAS_ENGINE_GL_DRM_SWAP_MODE_DOUBLE = 3,
+ EVAS_ENGINE_GL_DRM_SWAP_MODE_TRIPLE = 4,
+ EVAS_ENGINE_GL_DRM_SWAP_MODE_QUADRUPLE = 5
+} Evas_Engine_Info_GL_Drm_Swap_Mode;
+
typedef struct _Evas_Engine_Info_GL_Drm Evas_Engine_Info_GL_Drm;
struct _Evas_Engine_Info_GL_Drm
@@ -15,7 +25,6 @@ struct _Evas_Engine_Info_GL_Drm
struct
{
struct gbm_device *gbm;
- struct gbm_surface *surface;
unsigned int rotation, depth;
unsigned int crtc_id, conn_id, buffer_id;