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

Unified Diff: src/gpu/GrClipMaskManager.h

Issue 1418073005: Remove gpu-side clip mask merging from clip mask manager (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add comment Created 5 years, 2 months 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 | « no previous file | src/gpu/GrClipMaskManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrClipMaskManager.h
diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h
index b0e9b4f943e5a2cf36109ea792bccfda90df39d7..2d9816c84ccbcc3cafaaa27af7a09ac08db70a50 100644
--- a/src/gpu/GrClipMaskManager.h
+++ b/src/gpu/GrClipMaskManager.h
@@ -21,6 +21,7 @@
class GrDrawTarget;
class GrPathRenderer;
class GrPathRendererChain;
+class GrResourceProvider;
class GrTexture;
class SkPath;
@@ -72,6 +73,8 @@ public:
private:
inline GrContext* getContext();
+ inline const GrCaps* caps() const;
+ inline GrResourceProvider* resourceProvider();
/**
* Informs the helper function adjustStencilParams() about how the stencil
@@ -134,15 +137,6 @@ private:
const SkClipStack::Element*,
GrPathRenderer* pr = nullptr);
- void mergeMask(GrPipelineBuilder*,
- GrTexture* dstMask,
- GrTexture* srcMask,
- SkRegion::Op op,
- const SkIRect& dstBound,
- const SkIRect& srcBound);
-
- GrTexture* createTempMask(int width, int height);
-
/**
* Called prior to return control back the GrGpu in setupClipping. It updates the
* GrPipelineBuilder with stencil settings that account for stencil-based clipping.
« no previous file with comments | « no previous file | src/gpu/GrClipMaskManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698