aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/glide
Commit message (Collapse)AuthorAgeFilesLines
...
* silence compiler warningsBrian Paul2001-03-272-3/+3
|
* added teximage rescaling code. untested at this pointBrian Paul2001-03-211-8/+100
|
* minor updates for 3.5Brian Paul2001-03-211-5/+1
|
* use new texture conversion code, still have to do image rescalingBrian Paul2001-03-211-71/+43
|
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-194-90/+83
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-1/+1
| | | | of potential problems
* used indent to clean-up the codeBrian Paul2001-03-0313-5466/+5758
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-035-14/+14
|
* minor extension tweaksBrian Paul2001-02-271-0/+3
|
* Disable most extensions by default. Drivers should enable them as needed.Brian Paul2001-02-261-14/+6
| | | | Renamed gl_*() functions as _mesa_*().
* plug in fallback teximage DD functionsBrian Paul2001-02-191-1/+13
|
* Changed FetchTexel() function pointer arguments.Brian Paul2001-02-171-32/+23
| | | | | | | Implemented glGetTexImage(format=GL_COLOR_INDEX). Changed _mesa_unpack_depth_span() args. Minor changes/clean-ups in mtypes.h. Histogram counter component sizes were wrong.
* Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR whenKeith Whitwell2001-02-161-2/+1
| | | | | | | | | | | | | 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.
* new texture image routines work nowBrian Paul2001-02-072-14/+22
|
* updated texture image handling - STILL UNTESTEDBrian Paul2001-02-063-320/+480
|
* Overhaul of texture image handling.Brian Paul2001-02-063-53/+43
| | | | | | | | | | 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.
* Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixelsKeith Whitwell2001-01-291-193/+208
| | | | | | | | | | | | 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.
* removed the unused/broken GL_PGI_misc_hints extensionBrian Paul2001-01-241-3/+0
|
* Lots of GLchan datatype changes.Brian Paul2001-01-241-9/+6
| | | | | | | | | 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
* Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul2001-01-231-3/+3
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
* Fix several conformance problems. Hack solution to line stipple problem.Keith Whitwell2001-01-162-3/+34
|
* Fixed 'IRound' to 'IROUND' in mmath.hKeith Whitwell2001-01-081-6/+4
| | | | | | Fixed fallback path for drawarrays/_tnl_hard_begin. Removed disabled debug code.
* Bring the FX driver into line with core mesa changes.Keith Whitwell2001-01-083-26/+30
|
* Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertexKeith Whitwell2001-01-055-37/+103
| | | | | | | | | | | | | | 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.
* More color macro clean-ups.Brian Paul2001-01-031-2/+0
| | | | FLOAT_TO_CHAN() macro removed.
* Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)Brian Paul2001-01-022-0/+18
| | | | | Clean-up of color conversion macros. New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
* Add render stage for unclipped vb's to fx driver.Keith Whitwell2000-12-283-14/+62
| | | | | | Bump MAX_TEXTURE_UNITS to 8 Fix mem. leak in destroy_lists Fix crash in q3 (cva generally)
* Major rework of tnl moduleKeith Whitwell2000-12-268-145/+1298
| | | | | | | 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.
* minor changes to fix compiler warningsBrian Paul2000-11-271-0/+1
|
* Support for swappable t&l modules, including an example one in the FXKeith Whitwell2000-11-247-170/+213
| | | | driver (enable with FX_ALLOW_VTXFMT=t).
* Modified Files:Jouk Jansen2000-11-222-49/+49
| | | | | | | | | | | | | | | | | | 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. ----------------------------------------------------------------------
* Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.Brian Paul2000-11-192-4/+4
| | | | | | | Completely removed the dirty texture object list. Set texObj->Complete to GL_FALSE to indicate dirty. Made point/line/triangle/quad SWvertex parameters const. Minor code clean-ups.
* Minor header file changes to silence warnings.Brian Paul2000-11-171-21/+0
| | | | | Added _mesa_enable_sw_extensions(), called by software-only drivers to enable all s/w-supported GL extensions.
* Move the transform and lighting code to two new directoriesKeith Whitwell2000-11-164-614/+22
| | | | | | | | | | | | | | | 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.
* Removed Driver.Color() and Driver.Index() functions.Brian Paul2000-11-142-5/+9
| | | | | | 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-131-1/+5
| | | | | | | | | | | | 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.
* removed unused varBrian Paul2000-11-131-1/+0
|
* minor changes to silence compiler warningsBrian Paul2000-11-101-0/+1
|
* 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.
* Moved the software rasterizer to a new directory.Keith Whitwell2000-10-311-2/+2
|
* Remove dead code in FX driver.Keith Whitwell2000-10-312-7/+0
|
* Replace the flags Mesa was using for ctx->NewState with a new setKeith Whitwell2000-10-303-11/+51
| | | | | | | | | | | | | | 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.
* Basic work to support deep color channels:Brian Paul2000-10-281-1/+1
| | | | | Replace GLubyte with GLchan Replace 255 with CHAN_MAX
* Enabled GL_EXT_secondary_color. Fixed a bunch of typos in the dlist.cBrian Paul2000-10-271-1/+1
| | | | | | | | 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-271-0/+1
| | | | EXT_secondary_color is disabled until we get some dispatch offsets from SGI.
* First batch of OpenGL SI related changes:Brian Paul2000-09-262-24/+24
| | | | | | | Renamed struct gl_context to struct __GLcontextRec. Include glcore.h, setup GL imports/exports. Replaced gl_ prefix with _mesa_ prefix in context.[ch] functions. GLcontext's Visual field is no longer a pointer.
* removed unused NEW_DRVSTATE flagsBrian Paul2000-09-081-1/+0
|
* removed ctx->Driver.Dither functionBrian Paul2000-09-082-18/+7
|
* Removed ctx->Driver.LogicOp().Brian Paul2000-09-072-6/+6
| | | | | | | | 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.
* fbiRev and tmuRev weren't getting initialized when using Glide3Brian Paul2000-08-311-13/+26
|