radeon: Add implementation of MapRenderbuffer.
authorEric Anholt <eric@anholt.net>
Mon, 17 Oct 2011 16:50:52 +0000 (09:50 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 1 Nov 2011 22:42:18 +0000 (15:42 -0700)
commit425b8d54b8c97bcbd433393f34a27027e4ff8c4d
tree6789b48bd80c3e1ad43a087cc6c59648143034ce
parentbae10c0d2e518f06c3686e04c778f0da73525b4d
radeon: Add implementation of MapRenderbuffer.

Unlike intel, we do a blit to/from GTT memory in order to
untile/retile the renderbuffer data, since we don't have fence
registers for accessing it.

(There is software tiling code in radeon_tile.c, but it's unused and
doesn't support macro tiling)

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/radeon/radeon_common_context.h
src/mesa/drivers/dri/radeon/radeon_fbo.c