summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Fix lineloops.Keith Whitwell2001-03-181-2/+2
|
* Revert earlier changes protecting against null VB->TexCoordPtr[x]. DoKeith Whitwell2001-03-172-208/+153
| | | | this a better way via check_tex_sizes().
* Fix typo.Gareth Hughes2001-03-141-2/+2
|
* Initial templates for immediate mode fastpaths, or custom tnl modules.Gareth Hughes2001-03-132-11/+33
| | | | Completely untested and incomplete. More to follow.
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-128-294/+357
|
* Support for swappable tnl modules.Gareth Hughes2001-03-111-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Core Mesa provides a neutral tnl module that verifies the currently module before installing the tnl function pointers in a lazy fashion. It also records which tnl functions have been swapped out, and only restores these when tnl modules themselves are swapped. Fallback strategies: Drivers set a bitmask of dangerous stage changes. When such a state change occurs, the driver should restore the neutral tnl module via _mesa_restore_exec_vtxfmt(). The neutral tnl module will call _mesa_update_state(), followed by ctx->Driver.ValidateTnlModule() if the validation bitmask matches the new state bitmask. The driver should call _tnl_wakeup_exec() if it can no longer handle the current state, which will revert to the default tnl module. In this case, previous vertices should be replayed as required (depending on the current primitive) after the new tnl module is installed. If the driver uses chooser functions for any part of the tnl module, these should generally be reinstalled as part of the fallback to the neutral tnl module. For example, if the lighting state changes, a driver might fall back to the neutral tnl module, verify that the current lighting state can be handled, and use the chooser function to pick the most efficient implementation of the current lighting state. It is up to the drivers to detect and handle fallback cases caused by tnl function calls themselves (such as glTexCoord4f* if the current tnl module can't handle projected textures, for example).
* fixed RBGA ifdef typoBrian Paul2001-03-081-1/+1
|
* do fog interpolation if INTERP_FOG is defined, not when INTERP_Z is definedBrian Paul2001-03-082-26/+2
|
* More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.Brian Paul2001-03-084-32/+33
|
* added an assertion in the init code, just to be safeBrian Paul2001-03-071-0/+3
|
* Misc build fixesJon Taylor2001-03-071-9/+13
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-1/+1
| | | | of potential problems
* fixed segfaults when tex unit 1 enabled, but not unit 0 (conform)Brian Paul2001-03-051-116/+160
|
* DO_POINT renamed DO_POINTSKeith Whitwell2001-03-051-2/+2
|
* Changes for ffbKeith Whitwell2001-03-052-68/+178
|
* Fix typoKeith Whitwell2001-03-051-1/+1
|
* Add missing cases for viewport transform. Remove INVALIDATE_STORED_VERTICSKeith Whitwell2001-03-052-14/+25
| | | | macro
* used indent to clean-up the codeBrian Paul2001-03-0313-5466/+5758
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-0319-47/+56
|
* fixed mistake in alpha buffer clear testBrian Paul2001-03-011-2/+2
|
* Uncomment some defaults.Keith Whitwell2001-03-011-11/+11
|
* Bugfixes for vertex format, templatesKeith Whitwell2001-03-013-45/+36
|
* added s/w alpha buffer clearingBrian Paul2001-03-011-1/+8
|
* Templates are in working order.Keith Whitwell2001-02-285-282/+593
|
* 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_*().
* Template workKeith Whitwell2001-02-244-408/+679
|
* removed some bogus codeBrian Paul2001-02-221-3/+1
|
* plug in fallback teximage DD functionsBrian Paul2001-02-191-1/+13
|
* Updated Driver.CopyTexImage[12]D and Driver.CopyTexSubImage[123]D functionsBrian Paul2001-02-192-2/+12
| | | | | so they work like the other teximage functions. Added fallback routines to texstore.c for drivers to use.
* 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.
* added MESA_GLX_FORCE_CI env var (useful for conformance testing)Brian Paul2001-02-171-17/+35
|
* Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR whenKeith Whitwell2001-02-168-2/+2784
| | | | | | | | | | | | | 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.
* fixed a few CI mode span bugs and a dither bugBrian Paul2001-02-131-13/+36
|
* added ctx->Driver.ResetLineStipple, misc clean-upBrian Paul2001-02-121-17/+17
|
* fixed bytesPerValue bug in OSMesaGetDepthBuffer()Brian Paul2001-02-081-2/+5
|
* 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-065-70/+75
| | | | | | | | | | 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.
* 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
|