commit | 7ee640b84108c86b3fe998b8478f3b7acd7f6cfe | [log] [tgz] |
---|---|---|
author | Tom Finegan <tomfinegan@google.com> | Tue Apr 28 19:25:34 2015 |
committer | Tom Finegan <tomfinegan@google.com> | Tue Apr 28 19:25:34 2015 |
tree | 7e437ad582b1933bcd8f2283f07f02315f7108e5 | |
parent | 8ac0b529a8c377e297680f983cc4f41774508b25 [diff] |
Share buffers between data sinks. Instead of copying the data out of the shared_ptr into a BufferQueue, use SharedBufferQueue (which is a std::queue of std::shared_ptr) within each sink to hold a reference on the original sink input buffer. Change-Id: I45a69129aa07330003665d7cee90738cba02c0af