diff options
author | 2016-11-01 07:03:03 -0700 | |
---|---|---|
committer | 2016-11-01 07:03:03 -0700 | |
commit | 7cdda99ac34dbe249640be04d2e61bfb0f4b3b09 (patch) | |
tree | 6c9ce4d6cb41534da18d086d7f2cf5f322faef6a /src/gpu/GrRenderTargetOpList.cpp | |
parent | 8a8668b4721097de657ad8b30d45f60f62433c6f (diff) |
TEMPORARY: track stencil clip state in GrRenderTargetOpList
Tracks the stencil clip state in GrRenderTargetOpList instead of
GrStencilAttachment. This is a temporary move to unblock MDB, after
which point we will be able to overhaul clipping.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2468743002
Review-Url: https://codereview.chromium.org/2468743002
Diffstat (limited to 'src/gpu/GrRenderTargetOpList.cpp')
-rw-r--r-- | src/gpu/GrRenderTargetOpList.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrRenderTargetOpList.cpp b/src/gpu/GrRenderTargetOpList.cpp index 33a8608a3d..37c469af6a 100644 --- a/src/gpu/GrRenderTargetOpList.cpp +++ b/src/gpu/GrRenderTargetOpList.cpp @@ -52,7 +52,8 @@ GrRenderTargetOpList::GrRenderTargetOpList(GrRenderTargetProxy* rtp, GrGpu* gpu, : INHERITED(rtp, auditTrail) , fLastFullClearBatch(nullptr) , fGpu(SkRef(gpu)) - , fResourceProvider(resourceProvider) { + , fResourceProvider(resourceProvider) + , fLastClipStackGenID(SK_InvalidUniqueID) { // TODO: Stop extracting the context (currently needed by GrClip) fContext = fGpu->getContext(); |