|
| CRPRendererOpenGL (const CRenderSettings &renderSettings, CRenderContext &context, std::shared_ptr< IRenderBufferPool > bufferPool) |
|
bool | Supports (RENDERFEATURE feature) const override |
|
SCALINGMETHOD | GetDefaultScalingMethod () const override |
|
| CRPBaseRenderer (const CRenderSettings &renderSettings, CRenderContext &context, std::shared_ptr< IRenderBufferPool > bufferPool) |
|
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 bool | SupportsScalingMethod (SCALINGMETHOD method) |
|
|
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. More...
|
|
virtual void | Render (uint8_t alpha) |
|
virtual bool | ConfigureInternal () |
|
|
GLuint | m_mainVAO |
|
GLuint | m_mainVertexVBO |
|
GLuint | m_mainIndexVBO |
|
GLuint | m_blackbarsVAO |
|
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 {} |
|
◆ DrawBlackBars()
void CRPRendererOpenGL::DrawBlackBars |
( |
| ) |
|
|
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.
The documentation for this class was generated from the following files:
- xbmc/cores/RetroPlayer/rendering/VideoRenderers/RPRendererOpenGL.h
- xbmc/cores/RetroPlayer/rendering/VideoRenderers/RPRendererOpenGL.cpp