Mesa (master): r600g: adapt to latest interfaces changes
Jerome Glisse
glisse at kemper.freedesktop.org
Thu May 27 21:24:33 UTC 2010
Module: Mesa
Branch: master
Commit: b8fb1d75ce95fe5d404b301ab31ca0c323967d14
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8fb1d75ce95fe5d404b301ab31ca0c323967d14
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon May 10 03:27:58 2010 +0200
r600g: adapt to latest interfaces changes
- Wrapped the buffer and texture create/destroy/transfer/... functions
using u_resource, which is then used to implement the resource functions.
- Implemented texture transfers.
I left the buffer and texture transfers separate because one day we'll
need a special codepath for textures.
- Added index_bias to the draw_*elements functions.
- Removed nonexistent *REP and *FOR instructions.
- Some pipe formats have changed channel ordering, so I've removed/fixed
nonexistent ones.
- Added stubs for create/set/destroy sampler views.
- Added a naive implementation of vertex elements state (new CSO).
- Reworked {texture,buffer}_{from,to}_handle.
- Reorganized winsys files, removed dri,egl,python directories.
- Added a new build target dri-r600.
---
src/gallium/drivers/r600/Makefile | 1 +
src/gallium/drivers/r600/SConscript | 9 +
src/gallium/drivers/r600/r600_buffer.c | 173 ++++--
src/gallium/drivers/r600/r600_compiler_tgsi.c | 14 -
src/gallium/drivers/r600/r600_context.c | 19 +-
src/gallium/drivers/r600/r600_context.h | 6 +-
src/gallium/drivers/r600/r600_draw.c | 12 +-
src/gallium/drivers/r600/r600_helper.c | 18 -
src/gallium/drivers/r600/r600_resource.c | 68 +++
src/gallium/drivers/r600/r600_resource.h | 33 ++
src/gallium/drivers/r600/r600_screen.c | 86 ++--
src/gallium/drivers/r600/r600_screen.h | 37 ++-
src/gallium/drivers/r600/r600_state.c | 87 +++-
src/gallium/drivers/r600/r600_texture.c | 140 +++--
src/gallium/drivers/r600/r600_texture.h | 19 +-
.../drm/r600/dri => targets/dri-r600}/Makefile | 15 +-
src/gallium/targets/dri-r600/SConscript | 26 +
src/gallium/winsys/drm/r600/Makefile | 12 -
src/gallium/winsys/drm/r600/SConscript | 7 -
src/gallium/winsys/drm/r600/core/r600_drm.c | 170 ------
src/gallium/winsys/drm/r600/dri/SConscript | 17 -
src/gallium/winsys/drm/r600/egl/Makefile | 14 -
src/gallium/winsys/drm/r600/egl/dummy.c | 1 -
src/gallium/winsys/drm/r600/python/README | 15 -
src/gallium/winsys/drm/r600/python/SConscript | 33 --
.../drm/r600/python/radeon_hardpipe_winsys.c | 132 -----
src/gallium/winsys/drm/r600/python/xf86dri.c | 605 --------------------
src/gallium/winsys/drm/r600/python/xf86dri.h | 123 ----
src/gallium/winsys/drm/r600/python/xf86dristr.h | 389 -------------
.../winsys/{drm/r600/core => r600/drm}/Makefile | 7 +-
.../winsys/{drm/r600/core => r600/drm}/bof.c | 0
.../winsys/{drm/r600/core => r600/drm}/bof.h | 0
src/gallium/winsys/r600/drm/r600_drm.c | 87 +++
.../{drm/r600/core => r600/drm}/r600_state.c | 0
.../{drm/r600/core => r600/drm}/r600_states.h | 0
.../winsys/{drm/r600/core => r600/drm}/r600d.h | 0
.../winsys/{drm/r600/core => r600/drm}/radeon.c | 0
.../winsys/{drm/r600/core => r600/drm}/radeon_bo.c | 0
.../{drm/r600/core => r600/drm}/radeon_ctx.c | 0
.../{drm/r600/core => r600/drm}/radeon_draw.c | 0
.../{drm/r600/core => r600/drm}/radeon_pciid.c | 0
.../{drm/r600/core => r600/drm}/radeon_priv.h | 0
.../{drm/r600/core => r600/drm}/radeon_state.c | 0
43 files changed, 615 insertions(+), 1760 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=b8fb1d75ce95fe5d404b301ab31ca0c323967d14
More information about the mesa-commit
mailing list