aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkCanvas.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-05-14 06:36:52 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-14 06:36:53 -0700
commit35786b176c159d2e7a816e9da9b051ef3129d5cb (patch)
treebe046722998ba6ab9b7be23af972dbc55c68a3a1 /include/core/SkCanvas.h
parent182b499cd75c971f85cdf52c1827b3c220cc9011 (diff)
Implement support for non-scale/translate CTM in image filters.
Diffstat (limited to 'include/core/SkCanvas.h')
-rw-r--r--include/core/SkCanvas.h3
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;