Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: check if TNL state is null in _tnl_free_vertices() to avoid potential ↵ | Brian Paul | 2009-02-13 | 1 | -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 Hellstrom | 2009-01-20 | 1 | -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 Paul | 2008-09-18 | 1 | -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. | Brian | 2007-07-21 | 1 | -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 ↵ | Brian | 2007-05-02 | 1 | -1/+9 |
| | | | | point size. | ||||
* | Don't use nested struct definitions in tnl_clipspace_fastpath. | Brian Paul | 2006-06-27 | 1 | -1/+1 |
| | | | | | Make attr_type into a top-level type: tnl_attr_type See bug 7340. | ||||
* | C++ fixes, mostly casts (Stephane Conversy) | Brian Paul | 2005-12-06 | 1 | -2/+3 |
| | |||||
* | Use _mesa_exec_free for fp->func. | Keith Whitwell | 2005-11-24 | 1 | -6/+6 |
| | |||||
* | reference bug 5131 in comment in _tnl_free_vertices() | Brian Paul | 2005-11-22 | 1 | -1/+1 |
| | |||||
* | disable freeing of fp->func, see comment (bug 5131) | Brian Paul | 2005-11-22 | 1 | -1/+8 |
| | |||||
* | Invalidate current fastpath on changes to attribute size or offset within | Keith Whitwell | 2005-05-19 | 1 | -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 Whitwell | 2005-05-19 | 1 | -8/+11 |
| | |||||
* | Remove old t_vertex.c codegen infrastructure, tie in new code. | Keith Whitwell | 2005-05-18 | 1 | -1145/+193 |
| | | | | Currently disabled, can enable with MESA_EXPERIMENTAL=t. | ||||
* | `static const' instead of `const static' | Daniel Borca | 2005-02-14 | 1 | -1/+1 |
| | |||||
* | mesa-tnl-0-to-NULL.patch from Jeff Muizelaar | Keith Whitwell | 2005-02-10 | 1 | -5/+5 |
| | |||||
* | free buffer in t_vertex_c.c on context delete | Keith Whitwell | 2005-01-12 | 1 | -0/+2 |
| | |||||
* | Fix segfault in pipes by dealing with stride == 0 case in generic_interp_extras | Keith Whitwell | 2005-01-10 | 1 | -14/+25 |
| | |||||
* | Added missing break; to fix infinite recursion between choose_emit_func | Felix Kuehling | 2005-01-08 | 1 | -0/+1 |
| | | | | and emit_viewport4_bgra4_st2_st2. | ||||
* | And fix the obvious bugs in higher-numbered templates. | Keith Whitwell | 2005-01-07 | 1 | -8/+8 |
| | |||||
* | Templatize the fastpaths. | Keith Whitwell | 2005-01-07 | 1 | -254/+71 |
| | |||||
* | Add some more hardcoded fastpaths. | Keith Whitwell | 2005-01-07 | 1 | -15/+117 |
| | |||||
* | Make the format of the fastpaths cleaner at the expense of a little | Keith Whitwell | 2005-01-05 | 1 | -90/+223 |
| | | | | | | performance. Add fastpaths for some more common vertex formats. | ||||
* | Add a couple of hardwired fastpaths to t_vertex.c. | Keith Whitwell | 2005-01-05 | 1 | -42/+133 |
| | |||||
* | Big-endian fixes for R200 sw TCL path. | Ian Romanick | 2004-10-23 | 1 | -0/+56 |
| | |||||
* | Add ARGB modes to support big-endian systems. | Ian Romanick | 2004-10-17 | 1 | -0/+56 |
| | |||||
* | Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵ | Brian Paul | 2004-08-25 | 1 | -1/+44 |
| | | | | 1015696) | ||||
* | disable some debug printfs | Brian Paul | 2004-07-02 | 1 | -2/+4 |
| | |||||
* | Rename the various function types in t_context.h to include a tnl_ prefix. | Keith Whitwell | 2004-07-01 | 1 | -2/+2 |
| | |||||
* | Add infrastructure for t_vertex.c codegen. Add an example driver | Keith Whitwell | 2004-06-30 | 1 | -16/+38 |
| | | | | for this which spits out C code for the generated functions. | ||||
* | Fix minor warnings found with g++. | Brian Paul | 2004-05-04 | 1 | -2/+2 |
| | |||||
* | Added some comments. Minor const, int->GLint type changes, etc. | Brian Paul | 2004-03-13 | 1 | -21/+30 |
| | |||||
* | Add _tnl_set_attr() to complement existing get_attr() call. | Keith Whitwell | 2004-02-16 | 1 | -5/+25 |
| | |||||
* | Fix extract_3f_xyw(). | Keith Whitwell | 2004-01-30 | 1 | -2/+2 |
| | |||||
* | Fix for recursion in generic_copy_pv_extras. | Keith Whitwell | 2004-01-26 | 1 | -2/+5 |
| | | | | Add a comment. | ||||
* | replace MALLOC w/ CALLOC to silence valgrind warnings | Brian Paul | 2004-01-26 | 1 | -1/+1 |
| | |||||
* | Another mechanism to create vertices with holes - a new EMIT_PAD style | Keith Whitwell | 2004-01-21 | 1 | -17/+33 |
| | |||||
* | some more count vs. end confusion | Keith Whitwell | 2004-01-19 | 1 | -9/+9 |
| | |||||
* | Cosmetic changes. | Brian Paul | 2004-01-15 | 1 | -4/+4 |
| | | | | | Added a bunch of const qualifiers. Use _mesa_memcpy() instead of memcpy(), etc. | ||||
* | silence compiler warnings | Karl Schultz | 2004-01-13 | 1 | -4/+4 |
| | |||||
* | Perform check for dstclip[3] == 0. | Keith Whitwell | 2004-01-08 | 1 | -7/+9 |
| | |||||
* | Testing | Keith Whitwell | 2004-01-06 | 1 | -0/+1 |
| | |||||
* | Apply attribute offset when calling extract(). | Keith Whitwell | 2004-01-06 | 1 | -2/+5 |
| | | | | Simplify stride calcs. | ||||
* | Slight cleanup | Keith Whitwell | 2004-01-05 | 1 | -7/+6 |
| | |||||
* | Remove debug | Keith Whitwell | 2004-01-05 | 1 | -3/+0 |
| | |||||
* | Beef up t_vertex.c: | Keith Whitwell | 2004-01-05 | 1 | -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 Whitwell | 2004-01-05 | 1 | -194/+411 |
| | |||||
* | new files | Keith Whitwell | 2003-12-21 | 1 | -0/+601 |