Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::WINDOWING::GBM::CDRMPlane Class Reference

#include <DRMPlane.h>

Inheritance diagram for KODI::WINDOWING::GBM::CDRMPlane:
KODI::WINDOWING::GBM::CDRMObject

Public Member Functions

 CDRMPlane (int fd, uint32_t plane)
 
 CDRMPlane (const CDRMPlane &)=delete
 
CDRMPlaneoperator= (const CDRMPlane &)=delete
 
 ~CDRMPlane ()=default
 
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
 
virtual ~CDRMObject ()=default
 
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}
 

Constructor & Destructor Documentation

◆ CDRMPlane() [1/2]

CDRMPlane::CDRMPlane ( int fd,
uint32_t plane )
explicit

◆ CDRMPlane() [2/2]

KODI::WINDOWING::GBM::CDRMPlane::CDRMPlane ( const CDRMPlane & )
delete

◆ ~CDRMPlane()

KODI::WINDOWING::GBM::CDRMPlane::~CDRMPlane ( )
default

Member Function Documentation

◆ FindModifiers()

void CDRMPlane::FindModifiers ( )

◆ GetFormat()

uint32_t KODI::WINDOWING::GBM::CDRMPlane::GetFormat ( ) const
inline

◆ GetModifiersForFormat()

std::vector< uint64_t > & KODI::WINDOWING::GBM::CDRMPlane::GetModifiersForFormat ( uint32_t format)
inline

◆ GetPlaneId()

uint32_t KODI::WINDOWING::GBM::CDRMPlane::GetPlaneId ( ) const
inline

◆ GetPossibleCrtcs()

uint32_t KODI::WINDOWING::GBM::CDRMPlane::GetPossibleCrtcs ( ) const
inline

◆ operator=()

CDRMPlane & KODI::WINDOWING::GBM::CDRMPlane::operator= ( const CDRMPlane & )
delete

◆ SetFormat()

void KODI::WINDOWING::GBM::CDRMPlane::SetFormat ( const uint32_t newFormat)
inline

◆ SupportsFormat()

bool CDRMPlane::SupportsFormat ( uint32_t format)

◆ SupportsFormatAndModifier()

bool CDRMPlane::SupportsFormatAndModifier ( uint32_t format,
uint64_t modifier )

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