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

#include <DRMLegacy.h>

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

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
 
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)
 
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

◆ CDRMLegacy()

KODI::WINDOWING::GBM::CDRMLegacy::CDRMLegacy ( )
default

◆ ~CDRMLegacy()

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

Member Function Documentation

◆ FlipPage()

void CDRMLegacy::FlipPage ( struct gbm_bo * bo,
bool rendered,
bool videoLayer,
bool async )
overridevirtual

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

◆ InitDrm()

bool CDRMLegacy::InitDrm ( )
overridevirtual

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

◆ SetActive()

bool CDRMLegacy::SetActive ( bool active)
overridevirtual

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

◆ SetVideoMode()

bool CDRMLegacy::SetVideoMode ( const RESOLUTION_INFO & res,
struct gbm_bo * bo )
overridevirtual

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


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