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

Unified Diff: include/core/SkShader.h

Issue 808703006: remove view matrix from context (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: cleanups 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
Index: include/core/SkShader.h
diff --git a/include/core/SkShader.h b/include/core/SkShader.h
index 8018cd44fff37dfa9858d6e6c0d31cf39e2cb895..3989d900828fbf61f35b590bfb1ac6b703ea82ae 100644
--- a/include/core/SkShader.h
+++ b/include/core/SkShader.h
@@ -385,8 +385,8 @@ public:
* The GrContext may be used by the effect to create textures. The GPU device does not
* call createContext. Instead we pass the SkPaint here in case the shader needs paint info.
*/
- virtual bool asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix*, GrColor*,
- GrFragmentProcessor**) const;
+ virtual bool asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix& viewM,
bsalomon 2014/12/17 17:12:33 Need to update comments to reflect these changes.
joshualitt 2014/12/17 19:19:58 :( I actually have no idea what the second matrix
+ const SkMatrix*, GrColor*, GrFragmentProcessor**) const;
/**
* If the shader can represent its "average" luminance in a single color, return true and

Powered by Google App Engine
This is Rietveld 408576698