From 01a9128a6f8e8a18cce11de2891f4b2052035f53 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Thu, 26 Jul 2018 08:03:04 -0400 Subject: Maybe fix numStencilBits TSAN crash Bug: skia:7390 Change-Id: Ied9c92147324ddb1245df796cd201df35657bbe0 Reviewed-on: https://skia-review.googlesource.com/143304 Reviewed-by: Greg Daniel Commit-Queue: Robert Phillips --- include/private/GrOpList.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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. -- cgit v1.2.3