trace: Hack to detect writes to user buffers.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 21 Aug 2008 12:57:59 +0000 (13:57 +0100)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 21 Aug 2008 17:46:04 +0000 (18:46 +0100)
commit34d12c1787116c254e528dd981810b7b78b7a2ee
tree0d2cf651b01571b459b78182a3cae12d0696848c
parent0fff3e4ea991ce2f841739ee8c8e8937452e56fa
trace: Hack to detect writes to user buffers.

It often happens that new data is written directly to the user buffers
without mapping/unmapping. This hack marks user buffers and dumps them
before passing them to pipe context.
src/gallium/drivers/trace/tr_context.c
src/gallium/drivers/trace/tr_winsys.c
src/gallium/drivers/trace/tr_winsys.h