mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 08:48:07 +02:00
This modifies gfxstream to use standard Vulkan headers, and updates to 1.3.269. Previously, the headers were mostly standard, but added in vk_android_native_buffer into vulkan_core.h. That breaks down when using auto-gen scripts from outside gfxstream, which will happen in a subsequent patchset. For vk_native_buffer_android, we can simply provide a vk_android_native_buffer_gfxstream.h. Long-term, vk_native_buffer_android.h should be deprecated in favor of VK_ANDROID_external_memory_android_hardware_buffer, in Android's libvulkan and elsewhere. For the Vulkan headers, the new procedure is generate them in the directions found here in the following repos: https://github.com/KhronosGroup/Vulkan-Headers https://github.com/KhronosGroup/Vulkan-Hpp Those headers can be copied over using cp. For gfxstream encoder + decoders, that's still generated via ./generate-gfxstream-vulkan.sh The only catch is you must use the same vk.xml for Vulkan-Headers, Vulkan-Hpp, and for the cereal generator. The recommended flow is use whatever the xml is in Vulkan-Headers ToT and copy to Vulkan-Hpp and cerealgenerator.py before running those scripts. The End2End tests that relied on vk_android_native_buffer were also modified. Long-term, the AHB extension could be used instead of ANB for tests. Reviewed-by: Aaron Ruby <aruby@blackberry.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246> |
||
|---|---|---|
| .. | ||
| codegen | ||
| guest | ||