diff options
author | Gunnar Sletta <gunnar.sletta@digia.com> | 2013-10-30 14:09:18 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-30 15:18:33 +0100 |
commit | 4a7f1326e3d342148a4a9147505a4d8d531b4a06 (patch) | |
tree | 7194f7b696b264e319c3fd3671fc074a7cc25270 /src/quick/scenegraph/qsgcontext_p.h | |
parent | 388fc07cf28417f6e755ad8a105a71aa55ab13c8 (diff) |
Work around Nouveau driver bugs
Change-Id: I25311a2bd88f41087352e0a43ba505f4e27b7e85
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgcontext_p.h')
-rw-r--r-- | src/quick/scenegraph/qsgcontext_p.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgcontext_p.h b/src/quick/scenegraph/qsgcontext_p.h index a11a4856c4..08fafb0713 100644 --- a/src/quick/scenegraph/qsgcontext_p.h +++ b/src/quick/scenegraph/qsgcontext_p.h @@ -109,11 +109,12 @@ public: static QSGRenderContext *from(QOpenGLContext *context); + bool hasBrokenIndexBufferObjects() const { return m_brokenIBOs; } + Q_SIGNALS: void initialized(); void invalidated(); - public Q_SLOTS: void textureFactoryDestroyed(QObject *o); @@ -129,6 +130,8 @@ protected: QSGDistanceFieldGlyphCacheManager *m_distanceFieldCacheManager; QSet<QFontEngine *> m_fontEnginesToClean; + + bool m_brokenIBOs; }; |