Reland: vulkan: enable the possibility of using vulkan c++ binding
> vulkan: enable the possibility of using vulkan c++ binding > > The vulkan.hpp is included in the upstream Khronos vulkan headers > package. It is a vulkan c++ binding generated from vulkan registry. > It is implemented with c++ template in a single header file. > > This change updates gpu::VulkanFunctionPointers to make it compatible > with vulkan.hpp, and adds vulkan_cxx.h which setups several necessary > macros before including <vulkan/vulkan.hpp>. So any code wants to use > vulkan c++ binding just needs to include vulkan_cxx.h. > > This change also adds a test for the vulkan c++ binding. > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2198140 > Commit-Queue: Peng Huang <penghuang@chromium.org> > Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> > Cr-Commit-Position: refs/heads/master@{#770361} > > Bug: None TBR=vasilyt@chromium.org Change-Id: I7cc5d85130ea5fa852b8a9e6b87c59fb30396075 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2209647Reviewed-by:Peng Huang <penghuang@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#770462}
Showing
gpu/vulkan/vulkan_cxx.h
0 → 100644
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment