summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_state_vertex.c
AgeCommit message (Collapse)Author
2011-02-14gallium: notify drivers about possible changes in user buffer contentsMarek Olšák
Also implement the redefine_user_buffer hook in the drivers.
2011-01-06gallium: drivers should reference vertex buffersMarek Olšák
So that a state tracker can unreference them after set_vertex_buffers.
2010-08-25gallium: Use draw_set_index_buffer and others.Chia-I Wu
Update all drivers to use draw_set_index_buffer, draw_set_mapped_index_buffer, and draw_vbo. Remove draw_set_mapped_element_buffer and draw_set_mapped_element_buffer_range.
2010-07-29gallium: Implement draw_vbo and set_index_buffer for all drivers.Chia-I Wu
Some drivers define a generic function that is called by all drawing functions. To implement draw_vbo for such drivers, either draw_vbo calls the generic function or the prototype of the generic function is changed to match draw_vbo. Other drivers have no such generic function. draw_vbo is implemented by calling either draw_arrays and draw_elements. For most drivers, set_index_buffer does not mark the state dirty for tracking. Instead, the index buffer state is emitted whenever draw_vbo is called, just like the case with draw_elements. It surely can be improved.
2010-04-28llvmpipe: make vertex-related functions static, clean-up initializationsBrian Paul
2010-03-10llvmpipe: Cope with null Vertex element cso.José Fonseca
CSO can often be null. For example: 1. at initialization 2. using an util module (u_blit) right after initialization (it will push state and pop the previous null state) 3. at shutdown time (state shouldn't be bound when being destroyed) Glean was hitting 2.
2010-03-09gallium: don't use flexible array members in drivers for vertex elements csoRoland Scheidegger
While this c99 feature should work with most compilers, valgrind doesn't really like it, and this only really saves some memory, we don't do this in similar occasions (like the blend state) neither.
2010-03-01llvmpipe: adapt to new vertex element csoRoland Scheidegger
2010-01-21llvmpipe: Remove unnecessary headers.Vinson Lee
2009-08-29llvmpipe: Rename preprocessor symbols too.José Fonseca
2009-08-29llvmpipe: Fork softpipe for experimentation with llvm.José Fonseca