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

Unified Diff: src/gpu/GrAARectRenderer.h

Issue 818233002: Remove coordchanges from drawstate (Closed) Base URL: https://skia.googlesource.com/skia.git@coord-change-off-paint
Patch Set: adding test to ignore 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 b1780ad46a477feb1be3b21a843f18bb0c5660b8..d97a1118240b4ebfa0b3eea8aebad6ddddff9170 100644
--- a/src/gpu/GrAARectRenderer.h
+++ b/src/gpu/GrAARectRenderer.h
@@ -45,15 +45,17 @@ public:
void fillAARect(GrDrawTarget* target,
GrDrawState* ds,
GrColor color,
+ const SkMatrix& localMatrix,
const SkRect& rect,
const SkMatrix& combinedMatrix,
const SkRect& devRect) {
- this->geometryFillAARect(target, ds, color, rect, combinedMatrix, devRect);
+ this->geometryFillAARect(target, ds, color, localMatrix, rect, combinedMatrix, devRect);
}
void strokeAARect(GrDrawTarget*,
GrDrawState*,
GrColor,
+ const SkMatrix& localMatrix,
const SkRect& rect,
const SkMatrix& combinedMatrix,
const SkRect& devRect,
@@ -63,6 +65,7 @@ public:
void fillAANestedRects(GrDrawTarget*,
GrDrawState*,
GrColor,
+ const SkMatrix& localMatrix,
const SkRect rects[2],
const SkMatrix& combinedMatrix);
@@ -72,6 +75,7 @@ private:
void geometryFillAARect(GrDrawTarget*,
GrDrawState*,
GrColor,
+ const SkMatrix& localMatrix,
const SkRect& rect,
const SkMatrix& combinedMatrix,
const SkRect& devRect);
@@ -79,6 +83,7 @@ private:
void geometryStrokeAARect(GrDrawTarget*,
GrDrawState*,
GrColor,
+ const SkMatrix& localMatrix,
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