summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast_setup
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Move away from using the ctx->_TriangleCaps bitfield.Brian Paul2003-09-182-7/+13
| | | | | New macros in context.h for testing state: NEED_SECONDARY_COLOR and NEED_TWO_SIDED_LIGHTING.
* Generate browse info for Debug version.Karl Schultz2003-08-301-2/+2
|
* VC 6 Project FileKarl Schultz2003-07-261-0/+128
|
* Committing in .Jouk Jansen2003-07-021-0/+4
| | | | | | | | | | | | | | | | | | | | Enable installation on OpenVMS ODS5 disks. Modified Files: Mesa-newtree/progs/demos/descrip.mms Mesa-newtree/progs/tests/descrip.mms Mesa-newtree/progs/xdemos/descrip.mms Mesa-newtree/src/glut/glx/descrip.mms Mesa-newtree/src/mesa/array_cache/descrip.mms Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms Mesa-newtree/src/mesa/drivers/x11/descrip.mms Mesa-newtree/src/mesa/glapi/descrip.mms Mesa-newtree/src/mesa/main/descrip.mms Mesa-newtree/src/mesa/math/descrip.mms Mesa-newtree/src/mesa/swrast/descrip.mms Mesa-newtree/src/mesa/swrast_setup/descrip.mms Mesa-newtree/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* Committing in .Jouk Jansen2003-06-171-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | OpenVMS support for new directory tree Modified Files: Mesa-newtree/progs/demos/descrip.mms Mesa-newtree/progs/tests/descrip.mms Mesa-newtree/progs/xdemos/descrip.mms Mesa-newtree/src/glu/sgi/descrip.mms Mesa-newtree/src/glut/glx/descrip.mms Mesa-newtree/src/mesa/main/descrip.mms Added Files: Mesa-newtree/descrip.mms Mesa-newtree/mms-config. Mesa-newtree/src/descrip.mms Mesa-newtree/src/glu/descrip.mms Mesa-newtree/src/mesa/descrip.mms Mesa-newtree/src/mesa/array_cache/descrip.mms Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms Mesa-newtree/src/mesa/drivers/x11/descrip.mms Mesa-newtree/src/mesa/glapi/descrip.mms Mesa-newtree/src/mesa/math/descrip.mms Mesa-newtree/src/mesa/swrast/descrip.mms Mesa-newtree/src/mesa/swrast_setup/descrip.mms Mesa-newtree/src/mesa/tnl/descrip.mms Mesa-newtree/vms/analyze_map.com Mesa-newtree/vms/xlib.opt Mesa-newtree/vms/xlib_share.opt ----------------------------------------------------------------------
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-058-8/+0
|
* Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul2003-04-081-6/+4
| | | | | | Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
* Use 'ndc' instead of 'proj' terminology.Brian Paul2003-02-041-17/+17
| | | | Added a bunch of const qualifiers.
* First batch of code for GL_NV_fragment_program.Brian Paul2003-01-141-5/+5
| | | | | Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
* init facing to zeroBrian Paul2002-11-131-4/+4
|
* fix culling problem (bug 630649)Brian Paul2002-10-292-6/+24
|
* updated email addressesBrian Paul2002-10-299-18/+18
|
* Header file clean-up:Brian Paul2002-10-242-4/+4
| | | | | | | | 1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
* multiple GL_POINTS can now be rendered together into one fragment spanBrian Paul2002-10-044-9/+22
|
* finished up GL_EXT_stencil_two_sideBrian Paul2002-10-022-3/+10
|
* removed ctx->Polygon._OffsetAny - not really neededBrian Paul2002-10-021-2/+4
|
* pull-in changes from DRI/Mesa-4.0.4Brian Paul2002-09-172-17/+2
|
* initialize SWvertex array to zerosBrian Paul2002-08-081-2/+2
|
* Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul2002-06-291-2/+3
| | | | Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
* Implemented GL_NV_texture_rectangle extension.Brian Paul2002-06-151-5/+5
| | | | | | | | | Replace struct gl_texure_object's Dimension w/ Target field. Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled field is obsolete, but still present for now. This effectively removes the 8-texture units limit, 32 units now possible, but unlikely! New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field. Updated device drivers to use ctx->Texture._EnabledUnits.
* Added ctx parameter to _mesa_debug()Brian Paul2002-06-151-23/+27
| | | | | | Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
* more removal of fprintf() callsBrian Paul2002-06-131-5/+5
|
* replaced 0xf and 0xf0 with TEXTURE0_ANY and TEXTURE1_ANYBrian Paul2002-06-061-3/+3
|
* added two (GLchan *) castsBrian Paul2002-04-191-3/+3
|
* implemented vertex program point size controlBrian Paul2002-01-061-2/+3
|
* Another vertex program checkpoint: clean-up of vertex attribute storageBrian Paul2002-01-061-6/+7
| | | | | | in vertex_buffer. Improved vertex program pipeline stage such that output registers can be processed in a loop. Getting closer to where we need to be in order to implement performance optimizations...
* Vertex program checkpoint commit: converted all vertex attributes (color,Brian Paul2002-01-051-3/+3
| | | | | | normal, texcoords, fogcoord, secondary color, etc) to GLfloat[4] datatype. Aliasing of glVertex, glNormal, glColor, glFogCoord, etc. to glVertexAttrib now complete.
* Replace old matrix stacks with new code based on struct matrix_stack.Brian Paul2001-12-181-3/+3
| | | | | | Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
* more warning fixes (Karl Schultz)Brian Paul2001-09-141-4/+4
|
* Lighting now emits colors as CHAN_TYPE, as it used to. This will requireKeith Whitwell2001-07-176-41/+100
| | | | minor adjustments in the dri drivers for twosided lighting to work again.
* Rename some of the tnl->Driver.* functions to tnl->Driver.Render.*, to make itKeith Whitwell2001-07-128-329/+426
| | | | | | | | | | | | | | clear that these are owned by t_vb_render.c. Make swrast_setup opaque - it now hooks itself directly into tnl->Driver.Render.*. Add a _swsetup_Wakeup() call that does this. Update X11 (tested), osmesa and FX drivers for this change. FX compiles but is probably broken as the changes there are large. It was the only remaining driver that used the internal _swsetup_ functions for interp and copy_pv. This usage has been replaced with code from the DRI tdfx driver.
* Restore optimization for cva glArrayElement operation.Keith Whitwell2001-04-301-4/+4
|