swr: [rasterizer archrast] fix open file handle limit issue
authorTim Rowley <timothy.o.rowley@intel.com>
Sat, 29 Oct 2016 06:08:09 +0000 (01:08 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Mon, 14 Nov 2016 15:02:17 +0000 (09:02 -0600)
commite6f7d8a0946822d2f90099df2bf2a3d0969ebd74
tree956f225aeda6320d029d435475fc8ca45df97c7e
parent2c697754a9d96855c30d1809e67cc676c59de7d1
swr: [rasterizer archrast] fix open file handle limit issue

Buffer events ourselves and then when that's full or we're destroying
the context then write the contents to file. Previously, we're relying
ofstream to buffer for us.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/scripts/templates/ar_eventhandlerfile_h.template