ddebug: optionally handle transfer commands like draws

Graphics / Mesa 3D Graphics Library / Mesa - Nicolai Hähnle [amd.com] - 9 November 2017 13:01 EST

Transfer commands can have associated GPU operations.

Enabled by passing GALLIUM_DDEBUG=transfers.

b07569ad8b ddebug: optionally handle transfer commands like draws
src/gallium/drivers/ddebug/dd_context.c | 65 ---------
src/gallium/drivers/ddebug/dd_draw.c | 234 ++++++++++++++++++++++++++++++++
src/gallium/drivers/ddebug/dd_pipe.h | 46 +++++++
src/gallium/drivers/ddebug/dd_screen.c | 9 +-
4 files changed, 288 insertions(+), 66 deletions(-)

Upstream: cgit.freedesktop.org


  • Share