Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: remove DD_TRI_LIGHT_TWOSIDE flag | Brian Paul | 2013-04-17 | 1 | -6/+6 |
| | | | | | | v2: use conditional operator instead of bit shifting Reviewed-by: Eric Anholt <[email protected]> | ||||
* | mesa: remove DD_TRI_UNFILLED flag | Brian Paul | 2013-04-17 | 1 | -3/+8 |
| | | | | | | | Use alternate code in intel, r200, radeon drivers. v2: use conditional operator instead of bit shifting Reviewed-by: Eric Anholt <[email protected]> | ||||
* | Don't cast the return value of malloc/realloc | Matt Turner | 2012-09-05 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch has been generated by the following Coccinelle semantic patch: // Don't cast the return value of malloc/realloc. // // Casting the return value of malloc/realloc only stands to hide // errors. @@ type T; expression E1, E2; @@ - (T) ( _mesa_align_calloc(E1, E2) | _mesa_align_malloc(E1, E2) | calloc(E1, E2) | malloc(E1) | realloc(E1, E2) ) | ||||
* | mesa: s/FREE/free/ | Brian Paul | 2012-09-01 | 1 | -2/+2 |
| | | | | | | | v2: replace instances in dri/common/ dirs Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | tnl: stop using _DD_NEW_x flags | Brian Paul | 2012-03-12 | 1 | -1/+2 |
| | | | | | Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | mesa: move last bits of GLchan stuff into swrast | Brian Paul | 2011-09-20 | 1 | -1/+1 |
| | | | | | This removes the last remnants of the GLchan datatype and associated macros out of core Mesa and into swrast. | ||||
* | Drop GLcontext typedef and use struct gl_context instead | Kristian Høgsberg | 2010-10-13 | 1 | -20/+20 |
| | |||||
* | Drop macro wrappers for the aligned memory functions | Kristian Høgsberg | 2010-02-19 | 1 | -2/+2 |
| | |||||
* | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | 2010-02-19 | 1 | -5/+5 |
| | |||||
* | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | Remove _mesa_memcpy in favor of plain memcpy. | Kenneth Graunke | 2010-02-19 | 1 | -1/+1 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. | ||||
* | tnl: fix double->float and int/uint conversion warnings | Brian Paul | 2010-01-27 | 1 | -1/+1 |
| | | | | Reported by Karl Schultz. | ||||
* | 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. |