evas-drm: Add headers for hardware acceleration

@bugfix: Add missing headers for egl/gl support in evas-drm

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-03-06 11:02:25 +00:00
parent 4bcd26d5b9
commit 06afd41355
1 changed files with 10 additions and 0 deletions

View File

@ -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