Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index 99c29ee2e3549bfa6701d5d0304f213a833356f2..ec5771175436906f47071fdd51e1e0e97c6bd477 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -330,15 +330,19 @@ protected: |
static SkPixelGeometry AdjustGeometry(const SkImageInfo&, TileUsage, SkPixelGeometry); |
// The constructor may change the pixel geometry based on other parameters. |
- CreateInfo(const SkImageInfo& info, TileUsage tileUsage, SkPixelGeometry geo) |
+ CreateInfo(const SkImageInfo& info, |
+ TileUsage tileUsage, |
+ SkPixelGeometry geo, |
+ bool forImageFilter = false) |
: fInfo(info) |
, fTileUsage(tileUsage) |
, fPixelGeometry(AdjustGeometry(info, tileUsage, geo)) |
- {} |
+ , fForImageFilter(forImageFilter) {} |
const SkImageInfo fInfo; |
const TileUsage fTileUsage; |
const SkPixelGeometry fPixelGeometry; |
+ const bool fForImageFilter; |
}; |
/** |