History log of /external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
877128505431adaf817dc8069172ebe4a1cdf5d8 17-Jan-2014 José Fonseca <jfonseca@vmware.com> s/Tungsten Graphics/VMware/

Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the
old copyright name is creating unnecessary confusion, hence this change.

This was the sed script I used:

$ cat tg2vmw.sed
# Run as:
#
# git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed
#

# Rename copyrights
s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g
/Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./
s/TUNGSTEN GRAPHICS/VMWARE/g

# Rename emails
s/alanh@tungstengraphics.com/alanh@vmware.com/
s/jens@tungstengraphics.com/jowen@vmware.com/g
s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/
s/jrfonseca\?@tungstengraphics.com/jfonseca@vmware.com/g
s/keithw\?@tungstengraphics.com/keithw@vmware.com/g
s/michel@tungstengraphics.com/daenzer@vmware.com/g
s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/
s/zack@tungstengraphics.com/zackr@vmware.com/

# Remove dead links
s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g

# C string src/gallium/state_trackers/vega/api_misc.c
s/"Tungsten Graphics, Inc"/"VMware, Inc"/

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c
e73bf3b805de78299f1a652668ba4e6eab9bac94 29-Mar-2012 Marek Olšák <maraeo@gmail.com> gallium: add start_slot parameter to set_vertex_buffers

This allows updating only a subrange of buffer bindings.

set_vertex_buffers(pipe, start_slot, count, NULL) unbinds buffers in that
range. Binding NULL resources unbinds buffers too (both buffer and user_buffer
must be NULL).

The meta ops are adapted to only save, change, and restore the single slot
they use. The cso_context can save and restore only one vertex buffer slot.
The clients can query which one it is using cso_get_aux_vertex_buffer_slot.
It's currently set to 0. (the Draw module breaks if it's set to non-zero)

It should decrease the CPU overhead when using a lot of meta ops, but
the drivers must be able to treat each vertex buffer slot as a separate
state (only r600g does so at the moment).

I can imagine this also being useful for optimizing some OpenGL use cases.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c
185ed2105829d6f5eb19edb9abbf0d7977e157c3 25-May-2012 Brian Paul <brianp@vmware.com> draw: simplify index buffer specification

Replace draw_set_index_buffer() and draw_set_mapped_index_buffer() with
draw_set_indexes() which simply takes a pointer and an index size.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c
43995c9470dd38cf80a60a169f5875de6798863f 24-Apr-2012 Marek Olšák <maraeo@gmail.com> gallium: remove pipe_context::redefine_user_buffer
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c
588fa884d212eba5ffbc69fda75db37d7c77214c 09-Feb-2011 Marek Olšák <maraeo@gmail.com> gallium: notify drivers about possible changes in user buffer contents

Also implement the redefine_user_buffer hook in the drivers.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c
3c9aa3a7b12cfe178c14fea93cfb64a32db0b8ad 26-Dec-2010 Marek Olšák <maraeo@gmail.com> gallium: drivers should reference vertex buffers

So that a state tracker can unreference them after set_vertex_buffers.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c
22f6026324f63c142925244ff575fefc29a90389 25-Aug-2010 Chia-I Wu <olv@lunarg.com> gallium: Use draw_set_index_buffer and others.

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.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c
6d28bf917fb1d741d90fd3f05c22769376021fca 15-Jul-2010 Chia-I Wu <olv@lunarg.com> gallium: Implement draw_vbo and set_index_buffer for all drivers.

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.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c
e351e828698b133feb1f626c1d99d0fcb2ec1480 28-Apr-2010 Brian Paul <brianp@vmware.com> llvmpipe: make vertex-related functions static, clean-up initializations
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c
eeaa0861bfc98a06ceec269801271b7453c4fcbd 10-Mar-2010 José Fonseca <jfonseca@vmware.com> llvmpipe: Cope with null Vertex element cso.

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.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c
e8983f70b41ea92a9527cb618db011b5dd136626 09-Mar-2010 Roland Scheidegger <sroland@vmware.com> gallium: don't use flexible array members in drivers for vertex elements cso

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.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c
f89730385532056e89e3b9053c244a67f84e323e 01-Mar-2010 Roland Scheidegger <sroland@vmware.com> llvmpipe: adapt to new vertex element cso
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c
4222bf3d3c7c85112f2e21bd3ea29b1f496ed8bb 21-Jan-2010 Vinson Lee <vlee@vmware.com> llvmpipe: Remove unnecessary headers.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c
c9a5930fe45a0a0299769bd2b672ca516d1bf39e 27-Jul-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Rename preprocessor symbols too.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c
946f432a08112148d743eb9faf6b27bb8cc7fa76 27-Jul-2009 José Fonseca <jfonseca@vmware.com> llvmpipe: Fork softpipe for experimentation with llvm.
/external/mesa3d/src/gallium/drivers/llvmpipe/lp_state_vertex.c