aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/text
diff options
context:
space:
mode:
authorGravatar Chris Dalton <csmartdalton@google.com>2017-11-27 12:26:31 -0700
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-27 20:59:47 +0000
commit3968ff9acaba9b5d18b052ff4e3a68c37769c6ce (patch)
tree9ba7d452b51cf8104f6e4fbea62255fdfa051004 /src/gpu/text
parent210883c86e53020b5fb2570e5b09f36eb4054b2c (diff)
Include opList ids in GrOnFlushCallbackObject::postFlush
Bug: skia:7190 Change-Id: Id20117ffc4ed5b875558473497507fd5cb12aa39 Reviewed-on: https://skia-review.googlesource.com/74641 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'src/gpu/text')
-rw-r--r--src/gpu/text/GrAtlasGlyphCache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/text/GrAtlasGlyphCache.h b/src/gpu/text/GrAtlasGlyphCache.h
index a75ef53b09..223ed6e69f 100644
--- a/src/gpu/text/GrAtlasGlyphCache.h
+++ b/src/gpu/text/GrAtlasGlyphCache.h
@@ -187,7 +187,8 @@ public:
void preFlush(GrOnFlushResourceProvider*, const uint32_t*, int,
SkTArray<sk_sp<GrRenderTargetContext>>*) override {}
- void postFlush(GrDeferredUploadToken startTokenForNextFlush) override {
+ void postFlush(GrDeferredUploadToken startTokenForNextFlush,
+ const uint32_t* opListIDs, int numOpListIDs) override {
for (int i = 0; i < kMaskFormatCount; ++i) {
if (fAtlases[i]) {
fAtlases[i]->compact(startTokenForNextFlush);