diff options
author | Dan Stoza <stoza@google.com> | 2015-04-03 14:22:05 -0700 |
---|---|---|
committer | Dan Stoza <stoza@google.com> | 2015-04-07 15:05:40 -0700 |
commit | 634f5ee6a713b3cf4086a2af8e9b56e76cba245f (patch) | |
tree | 0e7bac84fd1a5c0986f794e62957aa33e8700010 /include | |
parent | 1cd030be59c108cde25234f0d2da83a68a7cdd26 (diff) | |
download | frameworks_native-634f5ee6a713b3cf4086a2af8e9b56e76cba245f.zip frameworks_native-634f5ee6a713b3cf4086a2af8e9b56e76cba245f.tar.gz frameworks_native-634f5ee6a713b3cf4086a2af8e9b56e76cba245f.tar.bz2 |
libgui: Plumb detachBuffer through ConsumerBase
Exposes IGraphicBufferConsumer::detachBuffer as a ConsumerBase
method. attachBuffer is not currently exposed, because all current
clients will be recycling buffers through the allocator.
Bug: 19628705
Change-Id: I3e519767fa43d5d880c1d5695e31b60f6ad588af
Diffstat (limited to 'include')
-rw-r--r-- | include/gui/ConsumerBase.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gui/ConsumerBase.h b/include/gui/ConsumerBase.h index ef0feab..d56fa89 100644 --- a/include/gui/ConsumerBase.h +++ b/include/gui/ConsumerBase.h @@ -76,6 +76,9 @@ public: // when a new frame becomes available. void setFrameAvailableListener(const wp<FrameAvailableListener>& listener); + // See IGraphicBufferConsumer::detachBuffer + status_t detachBuffer(int slot); + private: ConsumerBase(const ConsumerBase&); void operator=(const ConsumerBase&); |