diff options
author | Mathias Agopian <mathias@google.com> | 2013-02-28 17:12:07 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2013-02-28 18:43:04 -0800 |
commit | 3da1672acbe6a84f1d69f1e21096115c60826aea (patch) | |
tree | c7b7fee89740714b0a8e61290db1cc069e02ac8d /services/surfaceflinger/Transform.h | |
parent | a8bca8d84b559e7dcca010f7d6514333004020c7 (diff) | |
download | frameworks_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.h | 2 |
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; |