gamescope/layer/VkLayer_FROG_gamescope_wsi.json.in
Joshua Ashton 1bb7ef50ba layer: Implement VK_GOOGLE_display_timing + present wait/id for nested
Required a decent refactor of the protocol to be more swapchain based.

Tested with Dota 2 + `-vulkan -vulkan_enable_google_display_timing`

Should hopefully improve latency/pacing in nested a good amount too.
2023-09-25 22:20:43 -07:00

30 lines
932 B
JSON

{
"file_format_version" : "1.0.0",
"layer" : {
"name": "VK_LAYER_FROG_gamescope_wsi_@family@",
"type": "GLOBAL",
"api_version": "1.3.221",
"library_path": "@lib_dir@/libVkLayer_FROG_gamescope_wsi_@family@.so",
"implementation_version": "1",
"description": "Gamescope WSI (XWayland Bypass) Layer (@family@)",
"functions": {
"vkNegotiateLoaderLayerInterfaceVersion": "vkNegotiateLoaderLayerInterfaceVersion"
},
"device_extensions": [
{
"name" : "VK_GOOGLE_display_timing",
"spec_version" : "1",
"entrypoints": [
"vkGetPastPresentationTimingGOOGLE",
"vkGetRefreshCycleDurationGOOGLE"
]
}
],
"enable_environment": {
"ENABLE_GAMESCOPE_WSI": "1"
},
"disable_environment": {
"DISABLE_GAMESCOPE_WSI": "1"
}
}
}