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

Unified Diff: include/gpu/GrContext.h

Issue 858343002: Rename GrOptDrawState to GrPipeline and GrDrawState to GrPipelineBuilder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more nits Created 5 years, 11 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 | « gyp/gpu.gypi ('k') | include/gpu/GrPathRendererChain.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrContext.h
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 23711b98ca32152e2ad85bd7a97f57758c3ea9cd..70d34c5c9770b61d032062342022e5ef46f90d83 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -19,7 +19,6 @@
#include "SkTypes.h"
class GrAARectRenderer;
-class GrDrawState;
class GrDrawTarget;
class GrFontCache;
class GrFragmentProcessor;
@@ -32,6 +31,7 @@ class GrLayerCache;
class GrOvalRenderer;
class GrPath;
class GrPathRenderer;
+class GrPipelineBuilder;
class GrResourceEntry;
class GrResourceCache2;
class GrTestTarget;
@@ -773,7 +773,7 @@ public:
GrPathRenderer* getPathRenderer(
const GrDrawTarget* target,
- const GrDrawState*,
+ const GrPipelineBuilder*,
const SkMatrix& viewMatrix,
const SkPath& path,
const SkStrokeRec& stroke,
@@ -861,10 +861,10 @@ private:
class AutoCheckFlush;
// Sets the paint and returns the target to draw into. This function is overloaded to either
// take a GrDrawState, GrPaint, and AutoCheckFlush, or JUST an AutoCheckFlush
- GrDrawTarget* prepareToDraw(GrDrawState* ds, const GrPaint* paint, const AutoCheckFlush*);
+ GrDrawTarget* prepareToDraw(GrPipelineBuilder*, const GrPaint* paint, const AutoCheckFlush*);
void internalDrawPath(GrDrawTarget*,
- GrDrawState*,
+ GrPipelineBuilder*,
const SkMatrix& viewMatrix,
GrColor,
bool useAA,
« no previous file with comments | « gyp/gpu.gypi ('k') | include/gpu/GrPathRendererChain.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698