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

Unified Diff: src/gpu/GrOvalRenderer.h

Issue 1232163002: ovals now take a const GrPipelineBuilder (Closed) Base URL: https://skia.googlesource.com/skia.git@const-fix2
Patch Set: rebase Created 5 years, 5 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/GrDrawContext.cpp ('k') | src/gpu/GrOvalRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrOvalRenderer.h
diff --git a/src/gpu/GrOvalRenderer.h b/src/gpu/GrOvalRenderer.h
index d8d9e0c80678a3a6378f13f3365569e7dc841f0a..d591ffeed38d80db1217f1d4603371f2e84c5cb2 100644
--- a/src/gpu/GrOvalRenderer.h
+++ b/src/gpu/GrOvalRenderer.h
@@ -21,21 +21,21 @@ class SkStrokeRec;
class GrOvalRenderer {
public:
static bool DrawOval(GrDrawTarget*,
- GrPipelineBuilder*,
+ const GrPipelineBuilder&,
GrColor,
const SkMatrix& viewMatrix,
bool useAA,
const SkRect& oval,
const SkStrokeRec& stroke);
static bool DrawRRect(GrDrawTarget*,
- GrPipelineBuilder*,
+ const GrPipelineBuilder&,
GrColor,
const SkMatrix& viewMatrix,
bool useAA,
const SkRRect& rrect,
const SkStrokeRec& stroke);
static bool DrawDRRect(GrDrawTarget* target,
- GrPipelineBuilder*,
+ const GrPipelineBuilder&,
GrColor,
const SkMatrix& viewMatrix,
bool useAA,
@@ -46,21 +46,21 @@ private:
GrOvalRenderer();
static bool DrawEllipse(GrDrawTarget* target,
- GrPipelineBuilder*,
+ const GrPipelineBuilder&,
GrColor,
const SkMatrix& viewMatrix,
bool useCoverageAA,
const SkRect& ellipse,
const SkStrokeRec& stroke);
static bool DrawDIEllipse(GrDrawTarget* target,
- GrPipelineBuilder*,
+ const GrPipelineBuilder&,
GrColor,
const SkMatrix& viewMatrix,
bool useCoverageAA,
const SkRect& ellipse,
const SkStrokeRec& stroke);
static void DrawCircle(GrDrawTarget* target,
- GrPipelineBuilder*,
+ const GrPipelineBuilder&,
GrColor,
const SkMatrix& viewMatrix,
bool useCoverageAA,
« no previous file with comments | « src/gpu/GrDrawContext.cpp ('k') | src/gpu/GrOvalRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698