summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/glide/fxdrv.h
AgeCommit message (Collapse)Author
2003-11-03Voodoo2 happinessDaniel Borca
2003-10-29changes to accomodate texture compressionDaniel Borca
2003-10-21Napalm total immersionDaniel Borca
2003-10-14minor fixes + doc updateDaniel Borca
2003-10-09Reorganized combiners. Added optimized span functions.Daniel Borca
2003-10-02updates from Daniel BorcaBrian Paul
2003-08-19DOS and glide driver updates from Daniel BorcaBrian Paul
2003-07-17more DOS updates from Daniel BorcaBrian Paul
2003-01-08fix some float/ubyte mistakes (Daniel Borca)Brian Paul
2002-11-04misc driver updates (Daniel Borca)Brian 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-06-13New _mesa_debug() function to replace fprintf() calls.Brian Paul
Some source files updated to call _mesa_debug(), but not finished. Added __GLimports as a parameter to _mesa_create/init_context() and updated drivers accordingly. Fleshed-out more of the __GLimports and __GLexports functionality. Removed run-time config file support (config.c)
2001-09-23fixed some configure;make build problems. cleaned-up copyright info.Brian Paul
2001-09-18Fix FX driver to the point where gears & morph3d work.Keith Whitwell
Textures are broken (eg. isosurf).
2001-08-29changes to allow the driver to compile - still doesn't work thoughBrian Paul
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-05-10check hardware type and use SETUP_SNAP if neededBrian Paul
2001-04-24texture image code updates (not finished)Brian Paul
2001-03-07fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul
of potential problems
2001-03-03used indent to clean-up the codeBrian Paul
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-02-06updated texture image handling - STILL UNTESTEDBrian Paul
2001-02-06Overhaul of texture image handling.Brian Paul
1. gl_texture_image struct's Data pointer points to images in driver's format. 2. Added FetchTexel() function pointer to struct gl_texture_image. 3. Changed Driver Tex[Sub]Image functions, return void now. 4. Texture storage/fetch code in new texstore.c file. 5. Removed texture.[ch] - functions moved to state.c Note: FX driver updates not finished yet.
2001-01-16Fix several conformance problems. Hack solution to line stipple problem.Keith Whitwell
2001-01-05Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertexKeith Whitwell
is always the last vertex parameter. Modify clipping to preserve pv colors. Modify swrast and X11 driver to expect the pv in the last vertex (was looking in the first vertex previously). Remove all handling of flatshading from swrast_setup. Allow drivers to override the unclipped render tabs in tnl_render_stage directly. (Like in 3.4). Removed fxsimplerender stage. Modified t_vb_rendertmp.h to remove the need for 'parity' arguments in RENDER_TRI macros.
2001-01-03More color macro clean-ups.Brian Paul
FLOAT_TO_CHAN() macro removed.
2001-01-02Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)Brian Paul
Clean-up of color conversion macros. New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
2000-12-28Add render stage for unclipped vb's to fx driver.Keith Whitwell
Bump MAX_TEXTURE_UNITS to 8 Fix mem. leak in destroy_lists Fix crash in q3 (cva generally)
2000-12-26Major rework of tnl moduleKeith Whitwell
New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges.
2000-11-27minor changes to fix compiler warningsBrian Paul
2000-11-24Support for swappable t&l modules, including an example one in the FXKeith Whitwell
driver (enable with FX_ALLOW_VTXFMT=t).
2000-11-22 Modified Files:Jouk Jansen
Mesa/src/Allegro/amesa.c Mesa/src/DOS/dosmesa.c Mesa/src/FX/fxdd.c Mesa/src/FX/fxdrv.h Mesa/src/FX/fxfastpath.c Mesa/src/GGI/include/ggi/mesa/ggimesa.h Mesa/src/OSmesa/osmesa.c Mesa/src/SVGA/svgamesa.c Mesa/src/Trace/tr_control.c Mesa/src/Windows/wgl.c Mesa/src/X/xmesaP.h Mesa/src/X86/3dnow.c Mesa/src/X86/katmai.c Mesa/src/X86/x86.c Removed Files: Mesa/src/mms_depend Oops,... all files containing Caps in directory name or file name were missing in my types->mtypes commit. ----------------------------------------------------------------------
2000-11-16Move the transform and lighting code to two new directoriesKeith Whitwell
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.
2000-11-05Lots of changes:Keith Whitwell
- 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.
2000-10-31Remove dead code in FX driver.Keith Whitwell
2000-10-30Replace the flags Mesa was using for ctx->NewState with a new setKeith Whitwell
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.
2000-09-07Removed ctx->Driver.LogicOp().Brian Paul
ctx->Driver.Index/ColorMask() now return void. Removed SWmasking and SWLogicOpEnabled variables. LogicOps and color/index masking are no longer special-case device driver functions. The Xlib driver was the only driver that used them. Things are more uniform now.
2000-05-26include glheader.h instead of system headersBrian Paul
2000-05-04conditionally include some fields in the context struct for DRI / non-DRIBrian Paul
2000-04-20minor clean-upBrian Paul
2000-03-29new texture image download codeBrian Paul
2000-03-27removed tfxMipMapLevel's used and translate fields, initial teximage clean-upBrian Paul
2000-03-23added some comments and new texture image functionsBrian Paul
2000-03-22added Daryll's patches for texture alignmentBrian Paul
2000-03-07added target parameter to Driver.TexEnv()Brian Paul
2000-03-03clean-up warningsBrian Paul
2000-02-16update fog near/far bug fixBrian Paul
2000-02-16updated with changes from DRI project CVSBrian Paul
2000-02-09removed fxDDBufferSize protoBrian Paul
2000-01-18updated with latest DRI tree changesBrian Paul