aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/scenegraph/qsgcontext_p.h
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@nokia.com>2011-08-09 16:03:42 +0200
committerQt by Nokia <qt-info@nokia.com>2011-08-10 08:57:29 +0200
commit939f74ca4a5ff1df30c7fcd167fd6fb15945c6ab (patch)
treebc746915af5a57e986f5e0976a83ea34e0fa6752 /src/declarative/scenegraph/qsgcontext_p.h
parent2601011f1c0168f080c488be09c888042812f7cb (diff)
QSGDistanceFieldGlyphCache code refactoring.
The distance field glyph caches are now contained in the QSGContext. Change-Id: Ifc5d155917314b1cc5905ef86fdad0bbc5635c7d Reviewed-on: http://codereview.qt.nokia.com/2787 Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/declarative/scenegraph/qsgcontext_p.h')
-rw-r--r--src/declarative/scenegraph/qsgcontext_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/scenegraph/qsgcontext_p.h b/src/declarative/scenegraph/qsgcontext_p.h
index cc2be930f4..be7dff880a 100644
--- a/src/declarative/scenegraph/qsgcontext_p.h
+++ b/src/declarative/scenegraph/qsgcontext_p.h
@@ -114,6 +114,9 @@ public:
void setRenderAlpha(qreal renderAlpha);
qreal renderAlpha() const;
+ void setDistanceFieldEnabled(bool enabled);
+ bool isDistanceFieldEnabled() const;
+
virtual QAnimationDriver *createAnimationDriver(QObject *parent);
signals: