OSDN Git Service

libgui: Plumb attach/detach through CpuConsumer
authorDan Stoza <stoza@google.com>
Mon, 16 Mar 2015 19:58:45 +0000 (12:58 -0700)
committerDan Stoza <stoza@google.com>
Mon, 16 Mar 2015 19:58:45 +0000 (12:58 -0700)
commit43078e2827211139f0614719c920f3c5bff6c3fa
tree7722393019d2680db479613255fdcf2f2a137b80
parent54716317b5752010134edc64421a3f492bd608ab
libgui: Plumb attach/detach through CpuConsumer

Adds CpuConsumer::{detachNextBuffer,attachAndReleaseBuffer}, which
can be used to more carefully manage the ownership of GraphicBuffers.

Bug: 19628705
Change-Id: Ia7aa1ac59c2f768f2d8a0f35ad23067936a7427c
include/gui/CpuConsumer.h
libs/gui/BufferQueueConsumer.cpp
libs/gui/CpuConsumer.cpp