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

Unified Diff: src/gpu/GrAARectRenderer.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 | « src/gpu/GrAAHairLinePathRenderer.cpp ('k') | src/gpu/GrAARectRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrAARectRenderer.h
diff --git a/src/gpu/GrAARectRenderer.h b/src/gpu/GrAARectRenderer.h
index d6d07dde12cdee404b947cafe039dd50407a9e81..5a96f2cbca02e676c1c6c8098924f04a8e433b6d 100644
--- a/src/gpu/GrAARectRenderer.h
+++ b/src/gpu/GrAARectRenderer.h
@@ -15,7 +15,7 @@
#include "SkStrokeRec.h"
class GrGpu;
-class GrDrawState;
+class GrPipelineBuilder;
class GrDrawTarget;
class GrIndexBuffer;
@@ -43,16 +43,16 @@ public:
// between them by passing in stroke (==NULL means fill).
void fillAARect(GrDrawTarget* target,
- GrDrawState* ds,
+ GrPipelineBuilder* pipelineBuilder,
GrColor color,
const SkMatrix& viewMatrix,
const SkRect& rect,
const SkRect& devRect) {
- this->geometryFillAARect(target, ds, color, viewMatrix, rect, devRect);
+ this->geometryFillAARect(target, pipelineBuilder, color, viewMatrix, rect, devRect);
}
void strokeAARect(GrDrawTarget*,
- GrDrawState*,
+ GrPipelineBuilder*,
GrColor,
const SkMatrix& viewMatrix,
const SkRect& rect,
@@ -61,7 +61,7 @@ public:
// First rect is outer; second rect is inner
void fillAANestedRects(GrDrawTarget*,
- GrDrawState*,
+ GrPipelineBuilder*,
GrColor,
const SkMatrix& viewMatrix,
const SkRect rects[2]);
@@ -70,14 +70,14 @@ private:
GrIndexBuffer* aaStrokeRectIndexBuffer(bool miterStroke);
void geometryFillAARect(GrDrawTarget*,
- GrDrawState*,
+ GrPipelineBuilder*,
GrColor,
const SkMatrix& viewMatrix,
const SkRect& rect,
const SkRect& devRect);
void geometryStrokeAARect(GrDrawTarget*,
- GrDrawState*,
+ GrPipelineBuilder*,
GrColor,
const SkMatrix& viewMatrix,
const SkRect& devOutside,
« no previous file with comments | « src/gpu/GrAAHairLinePathRenderer.cpp ('k') | src/gpu/GrAARectRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698