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:
@@ -2080,6 +2080,11 @@ if with_perfetto
|
||||
pre_args += '-DHAVE_PERFETTO'
|
||||
endif
|
||||
|
||||
with_gpuvis = get_option('gpuvis')
|
||||
if with_gpuvis
|
||||
pre_args += '-DHAVE_GPUVIS'
|
||||
endif
|
||||
|
||||
add_project_arguments(pre_args, language : ['c', 'cpp'])
|
||||
add_project_arguments(c_cpp_args, language : ['c', 'cpp'])
|
||||
|
||||
|
Reference in New Issue
Block a user