vulkan/overlay: Add support for a control socket.
[mesa.git] / src / vulkan / overlay-layer / README
1 A Vulkan layer to display information about the running application
2 using an overlay.
3
4 To turn on the layer run :
5
6 VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay /path/to/my_vulkan_app
7
8 List the available statistics :
9
10 VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay VK_LAYER_MESA_OVERLAY_CONFIG=help /path/to/my_vulkan_app
11
12 Turn on some statistics :
13 VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay VK_LAYER_MESA_OVERLAY_CONFIG=submit,draw,pipeline_graphics /path/to/my_vulkan_app
14
15 Position the layer :
16
17 VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay VK_LAYER_MESA_OVERLAY_CONFIG=submit,draw,pipeline_graphics,position=top-right /path/to/my_vulkan_app