OSDN Git Service

libgui: Plumb detachBuffer through ConsumerBase
authorDan Stoza <stoza@google.com>
Fri, 3 Apr 2015 21:22:05 +0000 (14:22 -0700)
committerDan Stoza <stoza@google.com>
Tue, 7 Apr 2015 22:05:40 +0000 (15:05 -0700)
commit634f5ee6a713b3cf4086a2af8e9b56e76cba245f
tree0e7bac84fd1a5c0986f794e62957aa33e8700010
parent1cd030be59c108cde25234f0d2da83a68a7cdd26
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
include/gui/ConsumerBase.h
libs/gui/ConsumerBase.cpp