summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast_setup
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Prefix main includes with dir to avoid conflicts.José Fonseca2008-07-245-10/+10
| | | | | Some of the headers in src/mesa/main have pretty common names which easily conflict with third-party code, e.g. config.h
* Remove files of unsupported build systems.José Fonseca2008-02-251-39/+0
|
* Rename 'mms-config.' to 'mms.config'.Michal Krol2007-10-291-1/+1
| | | | | It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'.
* 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
|
* 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.
* 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.
* s/ATTRIBUTE/GENERIC/Brian Paul2006-06-141-2/+2
|
* Rename _TNL_ATTRIB_ATTRIBUTE* to _TNL_ATTRIB_GENERIC*Brian Paul2006-06-141-1/+1
|
* Put color index attribute into the 6th attribute slot.Brian Paul2006-04-251-5/+5
| | | | | | Update a lot of loops, conditionals to use the _TNL_FIRST/LAST_* values instead of specific vertex attributes. Remove the EdgeFlagv function from the GLvertexformat struct.
* s/MaxTextureUnits/MaxTextureCoordUnits/Brian Paul2006-04-141-5/+3
|
* More GLSL code:Michal Krol2006-04-112-37/+46
| | | | | | | | | | | | - use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs;
* Committing in .Jouk Jansen2005-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 1) change compilation on VMS to use IEEE floating points 2) one more problem with _mesa_sprintf solved Modified Files: Mesa/docs/README.VMS Mesa/progs/demos/descrip.mms Mesa/progs/tests/descrip.mms Mesa/progs/util/descrip.mms Mesa/progs/xdemos/descrip.mms Mesa/src/glu/mesa/descrip.mms Mesa/src/glu/sgi/descrip.mms Mesa/src/glut/glx/descrip.mms Mesa/src/mesa/array_cache/descrip.mms Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/drivers/osmesa/descrip.mms Mesa/src/mesa/drivers/x11/descrip.mms Mesa/src/mesa/glapi/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/main/texobj.c Mesa/src/mesa/math/descrip.mms Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/grammar/descrip.mms Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/swrast_setup/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* OpenGL 2.0's two-sided stencil feature wasn't implemented correctly.Brian Paul2005-09-131-1/+1
| | | | | See comment near top of stencil.c for info about OpenGL 2.0 vs. GL_EXT_stencil_two_side.
* moved to windows build dirKarl Schultz2005-05-241-124/+0
|
* Fix valgrind complaint, conform vertex order test.Keith Whitwell2005-05-111-6/+20
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-1/+1
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* Rename the various function types in t_context.h to include a tnl_ prefix.Keith Whitwell2004-07-011-2/+2
|
* Fix minor warnings found with g++.Brian Paul2004-05-042-3/+3
|
* Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul2004-04-231-3/+3
| | | | | | | program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program.
* fix array index error in _swsetup_Translate (Felix)Brian Paul2004-03-211-2/+2
|
* added clamping to polygon offset to prevent potential negative Z values and ↵Brian Paul2004-03-031-16/+15
| | | | FP exceptions
* another tweak to two-sided detection testBrian Paul2004-02-041-1/+1
|
* fix two-sided lighting / vertex program bug (#887330)Brian Paul2004-02-042-8/+10
|
* change type of loop index var to remove compiler warning.Karl Schultz2004-01-131-1/+1
|
* remove ss_vb.c from projectKarl Schultz2004-01-131-4/+0
|
* Committing in .Jouk Jansen2004-01-081-3/+2
| | | | | | | | | Update OpenVMS makefiles Modified Files: Mesa/src/mesa/swrast_setup/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* Fixes for _swsetup_Translate()Keith Whitwell2004-01-061-2/+9
|
* Beef up t_vertex.c:Keith Whitwell2004-01-054-741/+76
| | | | | | | | | | | - 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 Whitwell2004-01-052-0/+48
|
* Update NEED_SECONDARY_COLOR macro to test if either vertex/fragmentBrian Paul2003-12-091-0/+1
| | | | | programs are enabled and if they need secondary color input register. Patch by Karl Rasche, with tweaks by Brian.
* Save and restore front colors on backfacing triangles rather than trying toKeith Whitwell2003-11-281-13/+28
| | | | pull them again from the VB pointers. Avoids stride issues.
* fix assorted g++ warningsBrian Paul2003-11-252-7/+7
|
* Merge vtx-0-2-branchKeith Whitwell2003-11-244-38/+33
|
* Initial work for bounds checking of vertex arrays and vertex buffer objects.Brian Paul2003-10-221-2/+2
| | | | | | Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there.
* Assorted casts to silence g++ warnings.Brian Paul2003-09-191-1/+1
|
* Make binary - even though this is a text file, common practice is to store ↵Karl Schultz2003-09-191-128/+128
| | | | MS studio files as binary