summaryrefslogtreecommitdiff
path: root/libs/hwui/Snapshot.cpp
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2014-05-09 16:11:14 -0700
committer Chris Craik <ccraik@google.com> 2014-05-09 16:11:14 -0700
commit0c0ec26366045e515790a6acdab782965efc63b4 (patch)
treee33da53a3d1082d9e1bc242ca7995b975a93c887 /libs/hwui/Snapshot.cpp
parentf992066731fb27a6d9fc8bae673c638093610292 (diff)
Simplify projection matrix management.
Store in and use from snapshot, and remove the kFlagOrthoDirty flag, as it's redundant with kFlagIsFboLayer. Change-Id: I2bd380192d50117f4ce1fd2058213669a886f406
Diffstat (limited to 'libs/hwui/Snapshot.cpp')
-rw-r--r--libs/hwui/Snapshot.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Snapshot.cpp b/libs/hwui/Snapshot.cpp
index 6bfa2033f8fc..b2df86fd1a22 100644
--- a/libs/hwui/Snapshot.cpp
+++ b/libs/hwui/Snapshot.cpp
@@ -55,6 +55,7 @@ Snapshot::Snapshot(const sp<Snapshot>& s, int saveFlags)
, empty(false)
, viewport(s->viewport)
, height(s->height)
+ , orthoMatrix(s->orthoMatrix)
, alpha(s->alpha) {
if (saveFlags & SkCanvas::kMatrix_SaveFlag) {