nvfx: new 2D: use new 2D engine in Gallium
authorLuca Barbieri <luca@luca-barbieri.com>
Tue, 3 Aug 2010 04:24:22 +0000 (06:24 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Sat, 21 Aug 2010 18:42:14 +0000 (20:42 +0200)
commit9ed0686e8e6157ce38c9fa284cd7399289a2e698
treeedeb174d369b7eeeefc457077668cfbeaa6a8ee2
parent24a4ea003f14a96ed07fdc4e92a67610655befad
nvfx: new 2D: use new 2D engine in Gallium

This patch implements nv04_surface_copy/fill using the new 2D engine module.
It supports falling back to the 3D engine using the u_blitter module, which will be
added in a later patch.

Also adds support for using the 3D engine, reusing the u_blitter module
created for r300.
This is used for unswizzling and copies between swizzled surfaces.
src/gallium/drivers/nvfx/Makefile
src/gallium/drivers/nvfx/nv04_surface_2d.c [deleted file]
src/gallium/drivers/nvfx/nv04_surface_2d.h [deleted file]
src/gallium/drivers/nvfx/nvfx_context.h
src/gallium/drivers/nvfx/nvfx_miptree.c
src/gallium/drivers/nvfx/nvfx_resource.h
src/gallium/drivers/nvfx/nvfx_screen.c
src/gallium/drivers/nvfx/nvfx_screen.h
src/gallium/drivers/nvfx/nvfx_state_fb.c
src/gallium/drivers/nvfx/nvfx_surface.c