22#include <xf86drmMode.h>
126 LOGDEBUG(
"drmplane: %s: Unable to find value for property \'%s\'.",
197 LOGDEBUG2(
L_DRM,
"drmplane: %s: cannot set atomic mode (%d), don't use zpos change: %m",
213 LOGERROR(
"DumpParameters (plane_id = %d | %s):",
GetId(),
id);
uint64_t m_crtcId
CRTC_ID.
void SetProps(drmModeObjectProperties *props)
uint32_t GetPropsInfoPropId(int prop)
char * GetPropsInfoName(int prop)
drmModeObjectProperties * m_props
drmModePropertyRes ** GetPropsInfo(void)
drmModePropertyRes ** m_propsInfo
drmModeObjectProperties * GetProps(void)
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.
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.
void FreeProperties(void)
Free the previously filled plane properties.
void SetPlane(drmModeAtomicReqPtr)
Set all plane properties (except zpos)
void SetPlaneZpos(drmModeAtomicReqPtr)
Set the plane zpos property.
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