devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=d21ab6f59767202514ef03e49d74ef0a8076eba0
commit d21ab6f59767202514ef03e49d74ef0a8076eba0 Author: Chris Michael <[email protected]> Date: Wed Feb 12 07:29:40 2014 +0000 evas-drm: Start on hardware-accel support for drm @feature: Start on hardware acceleration support by adding EGL structure to engine info Signed-off-by: Chris Michael <[email protected]> --- src/modules/evas/engines/drm/Evas_Engine_Drm.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/modules/evas/engines/drm/Evas_Engine_Drm.h b/src/modules/evas/engines/drm/Evas_Engine_Drm.h index 6b1a663..99bc9b4 100644 --- a/src/modules/evas/engines/drm/Evas_Engine_Drm.h +++ b/src/modules/evas/engines/drm/Evas_Engine_Drm.h @@ -1,6 +1,10 @@ #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 @@ -24,6 +28,17 @@ 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 */ --
