Mesa (master): swr: [rasterizer core] more backend refactoring

Tim Rowley torowley at kemper.freedesktop.org
Wed Apr 27 15:43:25 UTC 2016


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

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Thu Apr 21 14:24:33 2016 -0600

swr: [rasterizer core] more backend refactoring

BackendPixelRate should be easier to read/maintain now hopefully.

Small perf bump by moving some of the pfn's to inline functions
without template params.

Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>

---

 .../swr/rasterizer/common/rdtsc_buckets.cpp        |   4 +-
 src/gallium/drivers/swr/rasterizer/core/api.cpp    |  29 +-
 .../drivers/swr/rasterizer/core/backend.cpp        | 689 +++++----------------
 src/gallium/drivers/swr/rasterizer/core/backend.h  | 394 +++++++++++-
 src/gallium/drivers/swr/rasterizer/core/context.h  |   5 -
 .../drivers/swr/rasterizer/core/multisample.h      | 407 +-----------
 .../drivers/swr/rasterizer/core/rdtsc_core.cpp     |   4 +
 .../drivers/swr/rasterizer/core/rdtsc_core.h       |   4 +
 8 files changed, 573 insertions(+), 963 deletions(-)

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



More information about the mesa-commit mailing list