vulkan: add an overlay layer

Graphics / Mesa 3D Graphics Library / Mesa - Lionel Landwerlin [intel.com] - 21 February 2019 18:06 EST

Just a starting point to display frame timings & drawcalls/submissions per frame.

20c370c6b16 vulkan: add an overlay layer
meson_options.txt | 6 +
src/vulkan/Makefile.am | 8 +
src/vulkan/meson.build | 3 +
src/vulkan/overlay-layer/README | 22 +
.../overlay-layer/VkLayer_MESA_overlay.json.in | 11 +
src/vulkan/overlay-layer/meson.build | 62 +
src/vulkan/overlay-layer/overlay.cpp | 1843 ++++++++++++++++++++
src/vulkan/overlay-layer/overlay.frag | 14 +
src/vulkan/overlay-layer/overlay.vert | 25 +
src/vulkan/overlay-layer/vk_layer_table.cpp | 146 ++
src/vulkan/overlay-layer/vk_layer_table.h | 51 +
11 files changed, 2191 insertions(+)

Upstream: cgit.freedesktop.org


  • Share