![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Special CRPBaseRenderer implementation to handle Direct Memory Access (DMA) buffer types. For specific use with CRenderBufferPoolDMA and CRenderBufferDMA. A windowing system must register use of this renderer and register at least one CBufferObject types. More...
#include <RPRendererDMA.h>
Public Member Functions | |
CRPRendererDMA (const CRenderSettings &renderSettings, CRenderContext &context, std::shared_ptr< IRenderBufferPool > bufferPool) | |
~CRPRendererDMA () override=default | |
![]() | |
CRPRendererOpenGLES (const CRenderSettings &renderSettings, CRenderContext &context, std::shared_ptr< IRenderBufferPool > bufferPool) | |
~CRPRendererOpenGLES () override | |
bool | Supports (RENDERFEATURE feature) const override |
SCALINGMETHOD | GetDefaultScalingMethod () const override |
![]() | |
CRPBaseRenderer (const CRenderSettings &renderSettings, CRenderContext &context, std::shared_ptr< IRenderBufferPool > bufferPool) | |
virtual | ~CRPBaseRenderer () |
IRenderBufferPool * | GetBufferPool () |
Get the buffer pool used by this renderer. | |
bool | Configure (AVPixelFormat format) |
void | FrameMove () |
void | PreRender (bool clear) |
Performs whatever necessary before rendering the frame. | |
void | SetBuffer (IRenderBuffer *buffer) |
void | RenderFrame (bool clear, uint8_t alpha) |
bool | IsCompatible (const CRenderVideoSettings &settings) const |
virtual void | Flush () |
const CRenderSettings & | GetRenderSettings () const |
void | SetScalingMethod (SCALINGMETHOD method) |
void | SetStretchMode (STRETCHMODE stretchMode) |
void | SetRenderRotation (unsigned int rotationDegCCW) |
void | SetPixels (const std::string &pixelPath) |
bool | IsVisible () const |
IRenderBuffer * | GetRenderBuffer () const |
Protected Member Functions | |
void | Render (uint8_t alpha) override |
![]() | |
void | RenderInternal (bool clear, uint8_t alpha) override |
void | FlushInternal () override |
void | ClearBackBuffer () |
Set the entire backbuffer to black. | |
void | DrawBlackBars () |
Draw black bars around the video quad. | |
![]() | |
virtual bool | ConfigureInternal () |
Additional Inherited Members | |
![]() | |
static bool | SupportsScalingMethod (SCALINGMETHOD method) |
![]() | |
GLuint | m_mainIndexVBO |
GLuint | m_mainVertexVBO |
GLuint | m_blackbarsVertexVBO |
GLenum | m_textureTarget = GL_TEXTURE_2D |
float | m_clearColour = 0.0f |
![]() | |
CRenderContext & | m_context |
std::shared_ptr< IRenderBufferPool > | m_bufferPool |
bool | m_bConfigured = false |
AVPixelFormat | m_format = AV_PIX_FMT_NONE |
CRenderSettings | m_renderSettings |
IRenderBuffer * | m_renderBuffer = nullptr |
CRect | m_sourceRect |
std::array< CPoint, 4 > | m_rotatedDestCoords {} |
Special CRPBaseRenderer implementation to handle Direct Memory Access (DMA) buffer types. For specific use with CRenderBufferPoolDMA and CRenderBufferDMA. A windowing system must register use of this renderer and register at least one CBufferObject types.
CRPRendererDMA::CRPRendererDMA | ( | const CRenderSettings & | renderSettings, |
CRenderContext & | context, | ||
std::shared_ptr< IRenderBufferPool > | bufferPool ) |
|
overridedefault |
Reimplemented from KODI::RETRO::CRPRendererOpenGLES.