Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: src/gpu/GrRenderTargetOpList.h

Issue 2468743002: TEMPORARY: track stencil clip state in GrRenderTargetOpList (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrRenderTargetContextPriv.h ('k') | src/gpu/GrRenderTargetOpList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrRenderTargetOpList.h
diff --git a/src/gpu/GrRenderTargetOpList.h b/src/gpu/GrRenderTargetOpList.h
index 2a7f1a175de3306fbadbad5f42a11fc2971c72bd..e4b2bf64be43647419e8d9ab2ecdf9c8dc8cc6b1 100644
--- a/src/gpu/GrRenderTargetOpList.h
+++ b/src/gpu/GrRenderTargetOpList.h
@@ -131,7 +131,7 @@ public:
SkDEBUGCODE(void dump() const override;)
private:
- friend class GrRenderTargetContextPriv; // for clearStencilClip
+ friend class GrRenderTargetContextPriv; // for clearStencilClip and stencil clip state.
// Returns the batch that the input batch was combined with or the input batch if it wasn't
// combined.
@@ -169,6 +169,10 @@ private:
SkAutoTDelete<gr_instanced::InstancedRendering> fInstancedRendering;
+ int32_t fLastClipStackGenID;
+ SkIRect fLastClipStackRect;
+ SkIPoint fLastClipOrigin;
+
typedef GrOpList INHERITED;
};
« no previous file with comments | « src/gpu/GrRenderTargetContextPriv.h ('k') | src/gpu/GrRenderTargetOpList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698