summaryrefslogtreecommitdiff
path: root/libs/hwui/Matrix.h
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2013-09-17 18:56:18 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2013-09-17 18:56:18 -0700
commite08e6632294143f889ab68f0c3453ee6802dc60e (patch)
tree95d6cf6296ab180504dd65c1457ec6e445abde10 /libs/hwui/Matrix.h
parentcd93486d20a22832b5c831f9235cb991ec6dd31d (diff)
parent7cb404dda770da24aaf1b484d6575d5480cf080f (diff)
am 7cb404dd: am a42ceb03: Merge "Disallow negative scale matrices in merged Bitmap drawing" into klp-dev
* commit '7cb404dda770da24aaf1b484d6575d5480cf080f': Disallow negative scale matrices in merged Bitmap drawing
Diffstat (limited to 'libs/hwui/Matrix.h')
-rw-r--r--libs/hwui/Matrix.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/hwui/Matrix.h b/libs/hwui/Matrix.h
index 5116203e3b5a..e2c5b2088e7a 100644
--- a/libs/hwui/Matrix.h
+++ b/libs/hwui/Matrix.h
@@ -64,7 +64,8 @@ public:
kTypeAffine = 0x4,
kTypePerspective = 0x8,
kTypeRectToRect = 0x10,
- kTypeUnknown = 0x20,
+ kTypePositiveScale = 0x20,
+ kTypeUnknown = 0x40,
};
static const int sGeometryMask = 0xf;
@@ -183,6 +184,7 @@ public:
bool isIdentity() const;
bool isPerspective() const;
bool rectToRect() const;
+ bool positiveScale() const;
bool changesBounds() const;