commit | 13c1b9649ae946275ac77a3a14b316bdfa60c2af | [log] [tgz] |
---|---|---|
author | Florin Malita <fmalita@chromium.org> | Thu Jan 10 14:44:59 2019 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Jan 10 20:12:37 2019 +0000 |
tree | 5a58f57db070edfc96f20fd1798564465edb2d72 | |
parent | e5f9cfad7b087451650156e7fb3734f65a959785 [diff] [blame] |
[sksg] Add 3x3 Concat Transform specialization When both inputs are 3x3, use 3x3 Concat. TBR= Change-Id: Ife6a98792c2ed57a2a987fe5d0bdf265aeb64b0a Reviewed-on: https://skia-review.googlesource.com/c/182968 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Florin Malita <fmalita@chromium.org>
diff --git a/modules/sksg/src/SkSGGeometryTransform.cpp b/modules/sksg/src/SkSGGeometryTransform.cpp index f338236..2602a46 100644 --- a/modules/sksg/src/SkSGGeometryTransform.cpp +++ b/modules/sksg/src/SkSGGeometryTransform.cpp
@@ -37,7 +37,7 @@ // We don't care about matrix reval results. fTransform->revalidate(ic, ctm); - const auto m = TransformPriv::AsMatrix(fTransform); + const auto m = TransformPriv::As<SkMatrix>(fTransform); auto bounds = fChild->revalidate(ic, ctm); fTransformedPath = fChild->asPath();