summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/Layer.h
diff options
context:
space:
mode:
authorRuben Brunk <rubenbrunk@google.com>2014-06-27 15:51:55 -0700
committerRuben Brunk <rubenbrunk@google.com>2014-07-14 22:14:32 +0000
commit1681d95989271f3a9ac0dbb93d10e4a29f2b4444 (patch)
tree52e23db3604b9b52d3f4d62324f279cb8942de69 /services/surfaceflinger/Layer.h
parentf3381cf1a645f857dccad9a4369ae23054e9d7d4 (diff)
downloadframeworks_native-1681d95989271f3a9ac0dbb93d10e4a29f2b4444.zip
frameworks_native-1681d95989271f3a9ac0dbb93d10e4a29f2b4444.tar.gz
frameworks_native-1681d95989271f3a9ac0dbb93d10e4a29f2b4444.tar.bz2
Add sticky transform to surfaceflinger.
Bug: 15116722 - Adds a sticky transform field that can be set from a SurfaceFlinger client Surface. This transform is added to any transform applied to the Surface. Change-Id: Idaa4311dfd027b2d2b8ea5e2c6cba2da5779d753
Diffstat (limited to 'services/surfaceflinger/Layer.h')
-rw-r--r--services/surfaceflinger/Layer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/surfaceflinger/Layer.h b/services/surfaceflinger/Layer.h
index ee9f8a0..2d8084d 100644
--- a/services/surfaceflinger/Layer.h
+++ b/services/surfaceflinger/Layer.h
@@ -339,6 +339,9 @@ private:
void drawWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip,
bool useIdentityTransform) const;
+ // Temporary - Used only for LEGACY camera mode.
+ uint32_t getProducerStickyTransform() const;
+
// -----------------------------------------------------------------------