diff options
| author | 2013-07-20 01:02:47 +0000 | |
|---|---|---|
| committer | 2013-07-20 01:02:47 +0000 | |
| commit | bdce8170479d0efb548514c1a290e1bfea711cfd (patch) | |
| tree | 7cd97ee1e8d8842e3d229a531975f43f4502c75e /include/gui/ConsumerBase.h | |
| parent | e5bb2a45e0861c7ed953373f86afe44f255f021c (diff) | |
| parent | 26a6f37cc06b8014edcedbee8d5558ca7da9abe3 (diff) | |
Merge changes Ic45929f3,Ic63f4f96,I1e703d36,I691f9507
* changes:
make sure to reset the framenumber when a buffer is marked FREE
Make ANW.setSwapInterval(0) work again
BuffferQueue disconnect is now always asynchrnous
BufferQueue improvements and APIs changes
Diffstat (limited to 'include/gui/ConsumerBase.h')
| -rw-r--r-- | include/gui/ConsumerBase.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gui/ConsumerBase.h b/include/gui/ConsumerBase.h index 42b84cc7ce..7b58bc5bb1 100644 --- a/include/gui/ConsumerBase.h +++ b/include/gui/ConsumerBase.h @@ -87,7 +87,9 @@ protected: // ConsumerBase constructs a new ConsumerBase object to consume image // buffers from the given BufferQueue. - ConsumerBase(const sp<BufferQueue> &bufferQueue); + // The controlledByApp flag indicates that this consumer is under the application's + // control. + ConsumerBase(const sp<BufferQueue> &bufferQueue, bool controlledByApp = false); // onLastStrongRef gets called by RefBase just before the dtor of the most // derived class. It is used to clean up the buffers so that ConsumerBase |