OSDN Git Service

nv50,nvc0: unify nvc0_miptree and nv50_miptree structs
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Thu, 14 Jul 2011 10:40:04 +0000 (12:40 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Thu, 14 Jul 2011 10:51:06 +0000 (12:51 +0200)
commitcad17554c4b121c03e188dd0281718a52d603a15
treef22e0d7feb5ac3323a659465cef71a16e83705e4
parentebeec1d43a7c7b2542ed76326dd3b1814ca47dc8
nv50,nvc0: unify nvc0_miptree and nv50_miptree structs

Share some functions and restructure miptree creation a little.
Prepare for multi-sample resources.
14 files changed:
src/gallium/drivers/nv50/nv50_context.h
src/gallium/drivers/nv50/nv50_miptree.c
src/gallium/drivers/nv50/nv50_resource.h
src/gallium/drivers/nvc0/nvc0_3d.xml.h
src/gallium/drivers/nvc0/nvc0_context.h
src/gallium/drivers/nvc0/nvc0_miptree.c
src/gallium/drivers/nvc0/nvc0_resource.c
src/gallium/drivers/nvc0/nvc0_resource.h
src/gallium/drivers/nvc0/nvc0_screen.c
src/gallium/drivers/nvc0/nvc0_screen.h
src/gallium/drivers/nvc0/nvc0_state_validate.c
src/gallium/drivers/nvc0/nvc0_surface.c
src/gallium/drivers/nvc0/nvc0_tex.c
src/gallium/drivers/nvc0/nvc0_transfer.c