OSDN Git Service

swr/rast: Split rasterizer.cpp to improve compile time
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 26 Jun 2017 17:41:38 +0000 (12:41 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Fri, 30 Jun 2017 18:26:19 +0000 (13:26 -0500)
commit0cc7c46cf43c9e6a2bed3099f1a83d98ac52a7fc
treed98cdedccd45959ce4827d70c680d714bf8158ed
parent5eecaca91180549106ab31368346865f9048a5ac
swr/rast: Split rasterizer.cpp to improve compile time

Hardcode split to four files currently.  Decreases swr build
time on KNL by over 50%.

Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
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_rasterizer.cpp [new file with mode: 0644]
src/gallium/drivers/swr/rasterizer/core/api.cpp
src/gallium/drivers/swr/rasterizer/core/multisample.cpp [deleted file]
src/gallium/drivers/swr/rasterizer/core/rasterizer.cpp
src/gallium/drivers/swr/rasterizer/core/rasterizer.h
src/gallium/drivers/swr/rasterizer/core/rasterizer_impl.h [new file with mode: 0644]