aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDrawingManager.h
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/GrDrawingManager.h
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/GrDrawingManager.h')
-rw-r--r--src/gpu/GrDrawingManager.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gpu/GrDrawingManager.h b/src/gpu/GrDrawingManager.h
index cc70d93e0d..fc17c69d3e 100644
--- a/src/gpu/GrDrawingManager.h
+++ b/src/gpu/GrDrawingManager.h
@@ -131,7 +131,10 @@ private:
bool fAbandoned;
SkTArray<sk_sp<GrOpList>> fOpLists;
- SkSTArray<8, sk_sp<GrOpList>> fOnFlushOpLists;
+ // These are the IDs of the opLists currently being flushed (in internalFlush)
+ SkSTArray<8, uint32_t, true> fFlushingOpListIDs;
+ // These are the new opLists generated by the onFlush CBs
+ SkSTArray<8, sk_sp<GrOpList>> fOnFlushCBOpLists;
std::unique_ptr<GrAtlasTextContext> fAtlasTextContext;