kodi
Classes | Public Member Functions | List of all members
KODI::WINDOWING::GBM::CDRMPlane Class Reference
Inheritance diagram for KODI::WINDOWING::GBM::CDRMPlane:
Inheritance graph
[legend]
Collaboration diagram for KODI::WINDOWING::GBM::CDRMPlane:
Collaboration graph
[legend]

Public Member Functions

 CDRMPlane (int fd, uint32_t plane)
 
 CDRMPlane (const CDRMPlane &)=delete
 
CDRMPlaneoperator= (const CDRMPlane &)=delete
 
uint32_t GetPlaneId () const
 
uint32_t GetPossibleCrtcs () const
 
void FindModifiers ()
 
void SetFormat (const uint32_t newFormat)
 
uint32_t GetFormat () const
 
std::vector< uint64_t > & GetModifiersForFormat (uint32_t format)
 
bool SupportsFormat (uint32_t format)
 
bool SupportsFormatAndModifier (uint32_t format, uint64_t modifier)
 
- Public Member Functions inherited from KODI::WINDOWING::GBM::CDRMObject
 CDRMObject (const CDRMObject &)=delete
 
CDRMObjectoperator= (const CDRMObject &)=delete
 
std::string GetTypeName () const
 
std::string GetPropertyName (uint32_t propertyId) const
 
uint32_t GetId () const
 
uint32_t GetPropertyId (const std::string &name) const
 
std::optional< uint64_t > GetPropertyValue (std::string_view name, std::string_view valueName) const
 
bool SetProperty (const std::string &name, uint64_t value)
 
bool SupportsProperty (const std::string &name)
 

Additional Inherited Members

- Protected Member Functions inherited from KODI::WINDOWING::GBM::CDRMObject
 CDRMObject (int fd)
 
bool GetProperties (uint32_t id, uint32_t type)
 
- Protected Attributes inherited from KODI::WINDOWING::GBM::CDRMObject
std::unique_ptr< drmModeObjectProperties, DrmModeObjectPropertiesDeleterm_props
 
std::vector< std::unique_ptr< drmModePropertyRes, DrmModePropertyResDeleter > > m_propsInfo
 
int m_fd {-1}
 

The documentation for this class was generated from the following files: