![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <RPRendererOpenGLES.h>
Public Member Functions | |
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 |
Static Public Member Functions | |
static bool | SupportsScalingMethod (SCALINGMETHOD method) |
Protected Member Functions | |
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 void | Render (uint8_t alpha) |
![]() | |
virtual bool | ConfigureInternal () |
Protected Attributes | |
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 {} |
CRPRendererOpenGLES::CRPRendererOpenGLES | ( | const CRenderSettings & | renderSettings, |
CRenderContext & | context, | ||
std::shared_ptr< IRenderBufferPool > | bufferPool ) |
|
override |
|
protected |
Set the entire backbuffer to black.
|
protected |
Draw black bars around the video quad.
This is more efficient than glClear() since it only sets pixels to black that aren't going to be overwritten by the game.
|
overrideprotectedvirtual |
Reimplemented from KODI::RETRO::CRPBaseRenderer.
|
inlineoverridevirtual |
Implements KODI::RETRO::CRPBaseRenderer.
Reimplemented in KODI::RETRO::CRPRendererDMAOpenGLES.
Implements KODI::RETRO::CRPBaseRenderer.
|
overridevirtual |
Implements KODI::RETRO::CRPBaseRenderer.
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |