Mesa (master): swr: [rasterizer core] only use Viewport/ Scissors during SwrDraw* operations

Tim Rowley torowley at kemper.freedesktop.org
Wed Aug 17 22:12:46 UTC 2016


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

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Wed Aug 17 14:30:32 2016 -0500

swr: [rasterizer core] only use Viewport/Scissors during SwrDraw* operations

Add explicit rects for:

- SwrClearRenderTarget
- SwrDiscardRect
- SwrInvalidateTiles
- SwrStoreTiles

Signed-off-by: Tim Rowley <timothy.o.rowley at intel.com>

---

 src/gallium/drivers/swr/rasterizer/core/api.cpp    |  94 ++++---
 src/gallium/drivers/swr/rasterizer/core/api.h      | 119 +++++++--
 .../drivers/swr/rasterizer/core/backend.cpp        |  69 ++---
 src/gallium/drivers/swr/rasterizer/core/context.h  |   9 +-
 .../drivers/swr/rasterizer/core/frontend.cpp       | 288 +++++++++------------
 src/gallium/drivers/swr/rasterizer/core/frontend.h |  10 +-
 .../drivers/swr/rasterizer/core/rasterizer.cpp     | 122 ++++-----
 src/gallium/drivers/swr/rasterizer/core/utils.h    |  50 +---
 src/gallium/drivers/swr/swr_clear.cpp              |  12 +-
 src/gallium/drivers/swr/swr_context.h              |   1 +
 src/gallium/drivers/swr/swr_draw.cpp               |  32 +--
 src/gallium/drivers/swr/swr_state.cpp              |   9 +-
 12 files changed, 400 insertions(+), 415 deletions(-)

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



More information about the mesa-commit mailing list