aux/trace: more effectively unwrap pipe_context params from screen functions
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 6 May 2021 21:06:09 +0000 (17:06 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sat, 22 May 2021 12:37:57 +0000 (12:37 +0000)
commita1c7279a7f151fc8df621889f5f32641933eca50
treed098d3a8609c2c5ee80bba71b337a95a039ec9a2
parent4a54cb49d9875c94e68f9c27d04f43f5d871995c
aux/trace: more effectively unwrap pipe_context params from screen functions

when using tc, these are the threaded context, not the trace context

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