aux/trace: add screen deduplication for zink+lavapipe tracing
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 6 Apr 2021 14:07:49 +0000 (10:07 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 7 Apr 2021 21:48:37 +0000 (21:48 +0000)
commitc1270d4845d39939d6a7d3b1b81e0d2f9e33133d
tree762164c10e130843c8948e0f1d33fbffc3432dea
parentf89c8ba4101fb6a74ec61a43d1def8973e9f0849
aux/trace: add screen deduplication for zink+lavapipe tracing

if zink+lavapipe is enabled at compile-time, special handling is needed
to ensure that only the intended screen is traced, otherwise malformed
xml will be generated

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10059>
src/gallium/auxiliary/driver_trace/tr_screen.c
src/gallium/auxiliary/meson.build