commit | 94a2c0ecd4537c52e6b4a3ef9d119dce44627ca8 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Wed Apr 13 10:20:59 2016 +0800 |
committer | Chia-I Wu <olv@google.com> | Thu Apr 14 04:48:45 2016 +0800 |
tree | b4428370b3b06abf650f19fc305f7fd17d008420 | |
parent | 7fcd744c42c91eab5210df2080b0a7a6b5838f68 [diff] |
vulkan: pass VK_LAYER_FUNCTION_DATA_CALLBACK to layers VK_LAYER_FUNCTION_DATA_CALLBACK effectively allows us to pass driver::SetDataInternal to layers. It will be called on handles of potentially unknown types. Add two internal types VK_DEFINE_HANDLE(InstanceDispatchable) VK_DEFINE_HANDLE(DeviceDispatchable) in driver namespace for type safety. Bug: 28015368 Change-Id: I7389829a7d8c374197cd7046973777b49e436961