summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Fan Xu <fanxu@google.com> 2018-12-18 14:03:44 -0800
committer Tianyu Jiang <tianyuj@google.com> 2019-01-11 18:27:24 +0000
commit6b4b1e5b1f7ad32dcadc49a2455370003b20897a (patch)
tree377acdeab5d3875fcd765b5e31e546272421cf99 /vulkan/libvulkan/api.cpp
parente8f659786f12a6dc54e1d8739b7e9681314617b3 (diff)
Change bufferhub's bufferId to int
After discussion we decided that our new system should still use int as type of buffer id. Now the Id generator will generate int ids >= 0 instead of uint32_t ids > 0. Remove redundant log in destructor of BufferNode, now only log when freeId failed. Update BufferHubIdGenerator_test.cpp to fit in current API. Add code to cleanup generated ids in TestGenerateUniqueIncrementalID. Test: BufferHubServer_test Change-Id: I2018bfd009a3c311a99b9114762d0f4fbf1e3fe2 Fix: 118844348
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions