Eric Anholt
37c79d4d76
tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG]
2009-11-19 11:47:05 +01:00
Eric Anholt
0a91878015
tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.
2009-11-19 11:47:05 +01:00
Eric Anholt
fc9a2970dc
tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtr
2009-11-19 11:47:05 +01:00
Eric Anholt
165b860da6
tnl: Replace deprecated ObjPtr with AttribPtr[_TNL_ATTRIB_POS]
2009-11-19 11:47:05 +01:00
Eric Anholt
df582ca767
tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*]
2009-11-19 11:47:05 +01:00
Eric Anholt
22bcb59a95
tnl: Replace NormalPtr with AttribPtr[_TNL_ATTRIB_NORMAL]
2009-11-19 11:47:04 +01:00
Eric Anholt
92d7ed8a20
mesa: Add support for ARB_draw_elements_base_vertex.
2009-09-08 15:12:20 -07:00
Eric Anholt
2708ddfb06
vbo: Avoid extra validation of DrawElements.
...
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-08-12 11:28:34 -07:00
Brian Paul
0791fdff6f
mesa: update tnl module for GL_EXT_vertex_array_bgra
...
Add special case for GLubyte/GL_BGRA color arrays in _tnl_import_array()
2009-01-23 11:26:30 -07:00
Brian Paul
bbd287103d
mesa: prefix a bunch of #include lines with "main/".
...
This is another step toward removing a whole bunch of -I flags from
the cc commands. Still need to address driver code...
2008-09-18 12:26:54 -06:00
Brian
f8ee72d98f
fix VBO-split infinite loop (bug 12164)
2007-09-29 12:01:34 -06:00
Brian
d2d86a3f0b
In bind_inputs() set VB->EdgeFlag to NULL if it's not needed.
...
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-04-17 10:19:47 -06:00
Keith Whitwell
893526b8a8
Use new rebase helper. Remove other rebase code.
2007-01-30 20:22:55 +00:00
keithw
82152a2a8e
Remove debug, reenable inplace splitting.
2007-01-15 14:10:42 +00:00
Keith Whitwell
5464cd0a60
Split too-large draw commands.
...
Use the vbo_split_ functionality to split incoming drawing command
to fit within the fixed-size buffers used by software t&l module.
2007-01-15 13:54:08 +00:00
Keith Whitwell
188a4db49c
Fix compiler warnings.
...
Add missing code for translating non-GLuint elements.
2006-11-03 13:04:08 +00:00
Keith Whitwell
7e9c3684ef
Fix type-conversion of incoming vertices.
...
Fix mis-application of increment to pointer variable.
2006-11-02 19:11:16 +00:00
Keith Whitwell
9827dc8bea
Respect array->Normalized flag.
...
Import edgeflag attribute to array of GLbooleans as expected by
downstream code.
2006-11-02 09:48:30 +00:00
Keith Whitwell
c22f8a7787
missing file
2006-11-02 08:37:17 +00:00