util/perf: Add gpuvis integration.

Initial integration, still needs the init functions to be changed
across the codebase.

For the context usage https://github.com/mikesart/gpuvis/pull/82 is
needed to display it correctly in gpuvis.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22505>
This commit is contained in:
Bas Nieuwenhuizen
2023-04-14 14:07:40 +02:00
parent ff3db3e6cf
commit 11198951e6
7 changed files with 944 additions and 6 deletions

View File

@@ -582,6 +582,13 @@ option(
'Default: [`auto`]'
)
option(
'gpuvis',
type : 'boolean',
value : false,
description : 'Enable tracing markers for gpuvis. Default: false'
)
option(
'custom-shader-replacement',
type : 'string',