OSDN Git Service

nv30/draw: allocate vertex buffers in gart
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 26 May 2015 01:14:13 +0000 (21:14 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 26 May 2015 01:45:22 +0000 (21:45 -0400)
commitc3d36a2e1a87a4aded662db7a5d320ee7ac3a8b5
tree78db1bfc94d58e2c087c7358b4f312249eb676c4
parentfdad7dfbdae07b9273fc8f57e63258dbe542c9b5
nv30/draw: allocate vertex buffers in gart

These are only used once per draw, so it makes sense to keep them in
GART. Also take this opportunity to modernize the buffer mapping API
usage.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nv30/nv30_draw.c