st/nine: Rework Basetexture9 and Resource9.
authorAxel Davy <axel.davy@ens.fr>
Mon, 24 Nov 2014 23:38:02 +0000 (00:38 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 26 Nov 2014 20:09:10 +0000 (20:09 +0000)
commit133b2087c5ba9942527bc1b218a32205fb7a10a6
tree3c96b5bc16a1d23e286e0c022fdae4e7941d7331
parent104b5a81933b7a2f4fa24302a1d972ad3dd0dec6
st/nine: Rework Basetexture9 and Resource9.

Instead of having parts of the structures initialised by the parents,
have them initialised by the children.

Cc: "10.4" <mesa-stable@lists.freedesktop.org>
Tested-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/basetexture9.c
src/gallium/state_trackers/nine/basetexture9.h
src/gallium/state_trackers/nine/cubetexture9.c
src/gallium/state_trackers/nine/indexbuffer9.c
src/gallium/state_trackers/nine/resource9.c
src/gallium/state_trackers/nine/resource9.h
src/gallium/state_trackers/nine/surface9.c
src/gallium/state_trackers/nine/texture9.c
src/gallium/state_trackers/nine/vertexbuffer9.c
src/gallium/state_trackers/nine/volumetexture9.c