diff options
author | Dan Stoza <stoza@google.com> | 2014-04-11 17:57:11 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-04-11 17:57:12 +0000 |
commit | fd34b65f717b84fa06d8c37f41b070f41d0ad3a3 (patch) | |
tree | 80315086e606f5184add4bab55c28e7687ccc931 /services/surfaceflinger/MonitoredProducer.h | |
parent | 88a34b2f4351fe58b042f11af08ffd967ef7ce4c (diff) | |
parent | f0eaf25e9247edf4d124bedaeb863f7abdf35a3e (diff) | |
download | frameworks_native-fd34b65f717b84fa06d8c37f41b070f41d0ad3a3.zip frameworks_native-fd34b65f717b84fa06d8c37f41b070f41d0ad3a3.tar.gz frameworks_native-fd34b65f717b84fa06d8c37f41b070f41d0ad3a3.tar.bz2 |
Merge "BufferQueue: Add producer buffer-released callback"
Diffstat (limited to 'services/surfaceflinger/MonitoredProducer.h')
-rw-r--r-- | services/surfaceflinger/MonitoredProducer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/MonitoredProducer.h b/services/surfaceflinger/MonitoredProducer.h index 7ac6f06..1e6431e 100644 --- a/services/surfaceflinger/MonitoredProducer.h +++ b/services/surfaceflinger/MonitoredProducer.h @@ -21,7 +21,7 @@ namespace android { -class IBinder; +class IProducerListener; class NativeHandle; class SurfaceFlinger; @@ -45,7 +45,7 @@ public: QueueBufferOutput* output); virtual void cancelBuffer(int slot, const sp<Fence>& fence); virtual int query(int what, int* value); - virtual status_t connect(const sp<IBinder>& token, int api, + virtual status_t connect(const sp<IProducerListener>& token, int api, bool producerControlledByApp, QueueBufferOutput* output); virtual status_t disconnect(int api); virtual status_t setSidebandStream(const sp<NativeHandle>& stream); |