xbmc
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CWinRenderer Class Reference
Inheritance diagram for CWinRenderer:
Inheritance graph
[legend]
Collaboration diagram for CWinRenderer:
Collaboration graph
[legend]

Public Member Functions

void Update () override
 
bool RenderCapture (CRenderCapture *capture) override
 
bool Configure (const VideoPicture &picture, float fps, unsigned int orientation) override
 
void AddVideoPicture (const VideoPicture &picture, int index) override
 
void UnInit () override
 
bool IsConfigured () override
 
bool Flush (bool saveBuffers) override
 
CRenderInfo GetRenderInfo () override
 
void RenderUpdate (int index, int index2, bool clear, unsigned int flags, unsigned int alpha) override
 
void SetBufferSize (int numBuffers) override
 
void ReleaseBuffer (int idx) override
 
bool NeedBuffer (int idx) override
 
bool SupportsMultiPassRendering () override
 
bool Supports (ERENDERFEATURE feature) const override
 
bool Supports (ESCALINGMETHOD method) const override
 
bool WantsDoublePass () override
 
bool ConfigChanged (const VideoPicture &picture) override
 
DEBUG_INFO_VIDEO GetDebugInfo (int idx) override
 
CRenderCaptureGetRenderCapture () override
 
- Public Member Functions inherited from CBaseRenderer
virtual bool IsPictureHW (const VideoPicture &picture)
 
virtual bool IsGuiLayer ()
 
void SetViewMode (int viewMode)
 
void GetVideoRect (CRect &source, CRect &dest, CRect &view) const
 Get video rectangle and view window. More...
 
float GetAspectRatio () const
 
void SetVideoSettings (const CVideoSettings &settings)
 

Static Public Member Functions

static CBaseRendererCreate (CVideoBuffer *buffer)
 
static bool Register ()
 
- Static Public Member Functions inherited from CBaseRenderer
static void SettingOptionsRenderMethodsFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int &current, void *data)
 

Protected Member Functions

void PreInit ()
 
int NextBuffer () const
 
CRendererBaseSelectRenderer (const VideoPicture &picture)
 
CRect GetScreenRect () const
 
- Protected Member Functions inherited from CBaseRenderer
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 ()
 

Protected Attributes

bool m_bConfigured = false
 
std::unique_ptr< CRendererBasem_renderer
 
- Protected Attributes inherited from CBaseRenderer
unsigned int m_sourceWidth = 720
 
unsigned int m_sourceHeight = 480
 
float m_sourceFrameRatio = 1.0f
 
float m_fps = 0.0f
 
unsigned int m_renderOrientation = 0
 
CPoint m_rotatedDestCoords [4]
 
CPoint m_savedRotatedDestCoords [4]
 
CRect m_destRect
 
CRect m_sourceRect
 
CRect m_viewRect
 
unsigned m_iFlags = 0
 
AVPixelFormat m_format = AV_PIX_FMT_NONE
 
CVideoSettings m_videoSettings
 

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