summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast_setup
Commit message (Collapse)AuthorAgeFilesLines
* Don't cast the return value of malloc/reallocMatt Turner2012-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | v2: replace instances in dri/common/ dirs Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
* mesa: s/CALLOC/calloc/Brian Paul2012-09-011-1/+1
| | | | | | | v2: replace instances in dri/common/ dirs Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
* mesa: Convert to use GLbitfield64 directly.Mathias Fröhlich2011-12-282-18/+14
| | | | | Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmare.com>
* swrast: Clean up header file inclusion in ss_vb.h.Vinson Lee2010-12-251-1/+1
|
* swrast: Clean up header file inclusion in ss_triangle.h.Vinson Lee2010-12-251-1/+1
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-137-34/+34
|
* swrast: Clean up header file inclusion in ss_vb.h.Vinson Lee2010-08-131-1/+0
| | | | Remove unnecessary header swrast_setup.h.
* swrast: Clean up header file inclusion in ss_triangle.h.Vinson Lee2010-08-121-1/+1
| | | | | Remove ss_context.h. Include mtypes.h for GLcontext symbol.
* swrast: Clean up header file inclusion in ss_context.h.Vinson Lee2010-08-121-2/+1
| | | | | Remove mtypes.h and swrast_setup.h. Include glheader.h for GL symbols.
* swrast: fix incorrect specular highlights on backfacesTim Evans2010-06-211-1/+1
| | | | | | | See bug 28577 for details. NOTE: this is a candidate for the 7.8 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
* swrast: fix 16-bit/channel renderingBrian Paul2010-05-091-1/+1
| | | | NOTE: This is a candidate for the 7.8 stable branch
* tnl: Remove color-index TNL supportIan Romanick2010-03-031-5/+0
| | | | Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
* swrast_setup: Remove more color-index rendering supportIan Romanick2010-03-033-155/+79
| | | | Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
* mesa: Fix compiler warningsKarl Schultz2010-02-132-7/+7
| | | | | Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
* swrast: Silence uninitialized variable warnings in ss_tritmp.h.Vinson Lee2010-02-101-1/+1
|
* Merge branch 'mesa_7_7_branch'Brian Paul2009-12-211-3/+3
|\ | | | | | | | | | | Conflicts: src/mesa/main/version.h src/mesa/state_tracker/st_atom_shader.c
| * swrast: Silence uninitialized variable warnings in ss_tritmp.h.Vinson Lee2009-12-121-3/+3
| |
* | tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.Eric Anholt2009-11-191-8/+8
| |
* | tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtrEric Anholt2009-11-191-1/+1
|/
* swrast: Silence compiler warnings, give better structure to the code as a ↵Michal Krol2009-03-192-61/+62
| | | | result.
* mesa: fix vertex format/attribute bugBrian Paul2008-10-081-5/+8
| | | | | | | | If the tnl output attributes matches the swsetup input attributes we still need to check if the desired vertex color type (float vs. chan) has changed so that we use the right emit functions. Fixes a conformance failure found with logicop test at pathlevel 3.
* mesa: Prefix main includes with dir to avoid conflicts.José Fonseca2008-09-211-1/+1
| | | | Eliminate a couple of differences with gallium-0.2
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-184-12/+12
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* glcore: drop outdated sources files intented for xorgGeorge Sapountzis2008-04-231-10/+0
|
* simplify update two-side lighting test (follow-on to previous ↵Brian2007-12-181-3/+1
| | | | front/back-face changes)
* fix broken two-sided stencilBrian2007-11-303-6/+9
|
* Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesajoukj2007-11-301-8/+10
|\
| * Check for NULL VB->EdgeFlag array.Brian2007-11-051-8/+10
| | | | | | | | | | There might be a bug elsewhere, but this is a simple work-around for now. See bug 12614
* | Update of OpenVMS makefiles for the use of "new" include file conventionJouk2007-10-031-2/+4
| |
* | Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesaJouk2007-07-252-31/+35
|\ \ | |/
| * Minor clean-up of polygon offset logic. Properly compute _MRD field.Brian2007-07-111-19/+21
| |
| * In _swsetup_Translate(), update dest->attrib[FRAG_ATTRIB_COL0].Brian2007-07-061-10/+13
| | | | | | | | | | Also, check if we're in RGB vs. CI mode. This fixes a problem with incorrect rendering color seen with the redbook/polys demo.
| * added comment, remove dead codeBrian2007-06-281-3/+1
| |
| * Fix feedback color bug #11332. In feedback mode, produce float colors.Brian2007-06-221-0/+1
| |
* | Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesaJouk2007-06-084-100/+155
|\ \ | |/
| * Fix problem w/ two-sided lighting and fragment programs (depth-peel regression)Brian2007-05-233-23/+62
| |
| * Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-203-83/+99
| | | | | | | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* | Updated OpenVMS makefilesJ.Jansen2007-05-101-0/+1
|/ | | | | | | | | | | | modified: src/mesa/descrip.mms modified: src/mesa/drivers/osmesa/descrip.mms modified: src/mesa/drivers/x11/descrip.mms modified: src/mesa/main/descrip.mms modified: src/mesa/shader/descrip.mms modified: src/mesa/shader/slang/descrip.mms modified: src/mesa/swrast/descrip.mms modified: src/mesa/swrast_setup/descrip.mms modified: src/mesa/tnl/descrip.mms
* Document a deficiency in the _swrast_Translate() function with regard to ↵Brian2007-05-021-1/+2
| | | | point size.
* use EMIT_1F or EMIT_4F for fog depending on fragment program (bug 10788)Brian2007-04-281-2/+4
|
* remove SWvertex->fog field, use attrib fieldBrian2007-04-231-2/+2
|
* some re-org, clean-upBrian2007-04-231-25/+46
|
* fig segment fault issue in TAG(triangle), (see bug 10589)Xiang, Haihao2007-04-181-19/+24
| | | | | | Bit SS_TWOSIDE_BIT is set if gl_FrontFacing lives in fragment input (see commit 10b5895597d5e069183cb647d17eb412effceb4f). However, VB->ColorPtr[1] isn't assigned after that.
* Implement gl_FrontFacing for fragment shaders.Brian2007-03-102-3/+4
| | | | | | For the time being, we put the gl_FrontFacing value in the FOGC.Y input register. Combining FOGC and FrontFacing in one register is a bit of a hack and may need to be changed someday.
* Merge SWvertex texcoord and varying fields into attrib[] array field.Brian2007-02-051-4/+9
| | | | | Fragment texcoords and varying code is now unified in the point/line/triangle rasterization code. In the future, merge color, fog, etc. attribs.
* s/attribute/varying/Brian2006-12-211-1/+1
|
* varying var changesBrian2006-12-151-6/+12
|
* list header files in sources files (Dan Nicholson)Brian Paul2006-11-211-0/+7
|
* List of source (.c) files in each directory.Brian Paul2006-10-111-0/+3
| | | | | To be included by X.org Makefile.am files so that lists of files don't need to be hardcoded and frequently updated there.