devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=06afd41355dc4a30df82b646bf08536150ebcd1d

commit 06afd41355dc4a30df82b646bf08536150ebcd1d
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu Mar 6 11:02:25 2014 +0000

    evas-drm: Add headers for hardware acceleration
    
    @bugfix: Add missing headers for egl/gl support in evas-drm
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/evas/engines/drm/evas_bufmgr.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/modules/evas/engines/drm/evas_bufmgr.c 
b/src/modules/evas/engines/drm/evas_bufmgr.c
index 98c515c..14063fe 100644
--- a/src/modules/evas/engines/drm/evas_bufmgr.c
+++ b/src/modules/evas/engines/drm/evas_bufmgr.c
@@ -1,6 +1,16 @@
 #include "evas_engine.h"
 #include <dlfcn.h>
 
+#ifdef HAVE_DRM_HW_ACCEL
+# define EGL_EGLEXT_PROTOTYPES
+# define GL_GLEXT_PROTOTYPES
+
+# include <GLES2/gl2.h>
+# include <GLES2/gl2ext.h>
+# include <EGL/egl.h>
+# include <EGL/eglext.h>
+#endif
+
 /* NB: This union is the same in GBM and TBM so we can use it 
  * to return 'handles' */
 union _ebi_bo_handle

-- 


Reply via email to