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

#include <OffScreenModeSetting.h>

Inheritance diagram for KODI::WINDOWING::GBM::COffScreenModeSetting:
KODI::WINDOWING::GBM::CDRMUtils

Public Member Functions

 COffScreenModeSetting ()=default
 
 ~COffScreenModeSetting () override=default
 
void FlipPage (struct gbm_bo *bo, bool rendered, bool videoLayer, bool async) override
 
bool SetVideoMode (const RESOLUTION_INFO &res, struct gbm_bo *bo) override
 
bool SetActive (bool active) override
 
bool InitDrm () override
 
void DestroyDrm () override
 
RESOLUTION_INFO GetCurrentMode () override
 
std::vector< RESOLUTION_INFOGetModes () override
 
bool SetMode (const RESOLUTION_INFO &res) override
 
- Public Member Functions inherited from KODI::WINDOWING::GBM::CDRMUtils
 CDRMUtils ()=default
 
virtual ~CDRMUtils ()
 
int GetFileDescriptor () const
 
int GetRenderNodeFileDescriptor () const
 
const char * GetRenderDevicePath () const
 
CDRMPlaneGetVideoPlane () const
 
CDRMPlaneGetGuiPlane () const
 
CDRMCrtcGetCrtc () const
 
CDRMConnectorGetConnector () const
 
std::vector< std::string > GetConnectedConnectorNames ()
 
void SetInFenceFd (int fd)
 
int TakeOutFenceFd ()
 

Additional Inherited Members

- Static Public Member Functions inherited from KODI::WINDOWING::GBM::CDRMUtils
static uint32_t FourCCWithAlpha (uint32_t fourcc)
 
static uint32_t FourCCWithoutAlpha (uint32_t fourcc)
 
- Protected Member Functions inherited from KODI::WINDOWING::GBM::CDRMUtils
bool OpenDrm (bool needConnector)
 
drm_fbDrmFbGetFromBo (struct gbm_bo *bo)
 
- Protected Attributes inherited from KODI::WINDOWING::GBM::CDRMUtils
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
 
int m_inFenceFd {-1}
 
int m_outFenceFd {-1}
 
std::vector< std::unique_ptr< CDRMPlane > > m_planes
 

Constructor & Destructor Documentation

◆ COffScreenModeSetting()

KODI::WINDOWING::GBM::COffScreenModeSetting::COffScreenModeSetting ( )
default

◆ ~COffScreenModeSetting()

KODI::WINDOWING::GBM::COffScreenModeSetting::~COffScreenModeSetting ( )
overridedefault

Member Function Documentation

◆ DestroyDrm()

void KODI::WINDOWING::GBM::COffScreenModeSetting::DestroyDrm ( )
inlineoverridevirtual

Reimplemented from KODI::WINDOWING::GBM::CDRMUtils.

◆ FlipPage()

void KODI::WINDOWING::GBM::COffScreenModeSetting::FlipPage ( struct gbm_bo * bo,
bool rendered,
bool videoLayer,
bool async )
inlineoverridevirtual

Reimplemented from KODI::WINDOWING::GBM::CDRMUtils.

◆ GetCurrentMode()

RESOLUTION_INFO COffScreenModeSetting::GetCurrentMode ( )
overridevirtual

Reimplemented from KODI::WINDOWING::GBM::CDRMUtils.

◆ GetModes()

std::vector< RESOLUTION_INFO > COffScreenModeSetting::GetModes ( )
overridevirtual

Reimplemented from KODI::WINDOWING::GBM::CDRMUtils.

◆ InitDrm()

bool COffScreenModeSetting::InitDrm ( )
overridevirtual

Reimplemented from KODI::WINDOWING::GBM::CDRMUtils.

◆ SetActive()

bool KODI::WINDOWING::GBM::COffScreenModeSetting::SetActive ( bool active)
inlineoverridevirtual

Reimplemented from KODI::WINDOWING::GBM::CDRMUtils.

◆ SetMode()

bool KODI::WINDOWING::GBM::COffScreenModeSetting::SetMode ( const RESOLUTION_INFO & res)
inlineoverridevirtual

Reimplemented from KODI::WINDOWING::GBM::CDRMUtils.

◆ SetVideoMode()

bool KODI::WINDOWING::GBM::COffScreenModeSetting::SetVideoMode ( const RESOLUTION_INFO & res,
struct gbm_bo * bo )
inlineoverridevirtual

Reimplemented from KODI::WINDOWING::GBM::CDRMUtils.


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