devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=43104a7268990080dd79ee39f2a03ebdb888267c
commit 43104a7268990080dd79ee39f2a03ebdb888267c Author: Chris Michael <cp.mich...@samsung.com> Date: Fri Mar 24 08:01:51 2017 -0400 ecore-drm2: Add opaque structure to represent a hardware plane Signed-off-by: Chris Michael <cp.mich...@samsung.com> --- src/lib/ecore_drm2/Ecore_Drm2.h | 3 +++ src/lib/ecore_drm2/ecore_drm2_private.h | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h index 8a10104..e75a578 100644 --- a/src/lib/ecore_drm2/Ecore_Drm2.h +++ b/src/lib/ecore_drm2/Ecore_Drm2.h @@ -49,6 +49,9 @@ typedef struct _Ecore_Drm2_Output Ecore_Drm2_Output; /* opaque structure to represent an output mode */ typedef struct _Ecore_Drm2_Output_Mode Ecore_Drm2_Output_Mode; +/* opaque structure to represent a hardware plane */ +typedef struct _Ecore_Drm2_Plane Ecore_Drm2_Plane; + /* structure to represent event for output changes */ typedef struct _Ecore_Drm2_Event_Output_Changed { diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h index a9423df..5e806f1 100644 --- a/src/lib/ecore_drm2/ecore_drm2_private.h +++ b/src/lib/ecore_drm2/ecore_drm2_private.h @@ -694,6 +694,16 @@ struct _Ecore_Drm2_Fb void *mmap; }; +struct _Ecore_Drm2_Plane +{ + int type; + Ecore_Drm2_Fb *fb; // current fbo + Ecore_Drm2_Fb *qfb; // queued fbo +# ifdef HAVE_ATOMIC_DRM + Ecore_Drm2_Plane_State *plane_state; +# endif +}; + struct _Ecore_Drm2_Output_Mode { uint32_t id; --