xbmc
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KODI::WINDOWING::GBM::CDRMUtils Class Reference
Inheritance diagram for KODI::WINDOWING::GBM::CDRMUtils:
Inheritance graph
[legend]
Collaboration diagram for KODI::WINDOWING::GBM::CDRMUtils:
Collaboration graph
[legend]

Public Member Functions

virtual void FlipPage (struct gbm_bo *bo, bool rendered, bool videoLayer)
 
virtual bool SetVideoMode (const RESOLUTION_INFO &res, struct gbm_bo *bo)
 
virtual bool SetActive (bool active)
 
virtual bool InitDrm ()
 
virtual void DestroyDrm ()
 
int GetFileDescriptor () const
 
int GetRenderNodeFileDescriptor () const
 
const char * GetRenderDevicePath () const
 
CDRMPlaneGetVideoPlane () const
 
CDRMPlaneGetGuiPlane () const
 
CDRMCrtcGetCrtc () const
 
CDRMConnectorGetConnector () const
 
std::vector< std::string > GetConnectedConnectorNames ()
 
virtual RESOLUTION_INFO GetCurrentMode ()
 
virtual std::vector< RESOLUTION_INFOGetModes ()
 
virtual bool SetMode (const RESOLUTION_INFO &res)
 

Static Public Member Functions

static uint32_t FourCCWithAlpha (uint32_t fourcc)
 
static uint32_t FourCCWithoutAlpha (uint32_t fourcc)
 

Protected Member Functions

bool OpenDrm (bool needConnector)
 
drm_fbDrmFbGetFromBo (struct gbm_bo *bo)
 

Protected Attributes

int m_fd
 
CDRMConnectorm_connector {nullptr}
 
CDRMEncoderm_encoder {nullptr}
 
CDRMCrtcm_crtc {nullptr}
 
CDRMCrtcm_orig_crtc {nullptr}
 
CDRMPlanem_video_plane {nullptr}
 
CDRMPlanem_gui_plane {nullptr}
 
drmModeModeInfo * m_mode = nullptr
 
int m_width = 0
 
int m_height = 0
 
std::vector< std::unique_ptr< CDRMPlane > > m_planes
 

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