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

#include <DRMCrtc.h>

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

Public Member Functions

 CDRMCrtc (int fd, uint32_t crtc)
 
 CDRMCrtc (const CDRMCrtc &)=delete
 
CDRMCrtcoperator= (const CDRMCrtc &)=delete
 
 ~CDRMCrtc ()=default
 
uint32_t GetCrtcId () const
 
uint32_t GetBufferId () const
 
uint32_t GetX () const
 
uint32_t GetY () const
 
drmModeModeInfoPtr GetMode () const
 
bool GetModeValid () const
 
- 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

◆ CDRMCrtc() [1/2]

CDRMCrtc::CDRMCrtc ( int fd,
uint32_t crtc )
explicit

◆ CDRMCrtc() [2/2]

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

◆ ~CDRMCrtc()

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

Member Function Documentation

◆ GetBufferId()

uint32_t KODI::WINDOWING::GBM::CDRMCrtc::GetBufferId ( ) const
inline

◆ GetCrtcId()

uint32_t KODI::WINDOWING::GBM::CDRMCrtc::GetCrtcId ( ) const
inline

◆ GetMode()

drmModeModeInfoPtr KODI::WINDOWING::GBM::CDRMCrtc::GetMode ( ) const
inline

◆ GetModeValid()

bool KODI::WINDOWING::GBM::CDRMCrtc::GetModeValid ( ) const
inline

◆ GetX()

uint32_t KODI::WINDOWING::GBM::CDRMCrtc::GetX ( ) const
inline

◆ GetY()

uint32_t KODI::WINDOWING::GBM::CDRMCrtc::GetY ( ) const
inline

◆ operator=()

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

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