commit | b08b72261ae14b76fc8bffe6ddd4cb344efdd34d | [log] [tgz] |
---|---|---|
author | Tianyu Jiang <tianyuj@google.com> | Fri Nov 16 17:55:26 2018 -0800 |
committer | Tianyu Jiang <tianyuj@google.com> | Tue Dec 11 01:38:48 2018 +0000 |
tree | ef3bf8d9889aebaf281f4761c5f11eee1dc8d302 | |
parent | 1a079e7fd15352b68a8c09a1ea9366cb68673b0f [diff] |
Implement changes of buffer state in Gain/Post/Acquire/Release methods in BufferHubBuffer. Create shortcuts to atomics in BufferHubBuffer; Implement changes of buffer state in the four usages of the buffer; Create 16 unit tests for the 16 buffer state transitions. Test: BufferHubBuffer_test Bug: 118718711 Change-Id: I2067cd141611e66732e28344f26d73f261072b8b