diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2014-02-12 17:40:53 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-20 02:03:48 +0100 |
commit | 587444f033cf51251f36321321ae358d187f37f9 (patch) | |
tree | 2331896ceb54f474e9e227c2b797480375c042d9 /src/quick/scenegraph/qsgdefaultglyphnode_p_p.h | |
parent | ef4cf6585a61a00e33091277217b6346a1e6e7fd (diff) |
Update glyph cache type/format logic to match qtbase changes
https://codereview.qt-project.org/#change,77791 unified the glyph format
between QFontEngine and QFontEngineGlyphCache.
Now that we're up to date with qtbase, we can unpin the dependency.
Change-Id: Ibcafccb741ce94b454ff7c469804f44fef7fe06f
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgdefaultglyphnode_p_p.h')
-rw-r--r-- | src/quick/scenegraph/qsgdefaultglyphnode_p_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/scenegraph/qsgdefaultglyphnode_p_p.h b/src/quick/scenegraph/qsgdefaultglyphnode_p_p.h index 5143921a1e..4e197b9d1f 100644 --- a/src/quick/scenegraph/qsgdefaultglyphnode_p_p.h +++ b/src/quick/scenegraph/qsgdefaultglyphnode_p_p.h @@ -59,7 +59,7 @@ class Geometry; class QSGTextMaskMaterial: public QSGMaterial { public: - QSGTextMaskMaterial(const QRawFont &font, int cacheType = -1); + QSGTextMaskMaterial(const QRawFont &font, QFontEngine::GlyphFormat glyphFormat = QFontEngine::Format_None); virtual ~QSGTextMaskMaterial(); virtual QSGMaterialType *type() const; @@ -84,7 +84,7 @@ public: const QMargins &margins = QMargins(0, 0, 0, 0)); private: - void init(int cacheType); + void init(QFontEngine::GlyphFormat glyphFormat); QSGPlainTexture *m_texture; QExplicitlySharedDataPointer<QFontEngineGlyphCache> m_glyphCache; |