Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix lineloops. | Keith Whitwell | 2001-03-18 | 1 | -2/+2 |
| | |||||
* | Revert earlier changes protecting against null VB->TexCoordPtr[x]. Do | Keith Whitwell | 2001-03-17 | 2 | -208/+153 |
| | | | | this a better way via check_tex_sizes(). | ||||
* | Fix typo. | Gareth Hughes | 2001-03-14 | 1 | -2/+2 |
| | |||||
* | Initial templates for immediate mode fastpaths, or custom tnl modules. | Gareth Hughes | 2001-03-13 | 2 | -11/+33 |
| | | | | Completely untested and incomplete. More to follow. | ||||
* | Consistent copyright info (version number, date) across all files. | Gareth Hughes | 2001-03-12 | 8 | -294/+357 |
| | |||||
* | Support for swappable tnl modules. | Gareth Hughes | 2001-03-11 | 1 | -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 typo | Brian Paul | 2001-03-08 | 1 | -1/+1 |
| | |||||
* | do fog interpolation if INTERP_FOG is defined, not when INTERP_Z is defined | Brian Paul | 2001-03-08 | 2 | -26/+2 |
| | |||||
* | More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work. | Brian Paul | 2001-03-08 | 4 | -32/+33 |
| | |||||
* | added an assertion in the init code, just to be safe | Brian Paul | 2001-03-07 | 1 | -0/+3 |
| | |||||
* | Misc build fixes | Jon Taylor | 2001-03-07 | 1 | -9/+13 |
| | |||||
* | fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵ | Brian Paul | 2001-03-07 | 1 | -1/+1 |
| | | | | of potential problems | ||||
* | fixed segfaults when tex unit 1 enabled, but not unit 0 (conform) | Brian Paul | 2001-03-05 | 1 | -116/+160 |
| | |||||
* | DO_POINT renamed DO_POINTS | Keith Whitwell | 2001-03-05 | 1 | -2/+2 |
| | |||||
* | Changes for ffb | Keith Whitwell | 2001-03-05 | 2 | -68/+178 |
| | |||||
* | Fix typo | Keith Whitwell | 2001-03-05 | 1 | -1/+1 |
| | |||||
* | Add missing cases for viewport transform. Remove INVALIDATE_STORED_VERTICS | Keith Whitwell | 2001-03-05 | 2 | -14/+25 |
| | | | | macro | ||||
* | used indent to clean-up the code | Brian Paul | 2001-03-03 | 13 | -5466/+5758 |
| | |||||
* | lots of gl_*() to _mesa_*() namespace clean-up | Brian Paul | 2001-03-03 | 19 | -47/+56 |
| | |||||
* | fixed mistake in alpha buffer clear test | Brian Paul | 2001-03-01 | 1 | -2/+2 |
| | |||||
* | Uncomment some defaults. | Keith Whitwell | 2001-03-01 | 1 | -11/+11 |
| | |||||
* | Bugfixes for vertex format, templates | Keith Whitwell | 2001-03-01 | 3 | -45/+36 |
| | |||||
* | added s/w alpha buffer clearing | Brian Paul | 2001-03-01 | 1 | -1/+8 |
| | |||||
* | Templates are in working order. | Keith Whitwell | 2001-02-28 | 5 | -282/+593 |
| | |||||
* | minor extension tweaks | Brian Paul | 2001-02-27 | 1 | -0/+3 |
| | |||||
* | Disable most extensions by default. Drivers should enable them as needed. | Brian Paul | 2001-02-26 | 1 | -14/+6 |
| | | | | Renamed gl_*() functions as _mesa_*(). | ||||
* | Template work | Keith Whitwell | 2001-02-24 | 4 | -408/+679 |
| | |||||
* | removed some bogus code | Brian Paul | 2001-02-22 | 1 | -3/+1 |
| | |||||
* | plug in fallback teximage DD functions | Brian Paul | 2001-02-19 | 1 | -1/+13 |
| | |||||
* | Updated Driver.CopyTexImage[12]D and Driver.CopyTexSubImage[123]D functions | Brian Paul | 2001-02-19 | 2 | -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 Paul | 2001-02-17 | 1 | -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 Paul | 2001-02-17 | 1 | -17/+35 |
| | |||||
* | Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR when | Keith Whitwell | 2001-02-16 | 8 | -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 bug | Brian Paul | 2001-02-13 | 1 | -13/+36 |
| | |||||
* | added ctx->Driver.ResetLineStipple, misc clean-up | Brian Paul | 2001-02-12 | 1 | -17/+17 |
| | |||||
* | fixed bytesPerValue bug in OSMesaGetDepthBuffer() | Brian Paul | 2001-02-08 | 1 | -2/+5 |
| | |||||
* | new texture image routines work now | Brian Paul | 2001-02-07 | 2 | -14/+22 |
| | |||||
* | updated texture image handling - STILL UNTESTED | Brian Paul | 2001-02-06 | 3 | -320/+480 |
| | |||||
* | Overhaul of texture image handling. | Brian Paul | 2001-02-06 | 5 | -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. Slightly | Keith Whitwell | 2001-02-06 | 1 | -2/+2 |
| | | | | clean up the shine table lookup macro. | ||||
* | misc updates to match latest device driver changes | Brian Paul | 2001-02-06 | 11 | -33/+70 |
| | |||||
* | fixed inverted Y coord for dithering in write_span_DITHER_5R6G5B_ximage() | Brian Paul | 2001-01-29 | 1 | -7/+8 |
| | |||||
* | Update implementations of Driver.Clear(). | Keith Whitwell | 2001-01-29 | 2 | -159/+156 |
| | |||||
* | Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixels | Keith Whitwell | 2001-01-29 | 3 | -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 extension | Brian Paul | 2001-01-24 | 1 | -3/+0 |
| | |||||
* | Lots of GLchan datatype changes. | Brian Paul | 2001-01-24 | 15 | -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 Paul | 2001-01-23 | 7 | -125/+172 |
| | | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups. | ||||
* | updated ctx->Driver functions for s/w setup | Brian Paul | 2001-01-16 | 1 | -2/+4 |
| | |||||
* | Fix several conformance problems. Hack solution to line stipple problem. | Keith Whitwell | 2001-01-16 | 3 | -13/+45 |
| | |||||
* | initialize Driver.RenderPrimitive to _swsetup_RenderPrimNoop | Brian Paul | 2001-01-12 | 1 | -2/+2 |
| |