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

Unified Diff: src/gpu/GrAARectRenderer.h

Issue 815553003: Move ViewMatrix off of drawstate (Closed) Base URL: https://skia.googlesource.com/skia.git@remove-fragment-stage
Patch Set: more cleaning Created 6 years 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 d97a1118240b4ebfa0b3eea8aebad6ddddff9170..d6d07dde12cdee404b947cafe039dd50407a9e81 100644
--- a/src/gpu/GrAARectRenderer.h
+++ b/src/gpu/GrAARectRenderer.h
@@ -45,19 +45,17 @@ public:
void fillAARect(GrDrawTarget* target,
GrDrawState* ds,
GrColor color,
- const SkMatrix& localMatrix,
+ const SkMatrix& viewMatrix,
const SkRect& rect,
- const SkMatrix& combinedMatrix,
const SkRect& devRect) {
- this->geometryFillAARect(target, ds, color, localMatrix, rect, combinedMatrix, devRect);
+ this->geometryFillAARect(target, ds, color, viewMatrix, rect, devRect);
}
void strokeAARect(GrDrawTarget*,
GrDrawState*,
GrColor,
- const SkMatrix& localMatrix,
+ const SkMatrix& viewMatrix,
const SkRect& rect,
- const SkMatrix& combinedMatrix,
const SkRect& devRect,
const SkStrokeRec& stroke);
@@ -65,9 +63,8 @@ public:
void fillAANestedRects(GrDrawTarget*,
GrDrawState*,
GrColor,
- const SkMatrix& localMatrix,
- const SkRect rects[2],
- const SkMatrix& combinedMatrix);
+ const SkMatrix& viewMatrix,
+ const SkRect rects[2]);
private:
GrIndexBuffer* aaStrokeRectIndexBuffer(bool miterStroke);
@@ -75,15 +72,14 @@ private:
void geometryFillAARect(GrDrawTarget*,
GrDrawState*,
GrColor,
- const SkMatrix& localMatrix,
+ const SkMatrix& viewMatrix,
const SkRect& rect,
- const SkMatrix& combinedMatrix,
const SkRect& devRect);
void geometryStrokeAARect(GrDrawTarget*,
GrDrawState*,
GrColor,
- const SkMatrix& localMatrix,
+ const SkMatrix& viewMatrix,
const SkRect& devOutside,
const SkRect& devOutsideAssist,
const SkRect& devInside,
« 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