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

Unified Diff: src/gpu/GrDrawContext.cpp

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 | « no previous file | src/gpu/GrOvalRenderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrDrawContext.cpp
diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp
index 2f04a02651c91b90f8cb01d218d5cd93aa3490a9..77a18677a6b5f93785e37a862280810889eaafbc 100644
--- a/src/gpu/GrDrawContext.cpp
+++ b/src/gpu/GrDrawContext.cpp
@@ -893,7 +893,7 @@ void GrDrawContext::drawRRect(GrRenderTarget*rt,
GrPipelineBuilder pipelineBuilder(paint, rt, clip);
GrColor color = paint.getColor();
if (!GrOvalRenderer::DrawRRect(fDrawTarget,
- &pipelineBuilder,
+ pipelineBuilder,
color,
viewMatrix,
paint.isAntiAlias(),
@@ -928,7 +928,7 @@ void GrDrawContext::drawDRRect(GrRenderTarget* rt,
GrPipelineBuilder pipelineBuilder(paint, rt, clip);
GrColor color = paint.getColor();
if (!GrOvalRenderer::DrawDRRect(fDrawTarget,
- &pipelineBuilder,
+ pipelineBuilder,
color,
viewMatrix,
paint.isAntiAlias(),
@@ -975,7 +975,7 @@ void GrDrawContext::drawOval(GrRenderTarget* rt,
GrPipelineBuilder pipelineBuilder(paint, rt, clip);
GrColor color = paint.getColor();
if (!GrOvalRenderer::DrawOval(fDrawTarget,
- &pipelineBuilder,
+ pipelineBuilder,
color,
viewMatrix,
paint.isAntiAlias(),
@@ -1085,7 +1085,7 @@ void GrDrawContext::drawPath(GrRenderTarget* rt,
if (isOval && !path.isInverseFillType()) {
if (GrOvalRenderer::DrawOval(fDrawTarget,
- &pipelineBuilder,
+ pipelineBuilder,
color,
viewMatrix,
paint.isAntiAlias(),
« no previous file with comments | « no previous file | src/gpu/GrOvalRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698