summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Use a lookup table to compute exponents in tnl fogging code. SlightlyKeith Whitwell2001-02-061-2/+2
| | | | clean up the shine table lookup macro.
* misc updates to match latest device driver changesBrian Paul2001-02-0611-33/+70
|
* fixed inverted Y coord for dithering in write_span_DITHER_5R6G5B_ximage()Brian Paul2001-01-291-7/+8
|
* Update implementations of Driver.Clear().Keith Whitwell2001-01-292-159/+156
|
* Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixelsKeith Whitwell2001-01-293-201/+250
| | | | | | | | | | | | 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-2415-638/+706
| | | | | | | | | 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-237-125/+172
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
* updated ctx->Driver functions for s/w setupBrian Paul2001-01-161-2/+4
|
* Fix several conformance problems. Hack solution to line stipple problem.Keith Whitwell2001-01-163-13/+45
|
* initialize Driver.RenderPrimitive to _swsetup_RenderPrimNoopBrian Paul2001-01-121-2/+2
|
* Fixed 'IRound' to 'IROUND' in mmath.hKeith Whitwell2001-01-081-6/+4
| | | | | | Fixed fallback path for drawarrays/_tnl_hard_begin. Removed disabled debug code.
* revert XMesaCreateContext changesKeith Whitwell2001-01-082-90/+85
|
* Bring the FX driver into line with core mesa changes.Keith Whitwell2001-01-083-26/+30
|
* Modify X11 driver and fake glx to store a GLcontextKeith Whitwell2001-01-088-97/+103
| | | | | | | (ie a 'struct __GLcontextRec *') instead of an 'XMesaContext'. This is to fix conflicts in XFree86 where both the indirect XMesaContext and the GLcontext were calling themselves __GLcontextRec's.
* Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertexKeith Whitwell2001-01-058-96/+165
| | | | | | | | | | | | | | 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.
* Added missing #include "mmath.h"Jon Taylor2001-01-031-1/+2
|
* Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)Brian Paul2001-01-025-3/+24
| | | | | 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)
* Fixed GGIMesa build problems.Jon Taylor2000-12-282-47/+28
| | | | Swrast triangle drawing fixes.
* Major rework of tnl moduleKeith Whitwell2000-12-2614-176/+1329
| | | | | | | 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.
* added more GLX extension function stubsBrian Paul2000-12-153-94/+702
|
* added some more GLX extension entrypoints (fix GLUT link problems when using ↵Brian Paul2000-12-143-11/+147
| | | | glxext.h)
* use inverted Y coordinate for choosing dither value (conformance fixes)Brian Paul2000-12-132-23/+31
|
* tweaked truecolor dither kernel setup codeBrian Paul2000-12-131-6/+6
|
* fixed bug 123918: glXCopySubBuffer() y position off by oneBrian Paul2000-12-081-3/+3
|
* 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-248-173/+216
| | | | driver (enable with FX_ALLOW_VTXFMT=t).
* More auto* build system updatesJon Taylor2000-11-231-1/+3
|
* Modified Files:Jouk Jansen2000-11-223-375/+295
| | | | | | | | | | | | Mesa/macos/src-gli/MDD.h Mesa/macos/src-gli/mgliContext.c Mesa/macos/src-gli/mgliContext.h Mesa/macos/src-gli/mgliError.c Mesa/src/D3D/D3DMESA.H Mesa/src/D3D/D3Dvbrender.c Mesa/src/D3D/NullProcs.c Mesa/src/S3/S3mesa.c Some more files with capitals. ----------------------------------------------------------------------
* Modified Files:Jouk Jansen2000-11-229-117/+137
| | | | | | | | | | | | | | | | | | 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. ----------------------------------------------------------------------
* Committing in .Jouk Jansen2000-11-226-99/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modified Files: Mesa/macos/gli_api/gliapi1.h Mesa/macos/gli_api/gliapi2.h Mesa/macos/gli_api/gliapiext.h Mesa/macos/src-gli/fxgli.c Mesa/macos/src-gli/fxgli.h Mesa/macos/src-gli/fxgli2.c Mesa/macos/src-gli/fxgli_tridebug.c Mesa/src/accum.c Mesa/src/accum.h Mesa/src/all.h Mesa/src/alpha.c Mesa/src/alpha.h Mesa/src/attrib.c Mesa/src/attrib.h Mesa/src/bitmap.c Mesa/src/bitmap.h Mesa/src/blend.c Mesa/src/blend.h Mesa/src/buffers.c Mesa/src/buffers.h Mesa/src/clip.c Mesa/src/clip.h Mesa/src/colortab.h Mesa/src/config.c Mesa/src/context.c Mesa/src/context.h Mesa/src/convolve.c Mesa/src/convolve.h Mesa/src/copypix.c Mesa/src/copypix.h Mesa/src/debug.c Mesa/src/depth.c Mesa/src/depth.h Mesa/src/dlist.c Mesa/src/dlist.h Mesa/src/drawpix.c Mesa/src/drawpix.h Mesa/src/enable.c Mesa/src/enable.h Mesa/src/eval.c Mesa/src/eval.h Mesa/src/extensions.c Mesa/src/extensions.h Mesa/src/feedback.c Mesa/src/feedback.h Mesa/src/fog.c Mesa/src/fog.h Mesa/src/get.c Mesa/src/get.h Mesa/src/glapi.c Mesa/src/glthread.h Mesa/src/highpc.c Mesa/src/hint.h Mesa/src/histogram.h Mesa/src/image.c Mesa/src/image.h Mesa/src/imports.c Mesa/src/light.c Mesa/src/light.h Mesa/src/lines.c Mesa/src/lines.h Mesa/src/logic.c Mesa/src/logic.h Mesa/src/masking.c Mesa/src/masking.h Mesa/src/matrix.c Mesa/src/matrix.h Mesa/src/pixel.c Mesa/src/pixel.h Mesa/src/points.c Mesa/src/points.h Mesa/src/polygon.c Mesa/src/polygon.h Mesa/src/rastpos.c Mesa/src/readpix.c Mesa/src/scissor.c Mesa/src/scissor.h Mesa/src/state.c Mesa/src/state.h Mesa/src/stencil.c Mesa/src/stencil.h Mesa/src/teximage.c Mesa/src/teximage.h Mesa/src/texobj.c Mesa/src/texobj.h Mesa/src/texstate.c Mesa/src/texstate.h Mesa/src/texture.c Mesa/src/texture.h Mesa/src/texutil.c Mesa/src/texutil.h Mesa/src/varray.c Mesa/src/varray.h Mesa/src/X/fakeglx.c Mesa/src/X/xm_api.c Mesa/src/X/xm_dd.c Mesa/src/X/xm_line.c Mesa/src/X/xm_span.c Mesa/src/X/xm_tri.c Mesa/src/swrast/s_aaline.c Mesa/src/swrast/s_aaline.h Mesa/src/swrast/s_aatriangle.h Mesa/src/swrast/s_accum.h Mesa/src/swrast/s_alpha.h Mesa/src/swrast/s_alphabuf.h Mesa/src/swrast/s_blend.h Mesa/src/swrast/s_context.c Mesa/src/swrast/s_context.h Mesa/src/swrast/s_depth.h Mesa/src/swrast/s_drawpix.h Mesa/src/swrast/s_feedback.h Mesa/src/swrast/s_fog.h Mesa/src/swrast/s_histogram.h Mesa/src/swrast/s_lines.h Mesa/src/swrast/s_logic.h Mesa/src/swrast/s_masking.h Mesa/src/swrast/s_pb.h Mesa/src/swrast/s_pixeltex.h Mesa/src/swrast/s_points.h Mesa/src/swrast/s_quads.c Mesa/src/swrast/s_quads.h Mesa/src/swrast/s_scissor.h Mesa/src/swrast/s_span.h Mesa/src/swrast/s_stencil.h Mesa/src/swrast/s_texture.h Mesa/src/swrast/s_triangle.h Mesa/src/swrast/s_zoom.h Mesa/src/swrast/swrast.h Mesa/src/swrast_setup/ss_context.h Mesa/src/swrast_setup/ss_triangle.c Mesa/src/swrast_setup/ss_triangle.h Mesa/src/swrast_setup/ss_vb.h Mesa/src/tnl/t_clip.c Mesa/src/tnl/t_clip.h Mesa/src/tnl/t_context.c Mesa/src/tnl/t_context.h Mesa/src/tnl/t_cva.c Mesa/src/tnl/t_cva.h Mesa/src/tnl/t_debug.c Mesa/src/tnl/t_debug.h Mesa/src/tnl/t_dlist.h Mesa/src/tnl/t_eval.c Mesa/src/tnl/t_eval.h Mesa/src/tnl/t_fog.c Mesa/src/tnl/t_fog.h Mesa/src/tnl/t_light.c Mesa/src/tnl/t_light.h Mesa/src/tnl/t_pipeline.c Mesa/src/tnl/t_pipeline.h Mesa/src/tnl/t_shade.c Mesa/src/tnl/t_shade.h Mesa/src/tnl/t_stages.c Mesa/src/tnl/t_stages.h Mesa/src/tnl/t_texture.c Mesa/src/tnl/t_texture.h Mesa/src/tnl/t_trans_elt.c Mesa/src/tnl/t_trans_elt.h Mesa/src/tnl/t_varray.c Mesa/src/tnl/t_varray.h Mesa/src/tnl/t_vb.c Mesa/src/tnl/t_vb.h Mesa/src/tnl/t_vbcull.c Mesa/src/tnl/t_vbcull.h Mesa/src/tnl/t_vbfill.c Mesa/src/tnl/t_vbfill.h Mesa/src/tnl/t_vbindirect.c Mesa/src/tnl/t_vbindirect.h Mesa/src/tnl/t_vbrender.c Mesa/src/tnl/t_vbrender.h Mesa/src/tnl/t_vbxform.c Mesa/src/tnl/t_vbxform.h Mesa/src/tnl/tnl.h Added Files: Mesa/src/mtypes.h Removed Files: Mesa/src/types.h Changed Mesa/src/types to Mesa/src/mtypes.h to avoid conflicts while compiling on a VMS system. ----------------------------------------------------------------------
* More auto* build system fixesJon Taylor2000-11-221-0/+3
|
* swrast setup fixesJon Taylor2000-11-221-4/+48
|
* More auto* build fixesJon Taylor2000-11-211-1/+1
| | | | Removed spurious trace/Makefile from repository
* * More work on the auto* build systemJon Taylor2000-11-195-72/+95
| | | | | * Added missing #includes all over the place * Added GGI-style debugging harness to GGIMesa
* Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.Brian Paul2000-11-195-165/+169
| | | | | | | 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.
* * Auto* build fixesJon Taylor2000-11-182-10/+9
| | | | * Added missing includes to math/*
* Minor header file changes to silence warnings.Brian Paul2000-11-177-33/+26
| | | | | 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-1612-637/+43
| | | | | | | | | | | | | | | 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.
* Small compile fixJon Taylor2000-11-161-2/+0
|
* more Driver.Color, Driver.Index updatesBrian Paul2000-11-142-58/+54
|
* removed unused set_color() and set_index() functionsBrian Paul2000-11-141-28/+6
|
* Removed Driver.Color() and Driver.Index() functions.Brian Paul2000-11-1421-548/+405
| | | | | | 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-132-3/+7
| | | | | | | | | | | | 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
|
* * Updated the autoconf/automake/libtool build systemJon Taylor2000-11-131-2/+8
| | | | * GGIMesa's stubs targets now uses swrast
* minor changes to silence compiler warningsBrian Paul2000-11-101-0/+1
|
* patched to silence compiler warnings (Martin Lindhe)Brian Paul2000-11-102-4/+4
|