Mesa (master): radeon: texture/renderbuffer overhaul.

Dave Airlie airlied at kemper.freedesktop.org
Mon Dec 5 19:21:21 UTC 2011


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Nov 11 16:13:06 2011 +0000

radeon: texture/renderbuffer overhaul.

This could have been split up better, but the driver is just broken now,
so bisecting the brokenness is going to be painful no matter what.

This adds renderbuffer mapping/unmapping along with texture image allocation.
It drops all the old texture upload paths, some of which could possible be
reimplemented with the blitter later.

It also redoes the span code paths to use its own set of image mapping handlers,
along with removing the tiling decode paths for the color buffers, since
we now hope to use the blitter for this.

Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/mesa/drivers/dri/r200/r200_blit.c              |   16 +-
 src/mesa/drivers/dri/r200/r200_blit.h              |    2 +-
 src/mesa/drivers/dri/radeon/radeon_blit.c          |   16 +-
 src/mesa/drivers/dri/radeon/radeon_blit.h          |    2 +-
 .../drivers/dri/radeon/radeon_common_context.h     |    4 +-
 src/mesa/drivers/dri/radeon/radeon_fbo.c           |  132 +++--
 src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c   |   30 +-
 src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h   |    7 +-
 src/mesa/drivers/dri/radeon/radeon_pixel_read.c    |    2 +-
 src/mesa/drivers/dri/radeon/radeon_span.c          |  165 +++----
 src/mesa/drivers/dri/radeon/radeon_tex_copy.c      |    2 +-
 src/mesa/drivers/dri/radeon/radeon_texture.c       |  600 ++++++--------------
 src/mesa/drivers/dri/radeon/radeon_texture.h       |    6 +-
 13 files changed, 385 insertions(+), 599 deletions(-)

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



More information about the mesa-commit mailing list