diff options
Diffstat (limited to 'src/gui/kernel/qopenglcontext.h')
| -rw-r--r-- | src/gui/kernel/qopenglcontext.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/kernel/qopenglcontext.h b/src/gui/kernel/qopenglcontext.h index bfdb8921af4..9756be30df7 100644 --- a/src/gui/kernel/qopenglcontext.h +++ b/src/gui/kernel/qopenglcontext.h @@ -139,6 +139,9 @@ private: friend class QOpenGLMultiGroupSharedResource; }; + +class QOpenGLTextureHelper; + class Q_GUI_EXPORT QOpenGLContext : public QObject { Q_OBJECT @@ -207,6 +210,7 @@ private: friend class QSGDistanceFieldGlyphCache; friend class QWidgetPrivate; friend class QAbstractOpenGLFunctionsPrivate; + friend class QOpenGLTexturePrivate; void *qGLContextHandle() const; void setQGLContextHandle(void *handle,void (*qGLContextDeleteFunction)(void *)); @@ -217,6 +221,11 @@ private: QOpenGLVersionFunctionsBackend *backend); void removeFunctionsBackend(const QOpenGLVersionStatus &v); +#if !defined(QT_OPENGL_ES_2) + QOpenGLTextureHelper* textureFunctions() const; + void setTextureFunctions(QOpenGLTextureHelper* textureFuncs); +#endif + void destroy(); }; |
