summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Chia-I Wu <olv@google.com> 2016-05-05 12:43:03 +0800
committer Chia-I Wu <olv@google.com> 2016-05-06 09:31:36 +0800
commita0d40aaf12435fe82bc9c1612dbe97ea2a60da31 (patch)
treeab48de5539223a95090209c06175920c57be90b5 /vulkan/libvulkan/api.cpp
parent0b546c408686e4353dfe4b3a12be1048b966944d (diff)
vulkan: refactor DebugReportCallbackList
Simplify DebugReportCallbackList to be a thread-safe list with three methods: - AddCallback adds a node to the list - RemoveCallback removes a node from the list - Message invokes each of the nodes on the list Add some static methods for Node* and VkDebugReportCallbackEXT conversions. Bug: 28120066 Change-Id: I109c6eff368cacb37508e2549dbd0b5dfa23bcb3
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions