aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkRemoteGlyphCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkRemoteGlyphCache.cpp')
-rw-r--r--src/core/SkRemoteGlyphCache.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/SkRemoteGlyphCache.cpp b/src/core/SkRemoteGlyphCache.cpp
index d2c0cf8ced..4ed9cf287a 100644
--- a/src/core/SkRemoteGlyphCache.cpp
+++ b/src/core/SkRemoteGlyphCache.cpp
@@ -256,6 +256,19 @@ protected:
}
}
+ void drawGlyphRunList(SkGlyphRunList* glyphRunList) override {
+ auto blob = glyphRunList->blob();
+
+ SkASSERT(blob != nullptr);
+
+ if (blob != nullptr) {
+ auto origin = glyphRunList->origin();
+ auto paint = glyphRunList->paint();
+ this->drawTextBlob(blob, origin.x(), origin.y(), paint);
+ }
+ }
+
+
private:
void processGlyphRun(const SkPoint& position,
const SkTextBlobRunIterator& it,