aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vertex.c
Commit message (Collapse)AuthorAgeFilesLines
* s/Tungsten Graphics/VMware/José Fonseca2014-01-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the old copyright name is creating unnecessary confusion, hence this change. This was the sed script I used: $ cat tg2vmw.sed # Run as: # # git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed # # Rename copyrights s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g /Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./ s/TUNGSTEN GRAPHICS/VMWARE/g # Rename emails s/[email protected]/[email protected]/ s/[email protected]/[email protected]/g s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/ s/jrfonseca\[email protected]/[email protected]/g s/keithw\[email protected]/[email protected]/g s/[email protected]/[email protected]/g s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/ s/[email protected]/[email protected]/ # Remove dead links s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g # C string src/gallium/state_trackers/vega/api_misc.c s/"Tungsten Graphics, Inc"/"VMware, Inc"/ Reviewed-by: Brian Paul <[email protected]>
* mesa: modified _mesa_align_free() to accept NULL pointerSiavash Eliasi2013-12-041-4/+2
| | | | | | | | | | | So that it acts like ordinary free(). This lets us remove a bunch of if statements where the function is called. v2: - Avoiding compile error on MSVC and possible warnings on other compilers. - Added comment regards passing NULL pointer being safe. Reviewed-by: Brian Paul <[email protected]>
* mesa: remove DD_TRI_LIGHT_TWOSIDE flagBrian Paul2013-04-171-6/+6
| | | | | | v2: use conditional operator instead of bit shifting Reviewed-by: Eric Anholt <[email protected]>
* mesa: remove DD_TRI_UNFILLED flagBrian Paul2013-04-171-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/reallocMatt Turner2012-09-051-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 Paul2012-09-011-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 flagsBrian Paul2012-03-121-1/+2
| | | | | Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* mesa: move last bits of GLchan stuff into swrastBrian Paul2011-09-201-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 insteadKristian Høgsberg2010-10-131-20/+20
|
* Drop macro wrappers for the aligned memory functionsKristian Høgsberg2010-02-191-2/+2
|
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-191-5/+5
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-1/+1
|
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-191-1/+1
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* tnl: fix double->float and int/uint conversion warningsBrian Paul2010-01-271-1/+1
| | | | Reported by Karl Schultz.
* 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
|