diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2012-08-21 13:37:35 -0700 |
---|---|---|
committer | Eino-Ville Talvala <etalvala@google.com> | 2012-08-21 15:46:35 -0700 |
commit | e232fdca2a62dc5e81b550f5be8710e36174e7a6 (patch) | |
tree | 567431349bc9770cb9282a2633015cc5237407fa /libs/gui/Android.mk | |
parent | f57e7540d4cf799f18fe87d3536c55f1e0064931 (diff) | |
download | frameworks_native-e232fdca2a62dc5e81b550f5be8710e36174e7a6.zip frameworks_native-e232fdca2a62dc5e81b550f5be8710e36174e7a6.tar.gz frameworks_native-e232fdca2a62dc5e81b550f5be8710e36174e7a6.tar.bz2 |
Add BufferItemConsumer, a simple BufferQueue consumer.
BufferItemConsumer allows for acquiring BufferQueue's BufferItems,
which contain all the data and metadata the BufferQueue has for a
given graphics buffer.
This consumer is useful when direct access to the native buffer_handles
is needed by the client.
Also includes a minor cleanup of CpuConsumer's use of 'virtual'.
Bug: 6243944
Change-Id: If7dc4192b15ac499555f1eda42a85140f2434795
Diffstat (limited to 'libs/gui/Android.mk')
-rw-r--r-- | libs/gui/Android.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gui/Android.mk b/libs/gui/Android.mk index 3aa3a50..2bf363f 100644 --- a/libs/gui/Android.mk +++ b/libs/gui/Android.mk @@ -23,7 +23,8 @@ LOCAL_SRC_FILES:= \ Surface.cpp \ SurfaceComposerClient.cpp \ DummyConsumer.cpp \ - CpuConsumer.cpp + CpuConsumer.cpp \ + BufferItemConsumer.cpp LOCAL_SHARED_LIBRARIES := \ libbinder \ |