summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Reorganized software rasterizer as a module which manages its own state,Keith Whitwell2000-11-0533-2104/+2578
| | | | | | with tighter interfaces with the rest of the world. Proper documentation to come.
* A new module to provide RasterSetup and advanced triangle/line/pointKeith Whitwell2000-11-0510-0/+1260
| | | | | | | | | | functionality layered on top of the software rasterizer. An example entrypoint: void _swsetup_Triangle( GLcontext, GLuint, GLuint, GLuint, GLuint ) will coerce the software rasterizer to draw flat, twoside-lit, unfilled and offset triangles (including decomposition to points or lines).
* Lots of changes:Keith Whitwell2000-11-0510-540/+155
| | | | | | | | | | - use the new interface to the software rasterizer. - manage all fallbacks internally, hooking in swrast or swrast_setup if necessary. - removed lots of marginal code no longer appropriate in a maturing driver. - reworked the vertex-setup and triangle routines, including drawing unfilled triangles from within the driver.
* Committing in .Jouk Jansen2000-11-011-27/+142
| | | | | | | | Modified Files: Mesa/src/descrip.mms Updated Makefiles for VMS ----------------------------------------------------------------------
* Always call Driver.SetReadBuffer() in copy pixels functions, just to be safeBrian Paul2000-10-311-2/+16
|
* Moved the software rasterizer to a new directory.Keith Whitwell2000-10-3132-7710/+244
|
* Moved software rasterizer functionality to new directory.Keith Whitwell2000-10-3144-0/+21081
|
* Remove dead code in FX driver.Keith Whitwell2000-10-314-15/+2
|
* 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-3012-79/+73
| | | | | 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-3035-531/+595
| | | | | | | | | | | | | | 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.
* Committing in .Jouk Jansen2000-10-301-2/+2
| | | | | | | | | Modified Files: Mesa/src/X/xm_api.c included macros.h ----------------------------------------------------------------------
* 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-299-33/+37
|
* 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-2824-242/+266
| | | | | 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.
* Lots of misc. bugfixes to bring GGIMesa in sync with the latest Mesa sources.Jon Taylor2000-10-284-7/+7
|
* 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-2710-78/+322
| | | | | | | | 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-2716-381/+752
| | | | EXT_secondary_color is disabled until we get some dispatch offsets from SGI.
* added GL_BGR case to bytes_per_pixel()Brian Paul2000-10-261-2/+3
|
* 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-232-12/+34
|
* Major audit of all Mesa's x86 assembly code. This round is basicallyGareth Hughes2000-10-2316-300/+955
| | | | | | | | 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.
* Rewrote get_static_proc_address(). It made mistakes in some situationsBrian Paul2000-10-191-6/+8
|
* 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
|
* added _mesa_get_teximages_from_driver()Brian Paul2000-10-162-4/+60
|
* if depthBits == 0, set DepthMask = 2^16 to fix per-fragment fog problemsBrian Paul2000-10-091-4/+5
|
* update TriangleCaps in GL_POINT/POLYGON_SMOOTH casesBrian Paul2000-10-051-1/+3
|
* better handling of GLX_DEPTH_SIZE in glXChooseVisual()Brian Paul2000-10-051-6/+7
|
* drawing color-index image to RGB window was brokenBrian Paul2000-10-052-22/+17
|
* more work to support N texture unitsBrian Paul2000-10-021-9/+17
|
* support for N texture unitsBrian Paul2000-09-303-140/+134
|
* generalized support for N texure unitsBrian Paul2000-09-292-331/+218
|
* removed ctx->Texture.Enabled, use ctx->Texture.ReallyEnabled insteadBrian Paul2000-09-289-151/+181
|
* new params for SpecificCompressedTexFormat() (Bill White)Brian Paul2000-09-282-24/+38
|
* Committing in .Jouk Jansen2000-09-271-2/+4
| | | | | | | | Modified Files: Mesa/src/descrip.mms inserted imports.c ----------------------------------------------------------------------