@feature: Start on hardware acceleration support by adding EGL
structure to engine info
Signed-off-by: Chris Michael <cp.michael@samsung.com>
#ifndef _EVAS_ENGINE_DRM_H
# define _EVAS_ENGINE_DRM_H
+# ifdef HAVE_DRM_HW_ACCEL
+# include <EGL/egl.h>
+# endif
+
typedef struct _Evas_Engine_Info_Drm Evas_Engine_Info_Drm;
struct _Evas_Engine_Info_Drm
int output;
int plane;
+
+# ifdef HAVE_DRM_HW_ACCEL
+ struct
+ {
+ EGLDisplay disp;
+ EGLContext ctxt;
+ EGLConfig cfg;
+ } egl;
+# endif
+
+ Eina_Bool use_hw_accel : 1;
} info;
/* non-blocking or blocking mode */