commit | e41b318bc4708e1dee9364e73215ff0d51fb76a1 | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Mon Apr 16 17:54:33 2012 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Mon May 14 18:04:01 2012 -0700 |
tree | 89c3d100e1d08cc687f77221721aac6e3a175e01 | |
parent | d58ae6f59483f986d693021f5895d6230af05d99 [diff] |
Add a BufferQueue CPU consumer. Aimed for use cases where gralloc buffers need to be consumed by CPU users, such as camera image data streams. The CpuConsumer is a synchronous queue, which exposes raw pointers to the underlying graphics buffers to applications. Multiple buffers may be acquired at once, up to the limit set at time of construction. Change-Id: If1d99f12471438e95a69696e40685948778055fd