forked from enlightenment/efl
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 <cp.michael@samsung.com>
This commit is contained in:
parent
97e6ea75de
commit
d21ab6f597
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue