forked from enlightenment/efl
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:
parent
4bcd26d5b9
commit
06afd41355
|
@ -1,6 +1,16 @@
|
||||||
#include "evas_engine.h"
|
#include "evas_engine.h"
|
||||||
#include <dlfcn.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
|
/* NB: This union is the same in GBM and TBM so we can use it
|
||||||
* to return 'handles' */
|
* to return 'handles' */
|
||||||
union _ebi_bo_handle
|
union _ebi_bo_handle
|
||||||
|
|
Loading…
Reference in New Issue