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

Unified Diff: src/gpu/GrAARectRenderer.h

Issue 678953002: Default geometry processor (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix Created 6 years, 1 month 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/GrAAConvexPathRenderer.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 c6e3976b7f741e785a2131ebc8263802c2fdec30..e39b87a5fd3305103497ba83a346373b881f530f 100644
--- a/src/gpu/GrAARectRenderer.h
+++ b/src/gpu/GrAARectRenderer.h
@@ -44,17 +44,7 @@ public:
const SkRect& rect,
const SkMatrix& combinedMatrix,
const SkRect& devRect) {
-#ifdef SHADER_AA_FILL_RECT
- if (combinedMatrix.rectStaysRect()) {
- this->shaderFillAlignedAARect(gpu, target,
- rect, combinedMatrix);
- } else {
- this->shaderFillAARect(gpu, target,
- rect, combinedMatrix);
- }
-#else
this->geometryFillAARect(target, rect, combinedMatrix, devRect);
-#endif
}
void strokeAARect(GrDrawTarget* target,
@@ -76,14 +66,6 @@ private:
const SkMatrix& combinedMatrix,
const SkRect& devRect);
- void shaderFillAARect(GrDrawTarget* target,
- const SkRect& rect,
- const SkMatrix& combinedMatrix);
-
- void shaderFillAlignedAARect(GrDrawTarget* target,
- const SkRect& rect,
- const SkMatrix& combinedMatrix);
-
void geometryStrokeAARect(GrDrawTarget* target,
const SkRect& devOutside,
const SkRect& devOutsideAssist,
« no previous file with comments | « src/gpu/GrAAConvexPathRenderer.cpp ('k') | src/gpu/GrAARectRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698