1#ifndef VIDEOOUT_OPENGL_H_
2#define VIDEOOUT_OPENGL_H_
31 bool Init (QSize VideoDim, QSize VideoDispDim,
32 float Aspect, QRect DisplayVisibleRect,
MythCodecID CodecId)
override;
A simple overload of QOpenGLTimeMonitor to record and log OpenGL execution intervals.
Common code shared between GPU accelerated sub-classes (e.g. OpenGL)
bool Init(QSize VideoDim, QSize VideoDispDim, float Aspect, QRect DisplayVisibleRect, MythCodecID CodecId) override
~MythVideoOutputOpenGL() override
void PrepareFrame(MythVideoFrame *Frame, FrameScanType Scan) override
void RenderEnd() override
MythRenderOpenGL * m_openglRender
MythVideoOutputOpenGL(MythMainWindow *MainWindow, MythRenderOpenGL *Render, MythOpenGLPainter *Painter, MythDisplay *Display, const MythVideoProfilePtr &VideoProfile, QString &Profile)
void RenderFrame(MythVideoFrame *Frame, FrameScanType Scan) override
QRect GetDisplayVisibleRectAdj() override
Adjust the display rectangle for OpenGL coordinates in some cases.
static void GetRenderOptions(RenderOptions &Options)
Generate the list of available OpenGL profiles.
static QStringList GetAllowedRenderers(MythRenderOpenGL *Render, MythCodecID CodecId, QSize VideoDim)
Generate a list of supported OpenGL profiles.
MythOpenGLPerf * m_openGLPerf
std::shared_ptr< MythVideoProfile > MythVideoProfilePtr