History log of /external/mesa3d/src/mesa/vbo/vbo_exec.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
784dd51198433e5c299da4a7742c68d21d68d1c1 16-Apr-2012 Marek Olšák <maraeo@gmail.com> mesa,vbo: properly detect when vertex arrays need to be recalculated

This moves the RebindArrays flag into the vbo module, consolidates the code,
and adds missing vbo_draw_method calls.

Also with this change, the vertex arrays are not needlessly recalculated twice.
The issue with the old code was:
- If recalculate_input_bindings updates vp_varying_inputs, _NEW_ARRAY is set.
- _mesa_update_state is called and the vp_varying_inputs change causes
regeneration of the fixed-function shaders, which also sets _NEW_PROGRAM.
- The occurence of either _NEW_ARRAY or _NEW_PROGRAM sets
the recalculate_inputs flag to TRUE again.
- The new code sets the flag to FALSE after the second _mesa_update_state,
because there can't possibly be any change which would require recalculating
the arrays.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/vbo/vbo_exec.c
dc7b6d7d6defdfe4f79fb682d3378a3bed8b5db9 19-Dec-2011 Paul Berry <stereotype441@gmail.com> mesa: Add count_tessellated_primitives() function.

This function computes the number of primitives that will be generated
when the given drawing operation is performed. It accounts for the
tessellation that is performed on line strips, line loops, triangle
strips, triangle fans, quads, quad strips, and polygons, so it is
suitable for implementing the primitive counters needed by transform
feedback.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/vbo/vbo_exec.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/vbo/vbo_exec.c
3644dbbdbd1abe19a1dad37fa9d7f0577e2471b3 27-May-2010 Brian Paul <brianp@vmware.com> vbo: comments and whitespace
/external/mesa3d/src/mesa/vbo/vbo_exec.c
c63150100301ef524223df430271760b606784c3 13-Jan-2010 Vinson Lee <vlee@vmware.com> vbo: Remove unnecessary headers from vbo_exec.c.
/external/mesa3d/src/mesa/vbo/vbo_exec.c
c64a2b708944ec671b1104067245500fcfc6ed94 03-Mar-2009 Keith Whitwell <keithw@vmware.com> mesa: Add BeginVertices driver call

Provides notification to the VBO modules prior to the first immediate call.
Pairs with FlushVertices()
/external/mesa3d/src/mesa/vbo/vbo_exec.c
40d1a40f294f1ed2dacfad6f5498322fc08cc2d1 11-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move #define FEATURE flags into new mfeatures.h file

Also, check the FEATURE flags in many places.
/external/mesa3d/src/mesa/vbo/vbo_exec.c
c223c6b663cd5db39ba19c2be74b88cc3b8f53f3 04-Jul-2007 Brian <brian.paul@tungstengraphics.com> Be more consistant with paths in #includes. Eventually, eliminate a bunch of -I flags.
/external/mesa3d/src/mesa/vbo/vbo_exec.c
e8abd098b36c30d76b4c396970fd793ae58e0702 30-Oct-2006 Keith Whitwell <keith@tungstengraphics.com> Remove wakeup functions. This code is intended to be active all the
time.
/external/mesa3d/src/mesa/vbo/vbo_exec.c
99efde461d3b8615863bdb7308e05289e0db0422 30-Oct-2006 Keith Whitwell <keith@tungstengraphics.com> better handling of current attributes. Trivial dlist and varray tests work
/external/mesa3d/src/mesa/vbo/vbo_exec.c
fd12b37dbada6f945a94b93ecf332d0b6a8eef06 29-Oct-2006 Keith Whitwell <keith@tungstengraphics.com> Checkpoint of new vbo-building code. Currently builds regular arrays
rather than VBO's - VBOs are easy but need to look closer at the
driver interface. The trivial/tri demo works.
/external/mesa3d/src/mesa/vbo/vbo_exec.c