r600g: adapt to latest interfaces changes
authorMarek Olšák <maraeo@gmail.com>
Mon, 10 May 2010 01:27:58 +0000 (03:27 +0200)
committerJerome Glisse <jglisse@redhat.com>
Thu, 27 May 2010 21:24:02 +0000 (23:24 +0200)
commitb8fb1d75ce95fe5d404b301ab31ca0c323967d14
tree78b648b638f7ed1560c569877c2c0c3b8b1dd81e
parent72128962d640846472c1b0dc22cf4ac6ce875dc9
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.
58 files changed:
src/gallium/drivers/r600/Makefile
src/gallium/drivers/r600/SConscript
src/gallium/drivers/r600/r600_buffer.c
src/gallium/drivers/r600/r600_compiler_tgsi.c
src/gallium/drivers/r600/r600_context.c
src/gallium/drivers/r600/r600_context.h
src/gallium/drivers/r600/r600_draw.c
src/gallium/drivers/r600/r600_helper.c
src/gallium/drivers/r600/r600_resource.c [new file with mode: 0644]
src/gallium/drivers/r600/r600_resource.h [new file with mode: 0644]
src/gallium/drivers/r600/r600_screen.c
src/gallium/drivers/r600/r600_screen.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_texture.c
src/gallium/drivers/r600/r600_texture.h
src/gallium/targets/dri-r600/Makefile [new file with mode: 0644]
src/gallium/targets/dri-r600/SConscript [new file with mode: 0644]
src/gallium/targets/dri-r600/dummy.c [new file with mode: 0644]
src/gallium/winsys/drm/r600/Makefile [deleted file]
src/gallium/winsys/drm/r600/SConscript [deleted file]
src/gallium/winsys/drm/r600/core/Makefile [deleted file]
src/gallium/winsys/drm/r600/core/bof.c [deleted file]
src/gallium/winsys/drm/r600/core/bof.h [deleted file]
src/gallium/winsys/drm/r600/core/r600_drm.c [deleted file]
src/gallium/winsys/drm/r600/core/r600_state.c [deleted file]
src/gallium/winsys/drm/r600/core/r600_states.h [deleted file]
src/gallium/winsys/drm/r600/core/r600d.h [deleted file]
src/gallium/winsys/drm/r600/core/radeon.c [deleted file]
src/gallium/winsys/drm/r600/core/radeon_bo.c [deleted file]
src/gallium/winsys/drm/r600/core/radeon_ctx.c [deleted file]
src/gallium/winsys/drm/r600/core/radeon_draw.c [deleted file]
src/gallium/winsys/drm/r600/core/radeon_pciid.c [deleted file]
src/gallium/winsys/drm/r600/core/radeon_priv.h [deleted file]
src/gallium/winsys/drm/r600/core/radeon_state.c [deleted file]
src/gallium/winsys/drm/r600/dri/Makefile [deleted file]
src/gallium/winsys/drm/r600/dri/SConscript [deleted file]
src/gallium/winsys/drm/r600/egl/Makefile [deleted file]
src/gallium/winsys/drm/r600/egl/dummy.c [deleted file]
src/gallium/winsys/drm/r600/python/README [deleted file]
src/gallium/winsys/drm/r600/python/SConscript [deleted file]
src/gallium/winsys/drm/r600/python/radeon_hardpipe_winsys.c [deleted file]
src/gallium/winsys/drm/r600/python/xf86dri.c [deleted file]
src/gallium/winsys/drm/r600/python/xf86dri.h [deleted file]
src/gallium/winsys/drm/r600/python/xf86dristr.h [deleted file]
src/gallium/winsys/r600/drm/Makefile [new file with mode: 0644]
src/gallium/winsys/r600/drm/bof.c [new file with mode: 0644]
src/gallium/winsys/r600/drm/bof.h [new file with mode: 0644]
src/gallium/winsys/r600/drm/r600_drm.c [new file with mode: 0644]
src/gallium/winsys/r600/drm/r600_state.c [new file with mode: 0644]
src/gallium/winsys/r600/drm/r600_states.h [new file with mode: 0644]
src/gallium/winsys/r600/drm/r600d.h [new file with mode: 0644]
src/gallium/winsys/r600/drm/radeon.c [new file with mode: 0644]
src/gallium/winsys/r600/drm/radeon_bo.c [new file with mode: 0644]
src/gallium/winsys/r600/drm/radeon_ctx.c [new file with mode: 0644]
src/gallium/winsys/r600/drm/radeon_draw.c [new file with mode: 0644]
src/gallium/winsys/r600/drm/radeon_pciid.c [new file with mode: 0644]
src/gallium/winsys/r600/drm/radeon_priv.h [new file with mode: 0644]
src/gallium/winsys/r600/drm/radeon_state.c [new file with mode: 0644]