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

Unified Diff: include/core/SkImageFilter.h

Issue 1570133003: Fix SkTileImageFilter when srcRect is a superset of bitmap bounds. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Win32 fix Created 4 years, 11 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: include/core/SkImageFilter.h
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h
index 6ece16c84101d03efc37a3e6b78a18cc6a0de662..1d5bd9431fbeeafd84a7b526b32fd2031c964046 100644
--- a/include/core/SkImageFilter.h
+++ b/include/core/SkImageFilter.h
@@ -111,7 +111,7 @@ public:
public:
virtual ~Proxy() {}
- virtual SkBaseDevice* createDevice(int width, int height) = 0;
+ virtual SkBaseDevice* createDevice(int width, int height, bool tile = false) = 0;
reed1 2016/01/10 02:25:02 Does this mean "make the device tileable"? If so,
Stephen White 2016/01/11 16:20:30 Done.
// Returns true if the proxy handled the filter itself. If this returns
// false then the filter's code will be called.
@@ -124,7 +124,7 @@ public:
public:
DeviceProxy(SkBaseDevice* device) : fDevice(device) {}
- SkBaseDevice* createDevice(int width, int height) override;
+ SkBaseDevice* createDevice(int width, int height, bool tile = false) override;
// Returns true if the proxy handled the filter itself. If this returns
// false then the filter's code will be called.

Powered by Google App Engine
This is Rietveld 408576698