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

Unified Diff: src/gpu/GrClipMaskManager.h

Issue 1330353006: Remove GrClipTarget (Closed) Base URL: https://skia.googlesource.com/skia.git@cliptarget
Patch Set: rebase Created 5 years, 3 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 a70ebcebe2f384cde9cce06a8c83a0999006f5f8..26afd2c72a7d19cfb80f958913dfc1ffa56e89fb 100644
--- a/src/gpu/GrClipMaskManager.h
+++ b/src/gpu/GrClipMaskManager.h
@@ -19,7 +19,7 @@
#include "SkTLList.h"
#include "SkTypes.h"
-class GrClipTarget;
+class GrDrawTarget;
class GrPathRenderer;
class GrPathRendererChain;
class GrTexture;
@@ -34,7 +34,7 @@ class SkPath;
*/
class GrClipMaskManager : SkNoncopyable {
public:
- GrClipMaskManager(GrClipTarget* owner);
+ GrClipMaskManager(GrDrawTarget* owner);
/**
* Creates a clip mask if necessary as a stencil buffer or alpha texture
@@ -51,7 +51,7 @@ public:
/**
* Purge resources to free up memory. TODO: This class shouldn't hold any long lived refs
- * which will allow Resourcecache to automatically purge anything this class has created.
+ * which will allow GrResourceCache to automatically purge anything this class has created.
*/
void purgeResources();
@@ -63,8 +63,6 @@ public:
return kAlpha_ClipMaskType == fCurrClipMaskType;
}
- void setClipTarget(GrClipTarget*);
-
void adjustPathStencilParams(const GrStencilAttachment*, GrStencilSettings*);
private:
@@ -184,7 +182,7 @@ private:
} fCurrClipMaskType;
GrClipMaskCache fAACache; // cache for the AA path
- GrClipTarget* fClipTarget; // This is our owning clip target.
+ GrDrawTarget* fDrawTarget; // This is our owning draw target.
StencilClipMode fClipMode;
typedef SkNoncopyable INHERITED;
« 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