22#include <xf86drmMode.h>
121 LOGDEBUG(
"drmplane: %s: Unable to find value for property \'%s\'.",
192 LOGDEBUG2(
L_DRM,
"drmplane: %s: cannot set atomic mode (%d), don't use zpos change: %m",
208 LOGERROR(
"DumpParameters (plane_id = %d | %s):",
GetId(),
id);
void SetParams(uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t)
Caches the modesetting parameters of a plane.
void ClearPlane(drmModeAtomicReqPtr)
Clear plane from drm.
uint64_t m_crtcId
CRTC_ID.
void SetProps(drmModeObjectProperties *props)
uint32_t GetPropsInfoPropId(int prop)
int SetPropertyRequest(drmModeAtomicReqPtr, const char *, uint64_t)
Add the properties to the mode setting request.
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)
drmModeObjectProperties * m_props
drmModePropertyRes ** GetPropsInfo(void)
void FreeProperties(void)
Free the previously filled plane properties.
void SetPlane(drmModeAtomicReqPtr)
Set all plane properties (except zpos)
drmModePropertyRes ** m_propsInfo
void SetPlaneZpos(drmModeAtomicReqPtr)
Set the plane zpos property.
drmModeObjectProperties * GetProps(void)
void DumpParameters(const char *)
Dump the cached plane parameter modesetting values.
#define LOGDEBUG2
log to LOG_DEBUG and add a prefix
#define LOGDEBUG
log to LOG_DEBUG
#define LOGERROR
log to LOG_ERR