gallium/ddebug: add GALLIUM_DDEBUG_SKIP option
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 8 Dec 2015 11:49:12 +0000 (06:49 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Sat, 12 Dec 2015 20:23:34 +0000 (15:23 -0500)
commitb86d5ccae2b6280ad26d1060295fcc4963e90011
treef421764e0841d420989f9623be6ef06e924f2baf
parentaf7ba989fb5a39925a0a1261ed281fe7f48a16cf
gallium/ddebug: add GALLIUM_DDEBUG_SKIP option

When we know that hangs occur only very late in a reproducible run (e.g.
apitrace), we can save a lot of debugging time by skipping the flush and hang
detection for earlier draw calls.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/ddebug/dd_draw.c
src/gallium/drivers/ddebug/dd_pipe.h
src/gallium/drivers/ddebug/dd_screen.c