OSDN Git Service

gallium: plug in vertex passthrough code
authorBrian <brian.paul@tungstengraphics.com>
Thu, 13 Mar 2008 23:10:28 +0000 (17:10 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 13 Mar 2008 23:10:28 +0000 (17:10 -0600)
commitd088d640fca415261a208d3cbede94a6522ebb6b
tree58c6ff82993089556ed15938c87c4f7201867368
parent5bae5871f03c96eb173cb55d7e8a846a2c4bd4a0
gallium: plug in vertex passthrough code

Based on a patch from Zack.
Basically, implement a new draw_arrays function that copies the incoming
user-vertices to the hardware vertex buffer, doing format/type conversion
as needed.
The vertex fetch/store code is totally temporary for now.
src/gallium/auxiliary/draw/Makefile
src/gallium/auxiliary/draw/SConscript
src/gallium/auxiliary/draw/draw_passthrough.c
src/gallium/auxiliary/draw/draw_prim.c