summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* Move the transform and lighting code to two new directoriesKeith Whitwell2000-11-1632-4982/+1179
| | | | | | | | | | | | | | | math: Provides basic matrix and vector functionality that might be useful to multiple software t&l implementations, and is used by core mesa to manage the Model, Project, etc matrices. tnl: The real transform & lighting code from core mesa, including everything from glVertex3f through vertex buffer handling, transformation, clipping, lighting and handoff to a driver for rasterization. The interfaces of these can be further tightened up, but the basic splitting up of state and code move is done.
* added includes to silence warningsBrian Paul2000-11-152-2/+4
|
* Replaced ctx->Point.Size with ctx->Point._SizeBrian Paul2000-11-153-12/+12
| | | | Replaced ctx->Point.UserSize with ctx->Point.Size
* Removed Driver.Color() and Driver.Index() functions.Brian Paul2000-11-141-20/+6
| | | | | | Pass color or color index directly to WriteMono*() span functions. Updated current s/w drivers accordingly. Clean-up of X gc handling in XMesa driver.
* Cleanup of derived state calculation prior to seperating software T&LKeith Whitwell2000-11-139-396/+438
| | | | | | | | | | | | into a new directory. Specifically the handling of changes to lighting lighting space (light in model vs. light in eye) have been revamped. Moved several derived values used only by swrast into that directory. Removed direct calls to swrast_flush() from vbrender.c -- pushed into ctx->Driver.RenderFinish. Optimized flat-shading case in swrast_setup.
* fixed another texImage mistake in _mesa_GetTexImage()Brian Paul2000-11-131-2/+2
|
* init WrapR to GL_REPEAT modeBrian Paul2000-11-111-1/+2
|
* removed tr_attrib.cBrian Paul2000-11-111-2/+1
|
* latest sources from LokiBrian Paul2000-11-111-4/+4
|
* replaced _NEW_IMAGING with _NEW_PIXELBrian Paul2000-11-103-12/+11
|
* renamed imaging files to histogram since that's what's insideBrian Paul2000-11-107-15/+911
|
* minor changes to silence compiler warningsBrian Paul2000-11-102-2/+4
|
* removed old TexImage() and TexSubImage() functionsBrian Paul2000-11-101-25/+1
|
* restored call to _mesa_select_tex_image() in _mesa_GetTexImage()Brian Paul2000-11-101-23/+2
|
* GL_BGR case was misplaced in _mesa_is_legal_format_and_type() (Jeff Hartmann)Brian Paul2000-11-091-2/+2
|
* updated with bug fix from 3.4 branchBrian Paul2000-11-091-148/+196
|
* adjust x/y/zoffset parameters to fill_texture_image() by texture border widthBrian Paul2000-11-071-9/+10
|
* Committing in .Jouk Jansen2000-11-061-14/+31
| | | | | | | | | Modified Files: Mesa/src/descrip.mms Mesa/src/mms_depend Updating VMS compile support ----------------------------------------------------------------------
* added swrast/s_aaline.cBrian Paul2000-11-051-1/+3
|
* - Changes for new software rasterizer modulesKeith Whitwell2000-11-0523-806/+491
| | | | | | | | | - Remove support for choosing software fallbacks from core code - Remove partial fallback code from vbrender.c -- drivers are now expected to be able to find a triangle/quad function for every state, even if they have to use _swsetup_Triangle or _swsetup_Quad. - Marked derived variables in the GLcontext struct with a leading underscore '_'.
* Committing in .Jouk Jansen2000-11-011-27/+142
| | | | | | | | Modified Files: Mesa/src/descrip.mms Updated Makefiles for VMS ----------------------------------------------------------------------
* Moved the software rasterizer to a new directory.Keith Whitwell2000-10-3126-7619/+116
|
* Remove dead code in FX driver.Keith Whitwell2000-10-311-4/+1
|
* Rearrange VERT_* flags to support 4 texture units.Keith Whitwell2000-10-302-7/+8
|
* Removed UPDATE_IMAGE_TRANSFER_STATE, use _NEW_PIXEL flag instead.Brian Paul2000-10-3011-63/+57
| | | | | More minor GLchan changes. Silence some compiler warnings in cva.[ch]
* Removed references to gcc's __FUNCTION__ macro.Keith Whitwell2000-10-301-3/+1
| | | | Removed dead file fog_tmp.h
* set *t->flag = enabled in gl_extensions_add(), otherwise, extension booleans ↵Brian Paul2000-10-301-4/+6
| | | | weren't set
* Replace the flags Mesa was using for ctx->NewState with a new setKeith Whitwell2000-10-3030-518/+504
| | | | | | | | | | | | | | based on the GL attribute groups. Introduced constants describing the circumstances under which some key derived values can change: _SWRAST_NEW_RASTERMASK -- ctx->RasterMask _SWRAST_NEW_TRIANGLE -- The software rasterizer's triangle function _DD_NEW_FEEDBACK -- the 'DD_FEEDBACK' bit in ctx->TriangleCaps These are helpful in deciding whether you need to recalculate state if your recalculation involves reference to a derived value.
* renamed Current.ByteColor Current.ColorBrian Paul2000-10-296-34/+34
|
* more minor header file re-org (moved CONST, ASSERT, INLINE to config.h)Brian Paul2000-10-298-32/+35
|
* More GLchan color channel changes.Brian Paul2000-10-2917-581/+529
| | | | | | Some header file re-org: Move matrix, vertex buffer structs to types.h to fix #include mess. Remove typedef, extern declarations from config.h
* New colormac.h file for color-related macros.Brian Paul2000-10-2816-123/+277
| | | | Lot's of clean-up in macros.h and mmath.h
* Basic work to support deep color channels:Brian Paul2000-10-2823-241/+265
| | | | | Replace GLubyte with GLchan Replace 255 with CHAN_MAX
* Do per-pixel fog when GL_FOG_HINT is GL_NICEST.Keith Whitwell2000-10-281-6/+6
| | | | Fix scaling bug in per-pixel fog calculations.
* restored test for __alpha in _mesa_win_fog_coords_from_z()Brian Paul2000-10-271-3/+4
|
* Enabled GL_EXT_secondary_color. Fixed a bunch of typos in the dlist.cBrian Paul2000-10-274-54/+43
| | | | | | | | and state.c file for plugging those functions into the dispatch table. Don't use Mesa 3.5 for DRI until SGI approves the new dispatch offsets. Commented-out references to ctx->FogMode and VB->Specular in FX driver. Minor clean-up in extensions.c Removed unused prototype in fog.h
* Implement EXT_fog_coord and EXT_secondary_color.Keith Whitwell2000-10-2715-381/+751
| | | | EXT_secondary_color is disabled until we get some dispatch offsets from SGI.
* clarified meaning of DEFAULT_SOFTWARE_DEPTH_BITS valueBrian Paul2000-10-261-3/+8
|
* added incomplete() debug function/macroBrian Paul2000-10-241-1/+26
|
* signal NEW_TEXTURING if there's a Driver.BindTexture() functionBrian Paul2000-10-241-1/+3
|
* generate separate libOSMesa library ala XFree86/DRIBrian Paul2000-10-231-6/+17
|
* Major audit of all Mesa's x86 assembly code. This round is basicallyGareth Hughes2000-10-232-7/+8
| | | | | | | | general cleanups - more to come. Added P6 architecture timing to debug_xform routines. Still need to add test_all_vertex_functions test for the v16 asm. Dynamic reconfiguration of counter overhead for more accurate benchmarking.
* fixed a texture enable bugBrian Paul2000-10-212-27/+10
|
* polygon offset changes; added Visual->MRD fieldBrian Paul2000-10-212-2/+5
|
* Changes for multitexture > 3, code clean-ups.Brian Paul2000-10-205-14/+39
| | | | | | Added GLboolean ctx->Texture.MultiTextureEnabled to determine when multitexture is enabled. Eventually ctx->Texture.ReallyEnabled may become a boolean.
* glPixelStore(GL_PACK/UNPACK_SKIP_IMAGES) wasn't handled correctlyBrian Paul2000-10-191-2/+18
|
* call Driver.SetReadBuffer() in clear_color_buffers() to fix colormasked ↵Brian Paul2000-10-191-2/+7
| | | | clear bug
* improved blending accuracy to fix Glean test failuresBrian Paul2000-10-191-19/+39
|
* More fixes for MAX_TEXTURE_UNITS > 2. Seems to work now.Brian Paul2000-10-183-46/+58
| | | | | Misc code clean-ups, minor bug fixes. MAX_TEXTURE_UNITS now defaults to 3.
* ported render begin/end calls from Mesa 3.4Brian Paul2000-10-173-6/+17
|