swr/rast: Split backend.cpp to improve compile time
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 26 Jun 2017 18:00:27 +0000 (13:00 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Fri, 30 Jun 2017 18:26:19 +0000 (13:26 -0500)
commitcae53b24d7a739647193711e9a16c7face7ec72a
tree2d70ab5c42624d507b10816187b116c1fc3470a0
parentb89bd3694c12f95a74af02e8095edcd631a05801
swr/rast: Split backend.cpp to improve compile time

Hardcode split to four files currently.  Decreases swr build
time on a quad-core by ~10%.

Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
13 files changed:
src/gallium/drivers/swr/Makefile.am
src/gallium/drivers/swr/Makefile.sources
src/gallium/drivers/swr/SConscript
src/gallium/drivers/swr/rasterizer/codegen/gen_backends.py
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_backend.cpp
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_header_init.hpp [new file with mode: 0644]
src/gallium/drivers/swr/rasterizer/core/api.cpp
src/gallium/drivers/swr/rasterizer/core/backend.cpp
src/gallium/drivers/swr/rasterizer/core/backend.h
src/gallium/drivers/swr/rasterizer/core/backend_clear.cpp [new file with mode: 0644]
src/gallium/drivers/swr/rasterizer/core/backend_impl.h [new file with mode: 0644]
src/gallium/drivers/swr/rasterizer/core/backend_sample.cpp [new file with mode: 0644]
src/gallium/drivers/swr/rasterizer/core/backend_singlesample.cpp [new file with mode: 0644]