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

Unified Diff: src/core/SkShader.cpp

Issue 437393003: Explicit tile bounds for SkPictureShader (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Make tile param non-optional + more documentation. Created 6 years, 4 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/SkShader.cpp
diff --git a/src/core/SkShader.cpp b/src/core/SkShader.cpp
index d533cd69b42208b4d5c170d73e055a44f7821eb2..bba4c6cb5def1b5408718ebdfe6d025b603390ce 100644
--- a/src/core/SkShader.cpp
+++ b/src/core/SkShader.cpp
@@ -228,8 +228,8 @@ SkShader* SkShader::CreateBitmapShader(const SkBitmap& src, TileMode tmx, TileMo
}
SkShader* SkShader::CreatePictureShader(SkPicture* src, TileMode tmx, TileMode tmy,
- const SkMatrix* localMatrix) {
- return SkPictureShader::Create(src, tmx, tmy, localMatrix);
+ const SkRect* tile, const SkMatrix* localMatrix) {
+ return SkPictureShader::Create(src, tmx, tmy, tile, localMatrix);
}
#ifndef SK_IGNORE_TO_STRING

Powered by Google App Engine
This is Rietveld 408576698