|
MythTV master
|
A simple overload of QOpenGLTimeMonitor to record and log OpenGL execution intervals. More...
#include <libmythui/opengl/mythopenglperf.h>
Public Member Functions | |
| MythOpenGLPerf (QString Name, QVector< QString > Names, int SampleCount=30) | |
| void | RecordSample (void) |
| void | LogSamples (void) |
| int | GetTimersRunning (void) const |
Private Attributes | |
| QString | m_name |
| int | m_sampleCount { 0 } |
| int | m_totalSamples { 30 } |
| bool | m_timersReady { true } |
| int | m_timersRunning { 0 } |
| QVector< GLuint64 > | m_timerData { 0 } |
| QVector< QString > | m_timerNames |
A simple overload of QOpenGLTimeMonitor to record and log OpenGL execution intervals.
Definition at line 37 of file mythopenglperf.h.
| MythOpenGLPerf::MythOpenGLPerf | ( | QString | Name, |
| QVector< QString > | Names, | ||
| int | SampleCount = 30 |
||
| ) |
Definition at line 12 of file mythopenglperf.cpp.
| int MythOpenGLPerf::GetTimersRunning | ( | void | ) | const |
Definition at line 34 of file mythopenglperf.cpp.
Referenced by MythVideoOutputOpenGL::RenderFrame().
| void MythOpenGLPerf::LogSamples | ( | void | ) |
Definition at line 48 of file mythopenglperf.cpp.
Referenced by MythVideoOutputOpenGL::EndFrame().
| void MythOpenGLPerf::RecordSample | ( | void | ) |
Definition at line 39 of file mythopenglperf.cpp.
Referenced by MythVideoOutputOpenGL::EndFrame(), MythVideoOutputOpenGL::PrepareFrame(), MythVideoOutputOpenGL::RenderEnd(), and MythVideoOutputOpenGL::RenderFrame().
|
private |
Definition at line 46 of file mythopenglperf.h.
Referenced by LogSamples(), and MythOpenGLPerf().
|
private |
Definition at line 47 of file mythopenglperf.h.
Referenced by LogSamples().
|
private |
Definition at line 51 of file mythopenglperf.h.
Referenced by LogSamples(), and MythOpenGLPerf().
|
private |
Definition at line 52 of file mythopenglperf.h.
Referenced by LogSamples(), and MythOpenGLPerf().
Definition at line 49 of file mythopenglperf.h.
Referenced by LogSamples(), MythOpenGLPerf(), and RecordSample().
|
private |
Definition at line 50 of file mythopenglperf.h.
Referenced by GetTimersRunning(), LogSamples(), and RecordSample().
|
private |
Definition at line 48 of file mythopenglperf.h.
Referenced by LogSamples(), and MythOpenGLPerf().