Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Restore old _TriangleCaps code to fix Blender problem (bug 12164) | Brian | 2007-09-27 | 1 | -0/+9 |
| | |||||
* | if light position is local, treat it as a homogeneous coord and divide by W ↵ | Brian | 2007-05-21 | 1 | -2/+9 |
| | | | | (see bug 11009) | ||||
* | Move all the code for computing ctx->_TriangleCaps into state.c. | Brian | 2006-12-13 | 1 | -10/+4 |
| | | | | ctx->_TriangleCaps should probably go away altogether someday... | ||||
* | Color clamping fixes. | Brian Paul | 2006-10-22 | 1 | -0/+1 |
| | |||||
* | Remove carriage returns. | Michal Krol | 2006-04-25 | 1 | -4/+4 |
| | |||||
* | GLSL fixes: | Michal Krol | 2006-03-21 | 1 | -8/+11 |
| | | | | | | | | | | | | | | | | | | - generate error on NULL pointers in glShaderSourceARB; - reinstall program object, if current, in glLinkProgramARB; - vertex and fragment shaders are optional in program object; - floor asm was wrongly computed for x86 back-end; - allow for (void) idiom in function prototypes; - all fixed-state uniforms are updated; - local variable initializers are working; - implement texture* and shadow* functions for vertex processor; - generate error if too many arguments in general constructor; - trim unused data in general constructor; - struct r-value field select was badly relocated; Changes: - add derived state gl_fog_attrib::_Scale; - add derived state gl_light::_CosCutoffNeg; | ||||
* | Added _mesa_light() helper function so we can avoid transforming then | Brian Paul | 2005-11-12 | 1 | -77/+128 |
| | | | | | un-transforming light positions and spot directions when popping light state off the attribute stack. | ||||
* | s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some comments | Brian Paul | 2005-11-10 | 1 | -14/+22 |
| | |||||
* | Replace GLuint with GLbitfield where appropriate. Also replace GLuint | Brian Paul | 2005-09-15 | 1 | -7/+7 |
| | | | | with GLboolean in a few places. | ||||
* | Add a set of predicate functions for testing matrices instead of directly | Brian Paul | 2005-06-30 | 1 | -9/+5 |
| | | | | | | testing the flags field. Move definition of all the MAT_FLAGs into the m_matrix.c file since they're now private. | ||||
* | mesa-main-0-NULL.patch from Jeff Muizelaar | Keith Whitwell | 2005-02-11 | 1 | -2/+3 |
| | |||||
* | Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵ | Brian Paul | 2004-08-25 | 1 | -0/+1 |
| | | | | 1015696) | ||||
* | added FLUSH_CURRENT() call in GetMaterial() calls | Brian Paul | 2004-04-02 | 1 | -2/+6 |
| | |||||
* | Don't set extra bits in FLUSH_VERTICES, fix several state bugs. | Keith Whitwell | 2004-01-23 | 1 | -8/+0 |
| | |||||
* | Correct sense of ctx->_ForceEyeCoords (Felix Kuhling) | Keith Whitwell | 2003-12-27 | 1 | -1/+1 |
| | |||||
* | Added GLAPIENTRY decorations for all first level OpenGL API function entry | Kendall Bennett | 2003-10-21 | 1 | -14/+14 |
| | | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler. | ||||
* | Remove FLT_MIN definition to imports.h | Brian Paul | 2003-09-18 | 1 | -48/+40 |
| | | | | Assorted code clean-ups in light.c | ||||
* | Store material attributes in an Attrib[] style array. This is a | Keith Whitwell | 2003-08-05 | 1 | -295/+126 |
| | | | | | first step to reviving/rescuing the 'vtx' rework from the old mesa tree. | ||||
* | Fix samples/fog.c regression - missing test for NeedEyeCoords. | Keith Whitwell | 2003-08-05 | 1 | -6/+15 |
| | |||||
* | Merge Jose's documentation and core Mesa changes from embedded branch | Keith Whitwell | 2003-07-17 | 1 | -11/+206 |
| | |||||
* | Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything. | Ian Romanick | 2003-06-05 | 1 | -1/+0 |
| | |||||
* | Added support for NV_light_max_exponent. | Ian Romanick | 2003-05-30 | 1 | -2/+2 |
| | |||||
* | Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch] | Brian Paul | 2003-03-01 | 1 | -8/+7 |
| | | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h | ||||
* | wrapped a few more C library functions | Brian Paul | 2002-10-25 | 1 | -4/+4 |
| | |||||
* | Header file clean-up: | Brian Paul | 2002-10-24 | 1 | -7/+2 |
| | | | | | | | | 1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc. | ||||
* | more detailed _mesa_error() messages | Brian Paul | 2002-09-16 | 1 | -5/+6 |
| | |||||
* | Added ctx parameter to _mesa_debug() | Brian Paul | 2002-06-15 | 1 | -43/+25 |
| | | | | | | Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes. | ||||
* | New _mesa_debug() function to replace fprintf() calls. | Brian Paul | 2002-06-13 | 1 | -15/+15 |
| | | | | | | | | Some source files updated to call _mesa_debug(), but not finished. Added __GLimports as a parameter to _mesa_create/init_context() and updated drivers accordingly. Fleshed-out more of the __GLimports and __GLexports functionality. Removed run-time config file support (config.c) | ||||
* | More suport for t&l drivers | Keith Whitwell | 2002-02-13 | 1 | -5/+9 |
| | | | | | Fix GLuint compare bugs Fix RESET_STIPPLE calls | ||||
* | Replace old matrix stacks with new code based on struct matrix_stack. | Brian Paul | 2001-12-18 | 1 | -8/+8 |
| | | | | | | Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates). | ||||
* | vertex program check-in | Brian Paul | 2001-12-14 | 1 | -2/+2 |
| | |||||
* | compiler warnings | Karl Schultz | 2001-09-18 | 1 | -6/+6 |
| | |||||
* | Remove _BaseAlpha, fix reflect lighting bug. | Keith Whitwell | 2001-07-28 | 1 | -8/+1 |
| | |||||
* | Don't scale basealpha by 255 now it's a float. | Keith Whitwell | 2001-05-09 | 1 | -7/+7 |
| | |||||
* | Support for floating point color representation in tnl module. | Keith Whitwell | 2001-04-28 | 1 | -8/+2 |
| | |||||
* | Removed DD_Z_NEVER. | Brian Paul | 2001-03-29 | 1 | -3/+3 |
| | | | | | | Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE. | ||||
* | Consistent copyright info (version number, date) across all files. | Gareth Hughes | 2001-03-12 | 1 | -20/+18 |
| | |||||
* | fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵ | Brian Paul | 2001-03-07 | 1 | -4/+4 |
| | | | | of potential problems | ||||
* | lots of gl_*() to _mesa_*() namespace clean-up | Brian Paul | 2001-03-03 | 1 | -43/+43 |
| | |||||
* | Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR when | Keith Whitwell | 2001-02-16 | 1 | -2/+9 |
| | | | | | | | | | | | | | 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. | ||||
* | Fix propogation of material values in VB's that don't reach the lighting | Keith Whitwell | 2001-02-15 | 1 | -13/+53 |
| | | | | | | | | | stage. (Materials now treated more like colors, etc.). Continue whipping the dd templates into shape. Remove old NormalLength code; may come back as a driver helper, but not useful for, eg. hardware t&l drivers. | ||||
* | fixed bug in gl_validate_all_lighting_tables() found with CI mode ↵ | Brian Paul | 2001-02-13 | 1 | -3/+5 |
| | | | | conformance tests | ||||
* | Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h. | Brian Paul | 2001-01-23 | 1 | -2/+2 |
| | | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups. | ||||
* | Fix crash in book/stencil. | Keith Whitwell | 2001-01-13 | 1 | -10/+8 |
| | | | | | Allow drivers to perform the perspective divide themselves. Assembly to do cliptesting without perspective divide for size-4 vectors. | ||||
* | added underflow check in validate_shine_table() | Brian Paul | 2001-01-04 | 1 | -2/+5 |
| | |||||
* | Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h) | Brian Paul | 2001-01-02 | 1 | -7/+7 |
| | | | | | Clean-up of color conversion macros. New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places. | ||||
* | Major rework of tnl module | Keith Whitwell | 2000-12-26 | 1 | -181/+242 |
| | | | | | | | 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 MaxClipPlanes and MaxLights to gl_constants struct so T&L | Brian Paul | 2000-11-27 | 1 | -4/+4 |
| | | | | drivers can report non-default numbers of lights and clip planes. | ||||
* | Fixed a couple of bugs that crept into last commit | Keith Whitwell | 2000-11-24 | 1 | -3/+3 |
| | | | | | | | - Eval not compiled correctly - Material colors computed incorrectly Reworked the VERT_TEX flags, now support upto 12 texture units in tnl. | ||||
* | Support for swappable t&l modules, including an example one in the FX | Keith Whitwell | 2000-11-24 | 1 | -91/+22 |
| | | | | driver (enable with FX_ALLOW_VTXFMT=t). |