diff options
Diffstat (limited to 'src/gui/kernel/qplatformopenglcontext.cpp')
| -rw-r--r-- | src/gui/kernel/qplatformopenglcontext.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformopenglcontext.cpp b/src/gui/kernel/qplatformopenglcontext.cpp index 839ec008aa3..048cbc6a4ae 100644 --- a/src/gui/kernel/qplatformopenglcontext.cpp +++ b/src/gui/kernel/qplatformopenglcontext.cpp @@ -165,4 +165,20 @@ bool QPlatformOpenGLContext::parseOpenGLVersion(const QByteArray &versionString, return (majorOk && minorOk); } +/*! + Called when the RHI begins rendering a new frame in the context. Will always be paired with a + call to \l endFrame(). +*/ +void QPlatformOpenGLContext::beginFrame() +{ +} + +/*! + Called when the RHI ends rendering a in the context. Is always preceded by a call to + \l beginFrame(). +*/ +void QPlatformOpenGLContext::endFrame() +{ +} + QT_END_NAMESPACE |
