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

Unified Diff: src/core/SkBitmapProcState.h

Issue 1775963002: Bilerp + mirror + perspective (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix mirror. Created 4 years, 9 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
Index: src/core/SkBitmapProcState.h
diff --git a/src/core/SkBitmapProcState.h b/src/core/SkBitmapProcState.h
index 26e8db88589297510550e03031b8bab85a7ca0bf..c720b36cb0cb0199e93b931e9301183b0724e49f 100644
--- a/src/core/SkBitmapProcState.h
+++ b/src/core/SkBitmapProcState.h
@@ -35,7 +35,8 @@ struct SkBitmapProcInfo {
const SkBitmapProvider fProvider;
SkPixmap fPixmap;
- SkMatrix fInvMatrix; // copy of what is in fBMState, can we remove the dup?
+ SkMatrix fInvMatrix; // This changes based on tile mode.
+ SkMatrix fRealInvMatrix; // The actual inverse matrix.
f(malita) 2016/03/22 20:55:26 Do we actually need/use the fInvMatrix adjustment
herb_g 2016/03/22 21:10:40 I'll add a todo to clean this up.
SkColor fPaintColor;
SkShader::TileMode fTileModeX;
SkShader::TileMode fTileModeY;

Powered by Google App Engine
This is Rietveld 408576698