summaryrefslogtreecommitdiff
path: root/src/mesa/swrast_setup
AgeCommit message (Collapse)Author
2003-11-25fix assorted g++ warningsBrian Paul
2003-11-24Merge vtx-0-2-branchKeith Whitwell
2003-10-22Initial work for bounds checking of vertex arrays and vertex buffer objects.Brian Paul
Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there.
2003-09-19Assorted casts to silence g++ warnings.Brian Paul
2003-09-19Make binary - even though this is a text file, common practice is to store ↵Karl Schultz
MS studio files as binary
2003-09-18Move away from using the ctx->_TriangleCaps bitfield.Brian Paul
New macros in context.h for testing state: NEED_SECONDARY_COLOR and NEED_TWO_SIDED_LIGHTING.
2003-08-30Generate browse info for Debug version.Karl Schultz
2003-07-26VC 6 Project FileKarl Schultz
2003-07-02 Committing in .Jouk Jansen
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 ----------------------------------------------------------------------
2003-06-17 Committing in .Jouk Jansen
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 ----------------------------------------------------------------------
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2003-04-08Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul
Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
2003-02-04Use 'ndc' instead of 'proj' terminology.Brian Paul
Added a bunch of const qualifiers.
2003-01-14First batch of code for GL_NV_fragment_program.Brian Paul
Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
2002-11-13init facing to zeroBrian Paul
2002-10-29fix culling problem (bug 630649)Brian Paul
2002-10-29updated email addressesBrian Paul
2002-10-24Header file clean-up:Brian Paul
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.
2002-10-04multiple GL_POINTS can now be rendered together into one fragment spanBrian Paul
2002-10-02finished up GL_EXT_stencil_two_sideBrian Paul
2002-10-02removed ctx->Polygon._OffsetAny - not really neededBrian Paul
2002-09-17pull-in changes from DRI/Mesa-4.0.4Brian Paul
2002-08-08initialize SWvertex array to zerosBrian Paul
2002-06-29Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
2002-06-15Implemented GL_NV_texture_rectangle extension.Brian Paul
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.
2002-06-15Added ctx parameter to _mesa_debug()Brian Paul
Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
2002-06-13more removal of fprintf() callsBrian Paul
2002-06-06replaced 0xf and 0xf0 with TEXTURE0_ANY and TEXTURE1_ANYBrian Paul
2002-04-19added two (GLchan *) castsBrian Paul
2002-01-06implemented vertex program point size controlBrian Paul
2002-01-06Another vertex program checkpoint: clean-up of vertex attribute storageBrian Paul
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...
2002-01-05Vertex program checkpoint commit: converted all vertex attributes (color,Brian Paul
normal, texcoords, fogcoord, secondary color, etc) to GLfloat[4] datatype. Aliasing of glVertex, glNormal, glColor, glFogCoord, etc. to glVertexAttrib now complete.
2001-12-18Replace old matrix stacks with new code based on struct matrix_stack.Brian Paul
Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
2001-09-14more warning fixes (Karl Schultz)Brian Paul
2001-07-17Lighting now emits colors as CHAN_TYPE, as it used to. This will requireKeith Whitwell
minor adjustments in the dri drivers for twosided lighting to work again.
2001-07-12Rename some of the tnl->Driver.* functions to tnl->Driver.Render.*, to make itKeith Whitwell
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.
2001-04-30Restore optimization for cva glArrayElement operation.Keith Whitwell
2001-04-28Support for floating point color representation in tnl module.Keith Whitwell
2001-03-29Remove ENABLE_* flags, ctx->_Enabled.Keith Whitwell
Replace with ctx->Texture._TexMatEnabled, ctx->Texture._TexGenEnabled.
2001-03-29Removed DD_Z_NEVER.Brian Paul
Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE.
2001-03-21* src/swrast_setup/ss_tritmp.h (quad): Changed name of this function topesco
quadfunc. * common_rules.make: Use tabs for command indentation.
2001-03-19Split driver struct into swrast/tnl/core components.Keith Whitwell
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-08More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.Brian Paul
2001-03-07fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul
of potential problems
2001-02-16Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR whenKeith Whitwell
texturing is not enabled, and without requiring the two colors be added externally. As a part of this, collapsed the decomposition of quads into triangles inside swrast to be hardwired into _swrast_Quad; removed s_quads.[ch]. Removed checks on texture state from t_vb_light.c, which was previously required by swrast. Moved the t_dd_ templates to a new directory.
2001-02-16Fixed conform problems with recent material tracking change.Keith Whitwell
Remove redundant 'update_materials' stage. Fix conform segfault with seperate specular colors in mustpass.c. These tests still fail, however.
2001-01-29Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixelsKeith Whitwell
functions from core mesa -- if drivers need these fallbacks they must now call them themselves. Introduced hooks for clip-vertex-interpolation and the rendering of clipped lines and polygons. Allows drivers to interpolate their hardware-format vertices directly. Used in dri drivers to replace fastpath code. Slight optimizations to pipeline build/run routines.
2001-01-24Lots of GLchan datatype changes.Brian Paul
Added GLvector4us datatype in math/m_vector.[ch] Added _math_trans_4us() in math/m_translate.[ch] Choose GLvector4ub, GLvector4us, GLvector4f at compile time based on CHAN_BITS. Made Driver.ClearColor() and Driver.ClearIndex() optional driver functions. Changed args to Driver.ClearColor(), updated drivers. Reordered files in Makefile.X11
2001-01-23Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul
Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.