#include <LinuxRendererGL.h>
|
| | CLinuxRendererGL () |
| |
| | ~CLinuxRendererGL () override |
| |
| bool | Configure (const VideoPicture &picture, float fps, unsigned int orientation) override |
| |
| bool | IsConfigured () override |
| |
| void | AddVideoPicture (const VideoPicture &picture, int index) override |
| |
| void | UnInit () override |
| |
| bool | Flush (bool saveBuffers) override |
| |
| void | SetBufferSize (int numBuffers) override |
| |
| void | ReleaseBuffer (int idx) override |
| |
| void | RenderUpdate (int index, int index2, bool clear, unsigned int flags, unsigned int alpha) override |
| |
| void | Update () override |
| |
| CRenderInfo | GetRenderInfo () override |
| |
| bool | ConfigChanged (const VideoPicture &picture) override |
| |
| bool | SupportsMultiPassRendering () override |
| |
| bool | Supports (ERENDERFEATURE feature) const override |
| |
| bool | Supports (ESCALINGMETHOD method) const override |
| |
| bool | IsGuiLayer () override |
| |
| bool | VideoBypassesFramebuffer () override |
| |
| | CBaseRenderer () |
| |
| virtual | ~CBaseRenderer () |
| |
| virtual bool | IsPictureHW (const VideoPicture &picture) |
| |
| virtual bool | NeedBuffer (int idx) |
| |
| virtual bool | CaptureVideoFrame (const KODI::RENDERING::CAPTURE::CaptureSpec &spec, KODI::RENDERING::CAPTURE::CaptureResult &result) |
| | Render this renderer's video frame for screencap into result. Overridden by renderers whose VideoBypassesFramebuffer() is true. Default: capture unavailable.
|
| |
| virtual bool | WantsDoublePass () |
| |
| void | SetFps (float fps) |
| |
| void | SetViewMode (int viewMode) |
| |
| void | GetVideoRect (CRect &source, CRect &dest, CRect &view) const |
| | Get video rectangle and view window.
|
| |
| float | GetAspectRatio () const |
| |
| unsigned int | GetOrientation () const |
| |
| void | SetVideoSettings (const CVideoSettings &settings) |
| |
| virtual DEBUG_INFO_VIDEO | GetDebugInfo (int idx) |
| |
|
| bool | Render (unsigned int flags, int renderBuffer) |
| |
| void | ClearBackBuffer () |
| |
| void | ClearBackBufferQuad () |
| |
| void | DrawBlackBars () |
| |
| bool | ValidateRenderer () |
| |
| virtual bool | ValidateRenderTarget () |
| |
| virtual void | LoadShaders (int field=FIELD_FULL) |
| |
| void | SetTextureFilter (GLenum method) |
| |
| void | UpdateVideoFilter () |
| |
| void | CheckVideoParameters (int index) |
| |
| AVColorPrimaries | GetSrcPrimaries (AVColorPrimaries srcPrimaries, unsigned int width, unsigned int height) |
| |
| virtual bool | UploadTexture (int index) |
| |
| virtual void | DeleteTexture (int index) |
| |
| virtual bool | CreateTexture (int index) |
| |
| bool | UploadPlanarYUVTexture (int index) |
| |
| void | DeletePlanarYUVTexture (int index) |
| |
| bool | CreatePlanarYUVTexture (int index) |
| |
| bool | UploadNV12Texture (int index) |
| |
| void | DeleteNV12Texture (int index) |
| |
| bool | CreateNV12Texture (int index) |
| |
| bool | UploadPackedYUVTexture (int index) |
| |
| void | DeletePackedYUVTexture (int index) |
| |
| bool | CreatePackedYUVTexture (int index) |
| |
| void | CalculateTextureSourceRects (int source, int num_planes) |
| |
| void | RenderToFBO (int renderBuffer, int field, bool weave=false) |
| |
| void | RenderFromFBO () |
| |
| void | RenderSinglePass (int renderBuffer, int field) |
| |
| void | RenderRGB (int renderBuffer, int field) |
| |
| void | RenderProgressiveWeave (int renderBuffer, int field) |
| |
| void | BindPbo (CPictureBuffer &buff) |
| |
| void | UnBindPbo (CPictureBuffer &buff) |
| |
| void | LoadPlane (CYuvPlane &plane, int type, unsigned width, unsigned height, int stride, int bpp, void *data) |
| |
| void | GetPlaneTextureSize (CYuvPlane &plane) |
| |
| GLint | GetInternalFormat (GLint format, int bpp) |
| |
| virtual bool | LoadShadersHook () |
| |
| virtual bool | RenderHook (int idx) |
| |
| virtual void | AfterRenderHook (int idx) |
| |
| virtual bool | CanSaveBuffers () |
| |
| bool | LoadCLUT () |
| |
| void | DeleteCLUT () |
| |
| void | CalcDestRect (float offsetX, float offsetY, float width, float height, float inputFrameRatio, float zoomAmount, float verticalShift, CRect &destRect) |
| |
| void | CalcNormalRenderRect (float offsetX, float offsetY, float width, float height, float inputFrameRatio, float zoomAmount, float verticalShift) |
| |
| void | CalculateFrameAspectRatio (unsigned int desired_width, unsigned int desired_height) |
| |
| virtual void | ManageRenderArea () |
| |
| virtual void | ReorderDrawPoints () |
| |
| virtual EShaderFormat | GetShaderFormat () |
| |
| void | MarkDirty () |
| |
| void | EnableAlwaysClip () |
| |
| void | saveRotatedCoords () |
| |
| void | syncDestRectToRotatedPoints () |
| |
| void | restoreRotatedCoords () |
| |
◆ CLinuxRendererGL()
| CLinuxRendererGL::CLinuxRendererGL |
( |
| ) |
|
◆ ~CLinuxRendererGL()
| CLinuxRendererGL::~CLinuxRendererGL |
( |
| ) |
|
|
override |
◆ AddVideoPicture()
◆ AfterRenderHook()
| virtual void CLinuxRendererGL::AfterRenderHook |
( |
int | idx | ) |
|
|
inlineprotectedvirtual |
◆ BindPbo()
◆ CalculateTextureSourceRects()
| void CLinuxRendererGL::CalculateTextureSourceRects |
( |
int | source, |
|
|
int | num_planes ) |
|
protected |
◆ CanSaveBuffers()
| virtual bool CLinuxRendererGL::CanSaveBuffers |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ CheckVideoParameters()
| void CLinuxRendererGL::CheckVideoParameters |
( |
int | index | ) |
|
|
protected |
- Todo
- HACK for #28468; clean up properly in Piers beta 2
◆ ClearBackBuffer()
| void CLinuxRendererGL::ClearBackBuffer |
( |
| ) |
|
|
protected |
◆ ClearBackBufferQuad()
| void CLinuxRendererGL::ClearBackBufferQuad |
( |
| ) |
|
|
protected |
◆ ConfigChanged()
◆ Configure()
| bool CLinuxRendererGL::Configure |
( |
const VideoPicture & | picture, |
|
|
float | fps, |
|
|
unsigned int | orientation ) |
|
overridevirtual |
◆ Create()
◆ CreateNV12Texture()
| bool CLinuxRendererGL::CreateNV12Texture |
( |
int | index | ) |
|
|
protected |
◆ CreatePackedYUVTexture()
| bool CLinuxRendererGL::CreatePackedYUVTexture |
( |
int | index | ) |
|
|
protected |
◆ CreatePlanarYUVTexture()
| bool CLinuxRendererGL::CreatePlanarYUVTexture |
( |
int | index | ) |
|
|
protected |
◆ CreateTexture()
| bool CLinuxRendererGL::CreateTexture |
( |
int | index | ) |
|
|
protectedvirtual |
◆ DeleteCLUT()
| void CLinuxRendererGL::DeleteCLUT |
( |
| ) |
|
|
protected |
◆ DeleteNV12Texture()
| void CLinuxRendererGL::DeleteNV12Texture |
( |
int | index | ) |
|
|
protected |
◆ DeletePackedYUVTexture()
| void CLinuxRendererGL::DeletePackedYUVTexture |
( |
int | index | ) |
|
|
protected |
◆ DeletePlanarYUVTexture()
| void CLinuxRendererGL::DeletePlanarYUVTexture |
( |
int | index | ) |
|
|
protected |
◆ DeleteTexture()
| void CLinuxRendererGL::DeleteTexture |
( |
int | index | ) |
|
|
protectedvirtual |
◆ DrawBlackBars()
| void CLinuxRendererGL::DrawBlackBars |
( |
| ) |
|
|
protected |
◆ Flush()
| bool CLinuxRendererGL::Flush |
( |
bool | saveBuffers | ) |
|
|
overridevirtual |
◆ GetInternalFormat()
| GLint CLinuxRendererGL::GetInternalFormat |
( |
GLint | format, |
|
|
int | bpp ) |
|
protected |
◆ GetPlaneTextureSize()
◆ GetRenderInfo()
◆ GetSrcPrimaries()
| AVColorPrimaries CLinuxRendererGL::GetSrcPrimaries |
( |
AVColorPrimaries | srcPrimaries, |
|
|
unsigned int | width, |
|
|
unsigned int | height ) |
|
protected |
◆ IsConfigured()
| bool CLinuxRendererGL::IsConfigured |
( |
| ) |
|
|
inlineoverridevirtual |
◆ IsGuiLayer()
| bool CLinuxRendererGL::IsGuiLayer |
( |
| ) |
|
|
overridevirtual |
◆ LoadCLUT()
| bool CLinuxRendererGL::LoadCLUT |
( |
| ) |
|
|
protected |
◆ LoadPlane()
| void CLinuxRendererGL::LoadPlane |
( |
CYuvPlane & | plane, |
|
|
int | type, |
|
|
unsigned | width, |
|
|
unsigned | height, |
|
|
int | stride, |
|
|
int | bpp, |
|
|
void * | data ) |
|
protected |
◆ LoadShaders()
◆ LoadShadersHook()
| virtual bool CLinuxRendererGL::LoadShadersHook |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ Register()
| bool CLinuxRendererGL::Register |
( |
| ) |
|
|
static |
◆ ReleaseBuffer()
| void CLinuxRendererGL::ReleaseBuffer |
( |
int | idx | ) |
|
|
overridevirtual |
◆ Render()
| bool CLinuxRendererGL::Render |
( |
unsigned int | flags, |
|
|
int | renderBuffer ) |
|
protected |
◆ RenderFromFBO()
| void CLinuxRendererGL::RenderFromFBO |
( |
| ) |
|
|
protected |
◆ RenderHook()
| virtual bool CLinuxRendererGL::RenderHook |
( |
int | idx | ) |
|
|
inlineprotectedvirtual |
◆ RenderProgressiveWeave()
| void CLinuxRendererGL::RenderProgressiveWeave |
( |
int | renderBuffer, |
|
|
int | field ) |
|
protected |
◆ RenderRGB()
| void CLinuxRendererGL::RenderRGB |
( |
int | renderBuffer, |
|
|
int | field ) |
|
protected |
◆ RenderSinglePass()
| void CLinuxRendererGL::RenderSinglePass |
( |
int | renderBuffer, |
|
|
int | field ) |
|
protected |
◆ RenderToFBO()
| void CLinuxRendererGL::RenderToFBO |
( |
int | renderBuffer, |
|
|
int | field, |
|
|
bool | weave = false ) |
|
protected |
- Todo
- Believed dead: every FBO invalidation clears m_bValidated, and ValidateRenderTarget resets the filter cache so UpdateVideoFilter recreates the FBO before any multipass render. Kept as a failsafe against unenumerated invalidation paths.
◆ RenderUpdate()
| void CLinuxRendererGL::RenderUpdate |
( |
int | index, |
|
|
int | index2, |
|
|
bool | clear, |
|
|
unsigned int | flags, |
|
|
unsigned int | alpha ) |
|
overridevirtual |
◆ SetBufferSize()
| void CLinuxRendererGL::SetBufferSize |
( |
int | numBuffers | ) |
|
|
inlineoverridevirtual |
◆ SetTextureFilter()
| void CLinuxRendererGL::SetTextureFilter |
( |
GLenum | method | ) |
|
|
protected |
◆ Supports() [1/2]
◆ Supports() [2/2]
◆ SupportsMultiPassRendering()
| bool CLinuxRendererGL::SupportsMultiPassRendering |
( |
| ) |
|
|
overridevirtual |
◆ UnBindPbo()
◆ UnInit()
| void CLinuxRendererGL::UnInit |
( |
| ) |
|
|
overridevirtual |
◆ Update()
| void CLinuxRendererGL::Update |
( |
| ) |
|
|
overridevirtual |
◆ UpdateVideoFilter()
| void CLinuxRendererGL::UpdateVideoFilter |
( |
| ) |
|
|
protected |
◆ UploadNV12Texture()
| bool CLinuxRendererGL::UploadNV12Texture |
( |
int | index | ) |
|
|
protected |
◆ UploadPackedYUVTexture()
| bool CLinuxRendererGL::UploadPackedYUVTexture |
( |
int | index | ) |
|
|
protected |
◆ UploadPlanarYUVTexture()
| bool CLinuxRendererGL::UploadPlanarYUVTexture |
( |
int | index | ) |
|
|
protected |
◆ UploadTexture()
| bool CLinuxRendererGL::UploadTexture |
( |
int | index | ) |
|
|
protectedvirtual |
◆ ValidateRenderer()
| bool CLinuxRendererGL::ValidateRenderer |
( |
| ) |
|
|
protected |
◆ ValidateRenderTarget()
| bool CLinuxRendererGL::ValidateRenderTarget |
( |
| ) |
|
|
protectedvirtual |
◆ VideoBypassesFramebuffer()
| bool CLinuxRendererGL::VideoBypassesFramebuffer |
( |
| ) |
|
|
inlineoverridevirtual |
True when video never reaches the framebuffer: a DRM plane, an Android SurfaceView, the Amlogic video layer. Such a renderer must produce its own capture frame; every other renderer is served by reading the framebuffer.
Reimplemented from CBaseRenderer.
◆ fbo
◆ height
| float CLinuxRendererGL::height |
◆ m_bConfigured
| bool CLinuxRendererGL::m_bConfigured = false |
|
protected |
◆ m_buffers
◆ m_bValidated
| bool CLinuxRendererGL::m_bValidated = false |
|
protected |
◆ m_CLUT
| uint16_t* CLinuxRendererGL::m_CLUT |
|
protected |
◆ m_CLUTsize
| int CLinuxRendererGL::m_CLUTsize |
|
protected |
◆ m_cmsOn
| bool CLinuxRendererGL::m_cmsOn |
|
protected |
◆ m_cmsToken
| int CLinuxRendererGL::m_cmsToken |
|
protected |
◆ m_ColorManager
◆ m_currentField
◆ m_ditherDepth
| unsigned int CLinuxRendererGL::m_ditherDepth |
|
protected |
◆ [struct]
| struct { ... } CLinuxRendererGL::m_fbo |
◆ m_fullRange
| bool CLinuxRendererGL::m_fullRange |
|
protected |
◆ m_hdrFboActive
| bool CLinuxRendererGL::m_hdrFboActive {false} |
|
protected |
◆ m_intermediateFormat
| GLint CLinuxRendererGL::m_intermediateFormat {GL_RGBA8} |
|
protected |
◆ m_intermediateGammaCorrection
| bool CLinuxRendererGL::m_intermediateGammaCorrection {false} |
|
protected |
◆ m_intermediateType
| GLint CLinuxRendererGL::m_intermediateType {GL_UNSIGNED_BYTE} |
|
protected |
◆ m_iYUVRenderBuffer
| int CLinuxRendererGL::m_iYUVRenderBuffer = 0 |
|
protected |
◆ m_lastSourceRect
| CRect CLinuxRendererGL::m_lastSourceRect |
|
protected |
◆ m_lastViewRect
| CRect CLinuxRendererGL::m_lastViewRect |
|
protected |
◆ m_nonLinStretch
| bool CLinuxRendererGL::m_nonLinStretch = false |
|
protected |
◆ m_nonLinStretchGui
| bool CLinuxRendererGL::m_nonLinStretchGui = false |
|
protected |
◆ m_NumYUVBuffers
| int CLinuxRendererGL::m_NumYUVBuffers = 0 |
|
protected |
◆ m_passthroughHDR
| bool CLinuxRendererGL::m_passthroughHDR = false |
|
protected |
◆ m_pboSupported
| bool CLinuxRendererGL::m_pboSupported = true |
|
protected |
◆ m_pboUsed
| bool CLinuxRendererGL::m_pboUsed = false |
|
protected |
◆ m_pixelRatio
| float CLinuxRendererGL::m_pixelRatio = 0.0f |
|
protected |
◆ m_pVideoFilterShader
◆ m_pYUVShader
◆ m_reloadShaders
| bool CLinuxRendererGL::m_reloadShaders = false |
|
protected |
◆ m_renderMethod
◆ m_renderQuality
◆ m_renderSystem
◆ m_scalingMethod
◆ m_scalingMethodGui
◆ m_srcPrimaries
| AVColorPrimaries CLinuxRendererGL::m_srcPrimaries |
|
protected |
◆ m_tCLUTTex
| GLuint CLinuxRendererGL::m_tCLUTTex |
|
protected |
◆ m_textureTarget
| GLenum CLinuxRendererGL::m_textureTarget = GL_TEXTURE_2D |
|
protected |
◆ m_toneMap
| bool CLinuxRendererGL::m_toneMap = false |
|
protected |
◆ m_toneMapMethod
◆ m_useDithering
| bool CLinuxRendererGL::m_useDithering |
|
protected |
◆ width
| float CLinuxRendererGL::width |
The documentation for this class was generated from the following files: