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

Unified Diff: gm/pictureshader.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
« no previous file with comments | « no previous file | gm/pictureshadertile.cpp » ('j') | include/core/SkShader.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/pictureshader.cpp
diff --git a/gm/pictureshader.cpp b/gm/pictureshader.cpp
index 8b26e48663b8339f750752a7478eb105645da0ea..fdbf5def385f3ee3f80747b7d53e7b204cd95d02 100644
--- a/gm/pictureshader.cpp
+++ b/gm/pictureshader.cpp
@@ -135,6 +135,7 @@ private:
fPicture,
kTileConfigs[tileMode].tmx,
kTileConfigs[tileMode].tmy,
+ NULL,
&localMatrix));
paint.setShader(pictureShader.get());
canvas->drawRect(SkRect::MakeWH(fSceneSize, fSceneSize), paint);
« no previous file with comments | « no previous file | gm/pictureshadertile.cpp » ('j') | include/core/SkShader.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698