Skip to content

server: fine tune pre-init

Chia-I Wu requested to merge olv/virglrenderer:vkr-pre-init into master

Pre-init virglrenderer only when tracing is disabled, otherwise perfetto might get confused. Do a vkEnumerateInstanceExtensionProperties to preload Vulkan ICDs.

"time for i in seq 100; do vulkaninfo > /dev/null; done" goes from 0m5.895s to 0m5.535s.

/cc @zzyiwei @ryanneph

Merge request reports