Mesa (master): swr/rast: Split rasterizer.cpp to improve compile time

Tim Rowley torowley at kemper.freedesktop.org
Fri Jun 30 19:18:02 UTC 2017


Module: Mesa
Branch: master
Commit: 0cc7c46cf43c9e6a2bed3099f1a83d98ac52a7fc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0cc7c46cf43c9e6a2bed3099f1a83d98ac52a7fc

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Mon Jun 26 12:41:38 2017 -0500

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                |   39 +-
 src/gallium/drivers/swr/Makefile.sources           |    2 +-
 src/gallium/drivers/swr/SConscript                 |   24 +-
 .../drivers/swr/rasterizer/codegen/gen_backends.py |   12 +
 .../codegen/templates/gen_rasterizer.cpp           |   42 +
 src/gallium/drivers/swr/rasterizer/core/api.cpp    |    1 +
 .../drivers/swr/rasterizer/core/multisample.cpp    |   48 -
 .../drivers/swr/rasterizer/core/rasterizer.cpp     | 1788 +++-----------------
 .../drivers/swr/rasterizer/core/rasterizer.h       |   31 +-
 .../drivers/swr/rasterizer/core/rasterizer_impl.h  | 1376 +++++++++++++++
 10 files changed, 1739 insertions(+), 1624 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=0cc7c46cf43c9e6a2bed3099f1a83d98ac52a7fc



More information about the mesa-commit mailing list