summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vertex.c
AgeCommit message (Collapse)Author
2010-01-27tnl: fix double->float and int/uint conversion warningsBrian Paul
Reported by Karl Schultz.
2009-02-13mesa: check if TNL state is null in _tnl_free_vertices() to avoid potential ↵Brian Paul
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.
2009-01-20tnl: Add a utility to emit indexed vertices to a DMA buffer.Thomas Hellstrom
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.
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-07-21Remove ctx->Point._Size and ctx->Line._Width.Brian
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.
2007-05-02Document a deficiency in the _swrast_Translate() function with regard to ↵Brian
point size.
2006-06-27Don't use nested struct definitions in tnl_clipspace_fastpath.Brian Paul
Make attr_type into a top-level type: tnl_attr_type See bug 7340.
2005-12-06C++ fixes, mostly casts (Stephane Conversy)Brian Paul
2005-11-24Use _mesa_exec_free for fp->func.Keith Whitwell
2005-11-22reference bug 5131 in comment in _tnl_free_vertices()Brian Paul
2005-11-22disable freeing of fp->func, see comment (bug 5131)Brian Paul
2005-05-19Invalidate current fastpath on changes to attribute size or offset withinKeith Whitwell
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".
2005-05-19Re-initialize viewport shadows each time.Keith Whitwell
2005-05-18Remove old t_vertex.c codegen infrastructure, tie in new code.Keith Whitwell
Currently disabled, can enable with MESA_EXPERIMENTAL=t.
2005-02-14`static const' instead of `const static'Daniel Borca
2005-02-10mesa-tnl-0-to-NULL.patch from Jeff MuizelaarKeith Whitwell
2005-01-12free buffer in t_vertex_c.c on context deleteKeith Whitwell
2005-01-10Fix segfault in pipes by dealing with stride == 0 case in generic_interp_extrasKeith Whitwell
2005-01-08Added missing break; to fix infinite recursion between choose_emit_funcFelix Kuehling
and emit_viewport4_bgra4_st2_st2.
2005-01-07And fix the obvious bugs in higher-numbered templates.Keith Whitwell
2005-01-07Templatize the fastpaths.Keith Whitwell
2005-01-07Add some more hardcoded fastpaths.Keith Whitwell
2005-01-05Make the format of the fastpaths cleaner at the expense of a littleKeith Whitwell
performance. Add fastpaths for some more common vertex formats.
2005-01-05Add a couple of hardwired fastpaths to t_vertex.c.Keith Whitwell
2004-10-23Big-endian fixes for R200 sw TCL path.Ian Romanick
2004-10-17Add ARGB modes to support big-endian systems.Ian Romanick
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-07-02disable some debug printfsBrian Paul
2004-07-01Rename the various function types in t_context.h to include a tnl_ prefix.Keith Whitwell
2004-06-30Add infrastructure for t_vertex.c codegen. Add an example driverKeith Whitwell
for this which spits out C code for the generated functions.
2004-05-04Fix minor warnings found with g++.Brian Paul
2004-03-13Added some comments. Minor const, int->GLint type changes, etc.Brian Paul
2004-02-16Add _tnl_set_attr() to complement existing get_attr() call.Keith Whitwell
2004-01-30Fix extract_3f_xyw().Keith Whitwell
2004-01-26Fix for recursion in generic_copy_pv_extras.Keith Whitwell
Add a comment.
2004-01-26replace MALLOC w/ CALLOC to silence valgrind warningsBrian Paul
2004-01-21Another mechanism to create vertices with holes - a new EMIT_PAD styleKeith Whitwell
2004-01-19some more count vs. end confusionKeith Whitwell
2004-01-15Cosmetic changes.Brian Paul
Added a bunch of const qualifiers. Use _mesa_memcpy() instead of memcpy(), etc.
2004-01-13silence compiler warningsKarl Schultz
2004-01-08Perform check for dstclip[3] == 0.Keith Whitwell
2004-01-06TestingKeith Whitwell
2004-01-06Apply attribute offset when calling extract().Keith Whitwell
Simplify stride calcs.
2004-01-05Slight cleanupKeith Whitwell
2004-01-05Remove debugKeith Whitwell
2004-01-05Beef up t_vertex.c:Keith Whitwell
- 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.
2004-01-05Re-commit t_vertex.[ch] changes to fd.o server.Keith Whitwell
2003-12-21new filesKeith Whitwell