diff options
author | 2015-05-14 06:36:52 -0700 | |
---|---|---|
committer | 2015-05-14 06:36:53 -0700 | |
commit | 35786b176c159d2e7a816e9da9b051ef3129d5cb (patch) | |
tree | be046722998ba6ab9b7be23af972dbc55c68a3a1 /include/core/SkCanvas.h | |
parent | 182b499cd75c971f85cdf52c1827b3c220cc9011 (diff) |
Implement support for non-scale/translate CTM in image filters.
Clone with tweaks of https://codereview.chromium.org/986623003/
pre-cl to guard chrome here: https://codereview.chromium.org/1133403003/
BUG=skia:3288
Review URL: https://codereview.chromium.org/1140943004
Diffstat (limited to 'include/core/SkCanvas.h')
-rw-r--r-- | include/core/SkCanvas.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index e7dac5e145..ac01fad6b2 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -1261,7 +1261,7 @@ private: enum { kMCRecSize = 128, // most recent measurement kMCRecCount = 8, // common depth for save/restores - kDeviceCMSize = 136, // most recent measurement + kDeviceCMSize = 176, // most recent measurement }; intptr_t fMCRecStorage[kMCRecSize * kMCRecCount / sizeof(intptr_t)]; intptr_t fDeviceCMStorage[kDeviceCMSize / sizeof(intptr_t)]; @@ -1285,6 +1285,7 @@ private: void doSave(); void checkForDeferredSave(); + void internalSetMatrix(const SkMatrix& matrix); friend class SkDrawIter; // needs setupDrawForLayerDevice() friend class AutoDrawLooper; |