swr: [rasterizer core] buckets fixes
authorTim Rowley <timothy.o.rowley@intel.com>
Tue, 17 May 2016 23:26:27 +0000 (17:26 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Tue, 24 May 2016 18:29:21 +0000 (13:29 -0500)
commitdc34479b8c610314076b5c19cdeded8180c7beb4
tree4744ae95ec5c2fb11fbf58bb9c86b752effd7c0d
parent3074a2b4facf5c51e82f3b9511089386193f988a
swr: [rasterizer core] buckets fixes

1. Don't clear bucket descriptions to fix issues with sim level
   buckets getting out of sync.

2. Close out threadviz file descriptors in ClearThreads().

3. Skip buckets for jitter based buckets when multithreaded. We need
   thread local storage through llvm jit functions to be fixed before
   we can enable this.

4. Fix buckets StopCapture to correctly detect capture complete.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/common/rdtsc_buckets.cpp
src/gallium/drivers/swr/rasterizer/common/rdtsc_buckets.h
src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp
src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h
src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp