diff options
author | Mathias Agopian <mathias@google.com> | 2012-07-24 20:43:54 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-07-24 20:43:54 -0700 |
commit | 8b33f032327f8de0dcc0e6d0d43ed80f834b51f6 (patch) | |
tree | d6228a0088740fe5f5c73f405f353bffd121bbae /include/gui | |
parent | 921e6ac4b7610a178285898d191eb0e3afe906c0 (diff) | |
download | frameworks_native-8b33f032327f8de0dcc0e6d0d43ed80f834b51f6.zip frameworks_native-8b33f032327f8de0dcc0e6d0d43ed80f834b51f6.tar.gz frameworks_native-8b33f032327f8de0dcc0e6d0d43ed80f834b51f6.tar.bz2 |
update SF binder protocol to support setting display attributes
no change of functionality -- the old behavior is implemented
on top of this new protocol.
this new protocol will allow, eventually, to pass informations
about displays and layer stacks.
Change-Id: Ic6c2295e61ec8ecbc8ce01ab7664e35d928202fc
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/ISurfaceComposer.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/gui/ISurfaceComposer.h b/include/gui/ISurfaceComposer.h index 6f4be09..de1d65d 100644 --- a/include/gui/ISurfaceComposer.h +++ b/include/gui/ISurfaceComposer.h @@ -34,6 +34,7 @@ namespace android { // ---------------------------------------------------------------------------- class ComposerState; +class DisplayState; class IDisplayEventConnection; class IMemoryHeap; @@ -104,8 +105,10 @@ public: virtual sp<IMemoryHeap> getCblk() const = 0; /* open/close transactions. requires ACCESS_SURFACE_FLINGER permission */ - virtual void setTransactionState(const Vector<ComposerState>& state, - int orientation, uint32_t flags) = 0; + virtual void setTransactionState( + const Vector<ComposerState>& state, + const Vector<DisplayState>& displays, + uint32_t flags) = 0; /* signal that we're done booting. * Requires ACCESS_SURFACE_FLINGER permission |