aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private
diff options
context:
space:
mode:
authorGravatar vjiaoblack <vjiaoblack@google.com>2016-07-13 08:35:40 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-13 08:35:41 -0700
commit1185d90c785f743364cc9113d7007a59af07470c (patch)
tree56a87c2ecaa00b526aef1cb9f47589539ac469a4 /include/private
parent0abddf7bb7f77b1ff6a48efc9d1eafd053d975d2 (diff)
Added the framework for having canvas/recorder/picture record depth_set's.
Diffstat (limited to 'include/private')
-rw-r--r--include/private/SkRecords.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/private/SkRecords.h b/include/private/SkRecords.h
index 9ec2d2116c..35adca20e7 100644
--- a/include/private/SkRecords.h
+++ b/include/private/SkRecords.h
@@ -47,6 +47,7 @@ namespace SkRecords {
M(Save) \
M(SaveLayer) \
M(SetMatrix) \
+ M(TranslateZ) \
M(Concat) \
M(ClipPath) \
M(ClipRRect) \
@@ -218,6 +219,8 @@ RECORD(SetMatrix, 0,
RECORD(Concat, 0,
TypedMatrix matrix);
+RECORD(TranslateZ, 0, SkScalar z);
+
struct RegionOpAndAA {
RegionOpAndAA() {}
RegionOpAndAA(SkRegion::Op op, bool aa) : op(op), aa(aa) {}