vulkan-wsi-layer/layer/VkLayer_window_system_integration.json
Iason Paraskevopoulos 8dc4d923ff Adds initial support for VK_KHR_wayland_surface.
Very basic Wayland support is implemented by importing
memory with VK_EXT_image_drm_format_modifiers.
The current implementation requires an external system
memory allocator. An API for this allocator is defined
in util/wsialloc/wsialloc.h and an implementation using
the ION memory allocator is included.

Outstanding issues:
 * This is an initial prototype for Wayland support and
   has many outstanding TODOs which need addressing to
   properly use the Wayland protocol.
 * Using ICD Exported memory instead of a system allocator
   is not implemented.

Wayland support is still experimental and outstanding issues
will be fixed in future commits.

Change-Id: I1b0d5991e15ff1cf25ebbab3392a631b021e8c17
Signed-off-by: Rosen Zhelev <rosen.zhelev@arm.com>
Signed-off-by: Iason Paraskevopoulos <iason.paraskevopoulos@arm.com>
2021-02-09 18:22:09 +00:00

35 lines
1.2 KiB
JSON

{
"file_format_version" : "1.1.2",
"layer" : {
"name": "VK_LAYER_window_system_integration",
"type": "GLOBAL",
"library_path": "./libVkLayer_window_system_integration.so",
"api_version": "1.0.68",
"implementation_version": "1",
"description": "Window system integration layer",
"functions": {
"vkGetInstanceProcAddr": "wsi_layer_vkGetInstanceProcAddr",
"vkGetDeviceProcAddr": "wsi_layer_vkGetDeviceProcAddr"
},
"pre_instance_functions" : {
"vkEnumerateInstanceExtensionProperties" : "wsi_layer_vkEnumerateInstanceExtensionProperties"
},
"instance_extensions": [
{"name" : "VK_EXT_headless_surface", "spec_version" : "1"},
{"name" : "VK_KHR_wayland_surface", "spec_version" : "1"},
{"name" : "VK_KHR_surface", "spec_version" : "1"}
],
"device_extensions": [
{
"name" : "VK_KHR_swapchain",
"spec_version" : "1"
}
],
"enable_environment": {
"ENABLE_WSI_LAYER": "1"
},
"disable_environment": {
"DISABLE_WSI_LAYER": "1"
}
}
}