intel: Ask libdrm to dump an AUB file if INTEL_DEBUG=aub.
authorEric Anholt <eric@anholt.net>
Tue, 6 Mar 2012 23:31:42 +0000 (15:31 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 21 Mar 2012 19:45:05 +0000 (12:45 -0700)
commit0247d89183e26fbd07e4176ff6f8d1b4989e24ab
treeecb275daaffd51fdd1c3911cb7cf92a296a4a156
parent218f3a56637a189eb0163fb7c6a5d161a8b6c910
intel: Ask libdrm to dump an AUB file if INTEL_DEBUG=aub.

It also asks for BMPs in the aub file at SwapBuffers time.

Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_context.h
src/mesa/drivers/dri/intel/intel_screen.c