diff options
author | Dan Stoza <stoza@google.com> | 2015-04-02 13:48:15 -0700 |
---|---|---|
committer | Dan Stoza <stoza@google.com> | 2015-04-02 13:48:15 -0700 |
commit | 921d1d7a61f527b7bbf42e9ba46bd92342cc7c99 (patch) | |
tree | fb87ec51d61e981b1064b5b215d9b38419b1678d /include/gui | |
parent | f386c961eac36ff1d37b5c448905305b7473e0b1 (diff) | |
download | frameworks_native-921d1d7a61f527b7bbf42e9ba46bd92342cc7c99.zip frameworks_native-921d1d7a61f527b7bbf42e9ba46bd92342cc7c99.tar.gz frameworks_native-921d1d7a61f527b7bbf42e9ba46bd92342cc7c99.tar.bz2 |
Revert "libgui: Plumb attach/detach through CpuConsumer"
This reverts commit 20c5672883796c0dedf38f51dc2fc6f140b09ae6.
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/CpuConsumer.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/gui/CpuConsumer.h b/include/gui/CpuConsumer.h index 0e3e1ec..c99ab29 100644 --- a/include/gui/CpuConsumer.h +++ b/include/gui/CpuConsumer.h @@ -114,20 +114,6 @@ class CpuConsumer : public ConsumerBase // lockNextBuffer. status_t unlockBuffer(const LockedBuffer &nativeBuffer); - // Gets the next buffer from the producer (if any), and transfers ownership - // of it from the queue to the caller. - // - // See IGraphicBufferConsumer::{acquireBuffer,detachBuffer} for possible - // error codes. - status_t detachNextBuffer(BufferItem* outItem); - - // Transfers ownership of the buffer from the caller to the queue, and - // releases the buffer for use by the producer. - // - // See IGraphicBufferConsumer::{attachBuffer,releaseBuffer} for possible - // error codes. - status_t attachAndReleaseBuffer(const sp<GraphicBuffer>& buffer); - private: // Maximum number of buffers that can be locked at a time size_t mMaxLockedBuffers; |