summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_draw.c
AgeCommit message (Collapse)Author
2011-02-15tnl: Add support for datatype GL_FIXED in vertex arraysChad Versace
Before populating the vertex buffer attribute pointer (VB->AttribPtr[]), convert vertex data in GL_FIXED format to GL_FLOAT. Fixes bug: http://bugs.freedesktop.org/show_bug.cgi?id=34047 NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-17tnl: assert that num_instances > 0Brian Paul
2010-12-10tnl: implement instanced drawingBrian Paul
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-13mesa: Fix compiler warningsKarl Schultz
Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
2010-01-29tnl: check that state is validated before drawingBrian Paul
(cherry picked from commit 9fd3c74724e557bc6ecc851d8552615ab3becfe2) Conflicts: src/mesa/tnl/t_draw.c
2010-01-27tnl: fix double->float and int/uint conversion warningsBrian Paul
Reported by Karl Schultz.
2010-01-23mesa: add core support for ARB_half_float_vertex.Dave Airlie
Adds the extension to the list + support to the APIs. also add t_draw.c support to convert for sw rast. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-14Merge branch 'mesa_7_7_branch'Jakob Bornecrantz
Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c
2010-01-12tnl: Remove unnecessary headers from t_draw.c.Vinson Lee
2009-12-31tnl: add check for conditional renderingBrian Paul
2009-11-19tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG]Eric Anholt
2009-11-19tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.Eric Anholt
2009-11-19tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtrEric Anholt
2009-11-19tnl: Replace deprecated ObjPtr with AttribPtr[_TNL_ATTRIB_POS]Eric Anholt
2009-11-19tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*]Eric Anholt
2009-11-19tnl: Replace NormalPtr with AttribPtr[_TNL_ATTRIB_NORMAL]Eric Anholt
2009-09-08mesa: Add support for ARB_draw_elements_base_vertex.Eric Anholt
2009-08-12vbo: Avoid extra validation of DrawElements.Eric Anholt
This saves mapping the index buffer to get a bounds on the indices that drivers just drop on the floor in the VBO case (cache win), saves a bonus walk of the indices in the CheckArrayBounds case, and other miscellaneous validation. On intel it's a particularly a large win (50-100% in my app) because even though we let the indices stay in both CPU and GPU caches, we still end up waiting for the GPU to be done with the buffer before reading from it. Drivers that want the min/max_index fields must now check index_bounds_valid and use vbo_get_minmax_index before using them.
2009-01-23mesa: update tnl module for GL_EXT_vertex_array_bgraBrian Paul
Add special case for GLubyte/GL_BGRA color arrays in _tnl_import_array()
2008-09-18mesa: prefix a bunch of #include lines with "main/".Brian Paul
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
2007-09-29fix VBO-split infinite loop (bug 12164)Brian
2007-04-17In bind_inputs() set VB->EdgeFlag to NULL if it's not needed.Brian
Otherwise, the clip/interp code was finding VB->EdgeFlag to be non-null and reading/writing it when the memory may have been freed earlier in free_space(). This fixes several VTK segfaults/failures reported by Brad King @ Kitware.
2007-01-30Use new rebase helper. Remove other rebase code.Keith Whitwell
2007-01-15Remove debug, reenable inplace splitting.keithw
2007-01-15Split too-large draw commands.Keith Whitwell
Use the vbo_split_ functionality to split incoming drawing command to fit within the fixed-size buffers used by software t&l module.
2006-11-03Fix compiler warnings.Keith Whitwell
Add missing code for translating non-GLuint elements.
2006-11-02Fix type-conversion of incoming vertices.Keith Whitwell
Fix mis-application of increment to pointer variable.
2006-11-02Respect array->Normalized flag.Keith Whitwell
Import edgeflag attribute to array of GLbooleans as expected by downstream code.
2006-11-02missing fileKeith Whitwell