25#include <xf86drmMode.h>
35 uint64_t, uint64_t, uint64_t, uint64_t,
36 uint64_t, uint64_t, uint64_t, uint64_t);
cDrmPlane - DRM plane class
void SetParams(uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t)
Set the modesetting parameters of a plane.
void ClearPlane(drmModeAtomicReqPtr)
Clear plane from drm.
uint64_t m_crtcId
CRTC_ID.
drmModePropertyRes ** GetPropsInfoElem(int elem)
void SetProps(drmModeObjectProperties *props)
uint32_t GetPropsInfoPropId(int prop)
int SetPropertyRequest(drmModeAtomicReqPtr, const char *, uint64_t)
Add the properties to the mode setting request.
uint64_t m_type
type: DRM_PLANE_TYPE_PRIMARY or DRM_PLANE_TYPE_OVERLAY
int HasZpos(int)
Check, if the plane is able to set the zpos property.
void FillProperties(int)
Fill the plane properties.
char * GetPropsInfoName(int prop)
void SetZpos(uint64_t zpos)
drmModeObjectProperties * m_props
drmModePropertyRes ** GetPropsInfo(void)
void FreeProperties(void)
Free the previously filled plane properties.
void SetPlane(drmModeAtomicReqPtr)
Set all other plane properties.
drmModePropertyRes ** m_propsInfo
void SetPlaneZpos(drmModeAtomicReqPtr)
Set the plane zpos property.
uint32_t m_planeId
the plane's ID
drmModeObjectProperties * GetProps(void)
void SetType(uint64_t type)
void DumpParameters(const char *)
Dump the plane parameter modesetting values.