aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2018-07-26 08:03:04 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-26 13:37:26 +0000
commit01a9128a6f8e8a18cce11de2891f4b2052035f53 (patch)
tree4bd0d5d457c03a70641d0278366c7ca1fb4cba47 /include
parentb64db38b854bd8f6d564b7741ebf4795d130d168 (diff)
Maybe fix numStencilBits TSAN crash
Bug: skia:7390 Change-Id: Ied9c92147324ddb1245df796cd201df35657bbe0 Reviewed-on: https://skia-review.googlesource.com/143304 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/private/GrOpList.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/private/GrOpList.h b/include/private/GrOpList.h
index 9241cd78f5..be7389fb7b 100644
--- a/include/private/GrOpList.h
+++ b/include/private/GrOpList.h
@@ -95,6 +95,10 @@ public:
protected:
bool isInstantiated() const;
+ // In addition to just the GrSurface being allocated, has the stencil buffer been allocated (if
+ // it is required)?
+ bool isFullyInstantiated() const;
+
// This is a backpointer to the GrOpMemoryPool that holds the memory for this opLists' ops.
// In the DDL case, these back pointers keep the DDL's GrOpMemoryPool alive as long as its
// constituent opLists survive.