summaryrefslogtreecommitdiff
path: root/src/mesa/main/dd.h
AgeCommit message (Collapse)Author
2001-02-06Use a lookup table to compute exponents in tnl fogging code. SlightlyKeith Whitwell
clean up the shine table lookup macro.
2001-01-29Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixelsKeith Whitwell
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.
2001-01-24Lots of GLchan datatype changes.Brian Paul
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
2001-01-09Added PointSize and PointParametersfv to dd interface, for completeness.Brian Paul
Clean-up and updated comments in dd.h file.
2001-01-08Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out driversKeith Whitwell
that used to require a 'ReducedPrimitiveChange' callback. Various compilation fixes for XFree86. Reverted to the older version of glcore.h used internally in XFree86, and moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with XFree86.
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.
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-24Support for swappable t&l modules, including an example one in the FXKeith Whitwell
driver (enable with FX_ALLOW_VTXFMT=t).
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-14Removed Driver.Color() and Driver.Index() functions.Brian Paul
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.
2000-11-13Cleanup of derived state calculation prior to seperating software T&LKeith Whitwell
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.
2000-11-10removed old TexImage() and TexSubImage() functionsBrian Paul
2000-11-05- Changes for new software rasterizer modulesKeith Whitwell
- 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 '_'.
2000-10-31Moved the software rasterizer to a new directory.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-10-29More GLchan color channel changes.Brian Paul
Some header file re-org: Move matrix, vertex buffer structs to types.h to fix #include mess. Remove typedef, extern declarations from config.h
2000-10-28Basic work to support deep color channels:Brian Paul
Replace GLubyte with GLchan Replace 255 with CHAN_MAX
2000-09-28new params for SpecificCompressedTexFormat() (Bill White)Brian Paul
2000-09-14updated commentsBrian Paul
2000-09-08removed ctx->Driver.Dither functionBrian Paul
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-09-07added device driver function for texture proxy testingBrian Paul
2000-08-29finished compressed texture support (Bill White)Brian Paul
2000-08-08added GetInteger/Float/Double/Boolean/Pointer device driver functionsBrian Paul
2000-06-06more work on GL_ARB_texture_compressionBrian Paul
2000-05-24more work on GL_ARB_texture_compressionBrian Paul
2000-03-29changes for single-copy texturesBrian Paul
2000-03-23more clean-up and rearrangingBrian Paul
2000-03-21removed retainInternalCopy from TexSubImage functionsBrian Paul
2000-03-20more reorganization and clean-upBrian Paul
2000-03-20rearranged order of some functionsBrian Paul
2000-03-20added new TexImage and TexSubImage functionsBrian Paul
2000-03-20added device driver functions for CopyTexImage, CopyTexSubImage, GetTexImageBrian Paul
2000-03-07removed Driver.UseGlobalTexturePalette()Brian Paul
2000-03-07added target parameter to Driver.TexEnv()Brian Paul
2000-03-03added LineWidth device driver functionBrian Paul
2000-03-03runtime selectable depth buffer depthBrian Paul
2000-03-03added device driver ReadPixels and CopyPixels functionsBrian Paul
2000-02-27add callbacks for stippleKeith Whitwell
2000-02-25Fog coordinate stage which drivers may use to replace standard foggingKeith Whitwell
mechanism. LogicOp state change callback
2000-02-17removed driver RendererString() and ExtensionString() funcsBrian Paul
2000-01-06new Clear function maskBrian Paul
1999-12-10changes in hardware depth buffer supportBrian Paul
1999-12-10added stencil buffer functionsBrian Paul
1999-11-25replaced Driver.SetBuffer() with SetDrawBuffer() and SetReadBuffer()Brian Paul
1999-11-22changed comment for WriteRGBSpan()Brian Paul
1999-10-21updated some comments/docsBrian Paul
1999-09-30more hooks for mga driver, including an immediate fastpathKeith Whitwell
1999-09-18Large patch:Keith Whitwell
- FX bug fixes. - Polygon mode and edgeflag work properly. - Clipping works with edgeflag. - Driver.ReducedPrimitiveChange() callback so drivers that implement lines & points as triangles can turn culling off before rendering groups of these primitives. - Cleaned up feedback & select primitives.
1999-08-19Initial revisionjtg