Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <DRMLegacy.h>
Public Member Functions | |
CDRMLegacy ()=default | |
~CDRMLegacy () 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 |
Public Member Functions inherited from KODI::WINDOWING::GBM::CDRMUtils | |
CDRMUtils ()=default | |
virtual | ~CDRMUtils () |
virtual void | DestroyDrm () |
int | GetFileDescriptor () const |
int | GetRenderNodeFileDescriptor () const |
const char * | GetRenderDevicePath () const |
CDRMPlane * | GetVideoPlane () const |
CDRMPlane * | GetGuiPlane () const |
CDRMCrtc * | GetCrtc () const |
CDRMConnector * | GetConnector () const |
std::vector< std::string > | GetConnectedConnectorNames () |
virtual RESOLUTION_INFO | GetCurrentMode () |
virtual std::vector< RESOLUTION_INFO > | GetModes () |
virtual bool | SetMode (const RESOLUTION_INFO &res) |
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_fb * | DrmFbGetFromBo (struct gbm_bo *bo) |
Protected Attributes inherited from KODI::WINDOWING::GBM::CDRMUtils | |
int | m_fd |
CDRMConnector * | m_connector {nullptr} |
CDRMEncoder * | m_encoder {nullptr} |
CDRMCrtc * | m_crtc {nullptr} |
CDRMCrtc * | m_orig_crtc {nullptr} |
CDRMPlane * | m_video_plane {nullptr} |
CDRMPlane * | m_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 |
|
default |
|
overridedefault |
|
overridevirtual |
Reimplemented from KODI::WINDOWING::GBM::CDRMUtils.
|
overridevirtual |
Reimplemented from KODI::WINDOWING::GBM::CDRMUtils.
Reimplemented from KODI::WINDOWING::GBM::CDRMUtils.
|
overridevirtual |
Reimplemented from KODI::WINDOWING::GBM::CDRMUtils.