summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/Transform.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-02-28 17:12:07 -0800
committerMathias Agopian <mathias@google.com>2013-02-28 18:43:04 -0800
commit3da1672acbe6a84f1d69f1e21096115c60826aea (patch)
treec7b7fee89740714b0a8e61290db1cc069e02ac8d /services/surfaceflinger/Transform.h
parenta8bca8d84b559e7dcca010f7d6514333004020c7 (diff)
downloadframeworks_native-3da1672acbe6a84f1d69f1e21096115c60826aea.zip
frameworks_native-3da1672acbe6a84f1d69f1e21096115c60826aea.tar.gz
frameworks_native-3da1672acbe6a84f1d69f1e21096115c60826aea.tar.bz2
implement display projection clipping in h/w composer
- cropping to the projection's "viewport" is "simply" accomplished by intersecting it with the window crop expressed in layerstack space. Bug: 7149437 Change-Id: I0e90b3f37945292314b5d78a8f134935967e8053
Diffstat (limited to 'services/surfaceflinger/Transform.h')
-rw-r--r--services/surfaceflinger/Transform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/surfaceflinger/Transform.h b/services/surfaceflinger/Transform.h
index 4fe261a..c4efade 100644
--- a/services/surfaceflinger/Transform.h
+++ b/services/surfaceflinger/Transform.h
@@ -80,6 +80,8 @@ public:
Rect transform(const Rect& bounds) const;
Transform operator * (const Transform& rhs) const;
+ Transform inverse() const;
+
// for debugging
void dump(const char* name) const;