From 8b33f032327f8de0dcc0e6d0d43ed80f834b51f6 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 24 Jul 2012 20:43:54 -0700 Subject: 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 --- include/gui/ISurfaceComposer.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/gui/ISurfaceComposer.h') diff --git a/include/gui/ISurfaceComposer.h b/include/gui/ISurfaceComposer.h index 6f4be096b7..de1d65dac7 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 getCblk() const = 0; /* open/close transactions. requires ACCESS_SURFACE_FLINGER permission */ - virtual void setTransactionState(const Vector& state, - int orientation, uint32_t flags) = 0; + virtual void setTransactionState( + const Vector& state, + const Vector& displays, + uint32_t flags) = 0; /* signal that we're done booting. * Requires ACCESS_SURFACE_FLINGER permission -- cgit v1.2.3-59-g8ed1b