ecore-drm2: Add opaque structure to represent a hardware plane

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2017-03-24 08:01:51 -04:00
parent 554883c048
commit 43104a7268
2 changed files with 13 additions and 0 deletions

View File

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

View File

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