diff options
author | Dan Stoza <stoza@google.com> | 2015-03-02 22:12:37 -0800 |
---|---|---|
committer | Dan Stoza <stoza@google.com> | 2015-03-02 22:17:27 -0800 |
commit | f8e3c6b6d8051331f3d7d535635dfbb2c40ed1b9 (patch) | |
tree | 7341ffb986864518e6cdcf25128fd9c04208c7e0 /include/gui | |
parent | 123edd9f812c93973de923397f2a5cb6fdaa4135 (diff) | |
download | frameworks_native-f8e3c6b6d8051331f3d7d535635dfbb2c40ed1b9.zip frameworks_native-f8e3c6b6d8051331f3d7d535635dfbb2c40ed1b9.tar.gz frameworks_native-f8e3c6b6d8051331f3d7d535635dfbb2c40ed1b9.tar.bz2 |
Surface: Permit an IProducerListener on connect
This change allows clients of Surface to provide an IProducerListener
callback object to Surface::connect, which will be passed down to the
underlying IGraphicBufferProducer.
Change-Id: I5ea5229bf3a329bf02c6bd20e7247039c75d136b
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/Surface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gui/Surface.h b/include/gui/Surface.h index 98f4f4f..863f22b 100644 --- a/include/gui/Surface.h +++ b/include/gui/Surface.h @@ -157,6 +157,7 @@ protected: virtual int lockBuffer_DEPRECATED(ANativeWindowBuffer* buffer); + virtual int connect(int api, const sp<IProducerListener>& listener); virtual int connect(int api); virtual int disconnect(int api); virtual int setBufferCount(int bufferCount); |