OSDN Git Service

libgui: Plumb attach/detach through Surface
authorDan Stoza <stoza@google.com>
Wed, 11 Mar 2015 18:55:01 +0000 (11:55 -0700)
committerDan Stoza <stoza@google.com>
Mon, 16 Mar 2015 20:02:01 +0000 (13:02 -0700)
commitc14ecb9de243af8864610fd3c74342e3ca2cb4bc
tree22776832a72ef2d4832e14b395745edaa7d3dd99
parent35283ef01b53c6fce3be11158100dd950780f19e
libgui: Plumb attach/detach through Surface

Exposes the attachBuffer and detachNextBuffer calls from
IGraphicBufferProducer to the public Surface interface. Also moves
the version of connect that takes a producer callback from protected
to public.

Bug: 19628705
Change-Id: I9ebc3013c4d9c84c4e8ef150c00e03f8af80319e
include/gui/Surface.h
libs/gui/Surface.cpp