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

Unified Diff: src/gpu/GrAARectRenderer.cpp

Issue 1151283004: Split drawing functionality out of GrContext and into new GrDrawContext (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix no-GPU builds Created 5 years, 7 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/GrAARectRenderer.h ('k') | src/gpu/GrAtlas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrAARectRenderer.cpp
diff --git a/src/gpu/GrAARectRenderer.cpp b/src/gpu/GrAARectRenderer.cpp
index 6b8abc38fb216879acb829e3d706feee3a08add6..a52a701e1025fb408c0dceeafac9ece65f621dcc 100644
--- a/src/gpu/GrAARectRenderer.cpp
+++ b/src/gpu/GrAARectRenderer.cpp
@@ -313,7 +313,7 @@ enum CoverageAttribType {
};
}
-void GrAARectRenderer::geometryFillAARect(GrDrawTarget* target,
+void GrAARectRenderer::GeometryFillAARect(GrDrawTarget* target,
GrPipelineBuilder* pipelineBuilder,
GrColor color,
const SkMatrix& viewMatrix,
@@ -330,7 +330,7 @@ void GrAARectRenderer::geometryFillAARect(GrDrawTarget* target,
target->drawBatch(pipelineBuilder, batch);
}
-void GrAARectRenderer::strokeAARect(GrDrawTarget* target,
+void GrAARectRenderer::StrokeAARect(GrDrawTarget* target,
GrPipelineBuilder* pipelineBuilder,
GrColor color,
const SkMatrix& viewMatrix,
@@ -371,7 +371,7 @@ void GrAARectRenderer::strokeAARect(GrDrawTarget* target,
}
if (spare <= 0 && miterStroke) {
- this->fillAARect(target, pipelineBuilder, color, viewMatrix, devOutside, devOutside);
+ FillAARect(target, pipelineBuilder, color, viewMatrix, devOutside, devOutside);
return;
}
@@ -388,8 +388,8 @@ void GrAARectRenderer::strokeAARect(GrDrawTarget* target,
devOutsideAssist.outset(0, ry);
}
- this->geometryStrokeAARect(target, pipelineBuilder, color, viewMatrix, devOutside,
- devOutsideAssist, devInside, miterStroke);
+ GeometryStrokeAARect(target, pipelineBuilder, color, viewMatrix, devOutside,
+ devOutsideAssist, devInside, miterStroke);
}
GR_DECLARE_STATIC_UNIQUE_KEY(gMiterIndexBufferKey);
@@ -773,7 +773,7 @@ private:
SkSTArray<1, Geometry, true> fGeoData;
};
-void GrAARectRenderer::geometryStrokeAARect(GrDrawTarget* target,
+void GrAARectRenderer::GeometryStrokeAARect(GrDrawTarget* target,
GrPipelineBuilder* pipelineBuilder,
GrColor color,
const SkMatrix& viewMatrix,
@@ -792,7 +792,7 @@ void GrAARectRenderer::geometryStrokeAARect(GrDrawTarget* target,
target->drawBatch(pipelineBuilder, batch);
}
-void GrAARectRenderer::fillAANestedRects(GrDrawTarget* target,
+void GrAARectRenderer::FillAANestedRects(GrDrawTarget* target,
GrPipelineBuilder* pipelineBuilder,
GrColor color,
const SkMatrix& viewMatrix,
@@ -805,12 +805,12 @@ void GrAARectRenderer::fillAANestedRects(GrDrawTarget* target,
viewMatrix.mapRect(&devInside, rects[1]);
if (devInside.isEmpty()) {
- this->fillAARect(target, pipelineBuilder, color, viewMatrix, devOutside, devOutside);
+ FillAARect(target, pipelineBuilder, color, viewMatrix, devOutside, devOutside);
return;
}
- this->geometryStrokeAARect(target, pipelineBuilder, color, viewMatrix, devOutside,
- devOutside, devInside, true);
+ GeometryStrokeAARect(target, pipelineBuilder, color, viewMatrix, devOutside,
+ devOutside, devInside, true);
}
///////////////////////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « src/gpu/GrAARectRenderer.h ('k') | src/gpu/GrAtlas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698