diff options
| author | 2018-11-01 12:22:05 -0700 | |
|---|---|---|
| committer | 2018-11-13 15:19:18 -0800 | |
| commit | 93c9490762bf8908bb6e15b343c8d65f893af4e5 (patch) | |
| tree | ceac23bad8275a8eb65e3dcc92013c89b7212eb5 /vulkan/libvulkan/api.cpp | |
| parent | e0b91f35241aee8d0b839c214a83a3439d3603b7 (diff) | |
Implement allocateBuffer for BufferHubService
Return ALLOCATION_FAILED when failed to create BufferNode, NO_ERROR on
success.
Allocation and memory management logics are in BufferNode, and enforced
via the shared_ptr and clientList. Memcpy is used to convert between
AHardwareBuffer_Desc and HardwareBufferDescription (i.e. hidl_vec).
Test: BufferHubBuffer_test (passed)
Change-Id: I5e17aa7330c5f94656e62dc4bea8ab6c705ab7a4
Fix: 118614333
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions