diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.h')
-rw-r--r-- | Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.h b/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.h index 2938110c5..fd3512fa2 100644 --- a/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.h +++ b/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.h @@ -32,6 +32,12 @@ #include <wtf/HashSet.h> #include <wtf/text/StringHash.h> +#if PLATFORM(QT) +QT_BEGIN_NAMESPACE +class QOpenGLVertexArrayObjectHelper; +QT_END_NAMESPACE +#endif + namespace WebCore { class Extensions3DOpenGL : public Extensions3DOpenGLCommon { @@ -65,6 +71,10 @@ protected: private: bool isVertexArrayObjectSupported(); #endif + +#if PLATFORM(QT) && QT_VERSION >= QT_VERSION_CHECK(5, 4, 0) + QOpenGLVertexArrayObjectHelper *m_vaoFunctions; +#endif }; } // namespace WebCore |