aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextStrike.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrTextStrike.h')
-rw-r--r--src/gpu/GrTextStrike.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gpu/GrTextStrike.h b/src/gpu/GrTextStrike.h
index 0355405b3c..f71b82c88b 100644
--- a/src/gpu/GrTextStrike.h
+++ b/src/gpu/GrTextStrike.h
@@ -90,6 +90,14 @@ public:
}
GrTextStrike* getHeadStrike() const { return fHead; }
+ void updateTextures() {
+ for (int i = 0; i < kAtlasCount; ++i) {
+ if (fAtlasMgr[i]) {
+ fAtlasMgr[i]->uploadPlotsToTexture();
+ }
+ }
+ }
+
#ifdef SK_DEBUG
void validate() const;
#else