diff options
| author | 2015-06-30 11:26:13 -0400 | |
|---|---|---|
| committer | 2015-07-09 16:15:31 -0400 | |
| commit | ac7b6d33d23cb0baaf61c723346198d41f012035 (patch) | |
| tree | 9302223ad4dd2337f6e6b4524fe83032532c20a4 /libs/hwui/SkiaCanvas.cpp | |
| parent | 937edac8e8583023019b625dd426ebf65169e30d (diff) | |
New setLocalMatrix() operation for HWUI
Concats any matrix passed through from DisplayListCanvas with the
initialTransform of the containing RenderNode.
BUG:22189925
Change-Id: I5ea54a6e2a29520c79a8860bde7682694e8595d2
Diffstat (limited to 'libs/hwui/SkiaCanvas.cpp')
| -rw-r--r-- | libs/hwui/SkiaCanvas.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/SkiaCanvas.cpp b/libs/hwui/SkiaCanvas.cpp index 6cf66cd1484d..644a4f305a2e 100644 --- a/libs/hwui/SkiaCanvas.cpp +++ b/libs/hwui/SkiaCanvas.cpp @@ -67,6 +67,7 @@ public: virtual void getMatrix(SkMatrix* outMatrix) const override; virtual void setMatrix(const SkMatrix& matrix) override; + virtual void setLocalMatrix(const SkMatrix& matrix) override { this->setMatrix(matrix); } virtual void concat(const SkMatrix& matrix) override; virtual void rotate(float degrees) override; virtual void scale(float sx, float sy) override; |