aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vertex.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: check if TNL state is null in _tnl_free_vertices() to avoid potential ↵Brian Paul2009-02-131-21/+24
| | | | | | | | | segfault _tnl_free_vertices() is called from several places during context tear-down. Depending on the order in which the swrast, swrast_setup and tnl context is destroyed we could hit a null pointer here. This doesn't seem to be an actual issue with any Mesa drivers, but let's be safe.
* tnl: Add a utility to emit indexed vertices to a DMA buffer.Thomas Hellstrom2009-01-201-1/+44
| | | | | | This utility is useful for hardware that doesn't support HW index buffers. It's a bit inefficient but appears to give a substantial performance gain, as we can emit tri strips that would otherwise be split into triangles.
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-181-3/+3
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* Remove ctx->Point._Size and ctx->Line._Width.Brian2007-07-211-1/+1
| | | | | | The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired.
* Document a deficiency in the _swrast_Translate() function with regard to ↵Brian2007-05-021-1/+9
| | | | point size.
* Don't use nested struct definitions in tnl_clipspace_fastpath.Brian Paul2006-06-271-1/+1
| | | | | Make attr_type into a top-level type: tnl_attr_type See bug 7340.
* C++ fixes, mostly casts (Stephane Conversy)Brian Paul2005-12-061-2/+3
|
* Use _mesa_exec_free for fp->func.Keith Whitwell2005-11-241-6/+6
|
* reference bug 5131 in comment in _tnl_free_vertices()Brian Paul2005-11-221-1/+1
|
* disable freeing of fp->func, see comment (bug 5131)Brian Paul2005-11-221-1/+8
|
* Invalidate current fastpath on changes to attribute size or offset withinKeith Whitwell2005-05-191-3/+7
| | | | | | | | | the vertex. Use existing facilities to check for sse2 and enable when available. Turn on SSE/SSE2 codegen for t_vertex.c by default when USE_SSE_ASM is defined. Disable with "MESA_NO_CODEGEN=t".
* Re-initialize viewport shadows each time.Keith Whitwell2005-05-191-8/+11
|
* Remove old t_vertex.c codegen infrastructure, tie in new code.Keith Whitwell2005-05-181-1145/+193
| | | | Currently disabled, can enable with MESA_EXPERIMENTAL=t.
* `static const' instead of `const static'Daniel Borca2005-02-141-1/+1
|
* mesa-tnl-0-to-NULL.patch from Jeff MuizelaarKeith Whitwell2005-02-101-5/+5
|
* free buffer in t_vertex_c.c on context deleteKeith Whitwell2005-01-121-0/+2
|
* Fix segfault in pipes by dealing with stride == 0 case in generic_interp_extrasKeith Whitwell2005-01-101-14/+25
|
* Added missing break; to fix infinite recursion between choose_emit_funcFelix Kuehling2005-01-081-0/+1
| | | | and emit_viewport4_bgra4_st2_st2.
* And fix the obvious bugs in higher-numbered templates.Keith Whitwell2005-01-071-8/+8
|
* Templatize the fastpaths.Keith Whitwell2005-01-071-254/+71
|
* Add some more hardcoded fastpaths.Keith Whitwell2005-01-071-15/+117
|
* Make the format of the fastpaths cleaner at the expense of a littleKeith Whitwell2005-01-051-90/+223
| | | | | | performance. Add fastpaths for some more common vertex formats.
* Add a couple of hardwired fastpaths to t_vertex.c.Keith Whitwell2005-01-051-42/+133
|
* Big-endian fixes for R200 sw TCL path.Ian Romanick2004-10-231-0/+56
|
* Add ARGB modes to support big-endian systems.Ian Romanick2004-10-171-0/+56
|
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-1/+44
| | | | 1015696)
* disable some debug printfsBrian Paul2004-07-021-2/+4
|
* Rename the various function types in t_context.h to include a tnl_ prefix.Keith Whitwell2004-07-011-2/+2
|
* Add infrastructure for t_vertex.c codegen. Add an example driverKeith Whitwell2004-06-301-16/+38
| | | | for this which spits out C code for the generated functions.
* Fix minor warnings found with g++.Brian Paul2004-05-041-2/+2
|
* Added some comments. Minor const, int->GLint type changes, etc.Brian Paul2004-03-131-21/+30
|
* Add _tnl_set_attr() to complement existing get_attr() call.Keith Whitwell2004-02-161-5/+25
|
* Fix extract_3f_xyw().Keith Whitwell2004-01-301-2/+2
|
* Fix for recursion in generic_copy_pv_extras.Keith Whitwell2004-01-261-2/+5
| | | | Add a comment.
* replace MALLOC w/ CALLOC to silence valgrind warningsBrian Paul2004-01-261-1/+1
|
* Another mechanism to create vertices with holes - a new EMIT_PAD styleKeith Whitwell2004-01-211-17/+33
|
* some more count vs. end confusionKeith Whitwell2004-01-191-9/+9
|
* Cosmetic changes.Brian Paul2004-01-151-4/+4
| | | | | Added a bunch of const qualifiers. Use _mesa_memcpy() instead of memcpy(), etc.
* silence compiler warningsKarl Schultz2004-01-131-4/+4
|
* Perform check for dstclip[3] == 0.Keith Whitwell2004-01-081-7/+9
|
* TestingKeith Whitwell2004-01-061-0/+1
|
* Apply attribute offset when calling extract().Keith Whitwell2004-01-061-2/+5
| | | | Simplify stride calcs.
* Slight cleanupKeith Whitwell2004-01-051-7/+6
|
* Remove debugKeith Whitwell2004-01-051-3/+0
|
* Beef up t_vertex.c:Keith Whitwell2004-01-051-113/+356
| | | | | | | | | | | - cope with input vectors with size less than that of the emitted attribute. - cope with vertices with 'holes' inside and between vertices. Fix calculation of tnl->render_inputs to work with fp programs. Mirror VB->PointSizePtr in VB->AttribPtr so that it can work with t_vertex.c. Transition swrast_setup/ to use t_vertex.c to build swrast vertices.
* Re-commit t_vertex.[ch] changes to fd.o server.Keith Whitwell2004-01-051-194/+411
|
* new filesKeith Whitwell2003-12-211-0/+601