summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enable.c
Commit message (Collapse)AuthorAgeFilesLines
* Ville Syrjala's logic op patchBrian Paul2003-11-121-3/+12
|
* Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett2003-10-211-5/+5
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
* Trivial changes to add support for GL_ARB_point_sprite, which is aIan Romanick2003-08-231-1/+7
| | | | subset of GL_NV_point_sprite (which was already supported).
* Initial implementation of GL_MESA_program_debug - a vertex/fragment programBrian Paul2003-07-211-0/+18
| | | | debugging extension.
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-4/+67
|
* Implemented GL_EXT_depth_bounds_test.Brian Paul2003-04-211-0/+19
|
* more GL_ARB_vertex/fragment_program bitsBrian Paul2003-04-181-2/+15
|
* fix GL_COLOR_MATERIAL bugBrian Paul2003-03-211-3/+3
|
* Fix up some fragment program texture enable issues.Brian Paul2003-03-151-2/+2
| | | | Implemented TXD instruction.
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-2/+1
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* Make GL_SGI_texture_color_table work per-texture unit.Brian Paul2003-01-261-3/+8
| | | | Clean-up and optimize _swrast_texture_table_lookup().
* GL_SGI_texture_color_table extension (Eric Plante)Brian Paul2003-01-211-1/+8
|
* First batch of code for GL_NV_fragment_program.Brian Paul2003-01-141-2/+18
| | | | | Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
* Header file clean-up:Brian Paul2002-10-241-5/+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.
* surround vertex program code with #if FEATURE_NV_vertex_program/#endifBrian Paul2002-10-161-4/+8
|
* GL_EXT_stencil_two_side extension, not 100% complete yet.Brian Paul2002-09-061-1/+16
|
* Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul2002-06-291-22/+10
| | | | Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
* Moved GL_PROGRAM_ERROR_POSITION_NV state (it's not per-program).Brian Paul2002-06-181-38/+52
| | | | | Finished all glGet* queries for GL_NV_vertex_program. Improved error reporting in glEnable/Disable/Get, etc.
* Implemented GL_NV_texture_rectangle extension.Brian Paul2002-06-151-13/+38
| | | | | | | | | Replace struct gl_texure_object's Dimension w/ Target field. Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled field is obsolete, but still present for now. This effectively removes the 8-texture units limit, 32 units now possible, but unlikely! New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field. Updated device drivers to use ctx->Texture._EnabledUnits.
* Added ctx parameter to _mesa_debug()Brian Paul2002-06-151-2/+2
| | | | | | 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 Paul2002-06-131-5/+5
| | | | | | | | 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)
* replaced experimental MESA_sprite_point with NV_point_spriteBrian Paul2002-05-271-9/+9
|
* vertex program attribute array workBrian Paul2002-04-211-2/+2
|
* Correct check for noop array state change (Raystonn)Alan Hourihane2002-04-191-2/+2
|
* added some castsBrian Paul2002-04-191-2/+2
|
* Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.Brian Paul2002-03-291-9/+7
|
* decrement Transform._AnyClip when clip planes are disabledBrian Paul2002-03-281-1/+4
|
* More suport for t&l driversKeith Whitwell2002-02-131-1/+6
| | | | | Fix GLuint compare bugs Fix RESET_STIPPLE calls
* added missing IsEnabled() cases for fog coord and secondary color arraysBrian Paul2002-01-221-1/+7
|
* Changed gl_client_array's Enabled field to GLuint so it can actuallyBrian Paul2002-01-111-11/+11
| | | | hold the flags we're storing in it!
* implemented vertex program point size controlBrian Paul2002-01-061-4/+4
|
* infrastructure for vertex program attribute evaluatorsBrian Paul2002-01-051-6/+19
|
* Replace old matrix stacks with new code based on struct matrix_stack.Brian Paul2001-12-181-5/+5
| | | | | | 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-inBrian Paul2001-12-141-754/+852
|
* added GL_IBM_rasterpos_clip extensionBrian Paul2001-06-261-6/+23
|
* infrastructure for GL_ARB_multisampleBrian Paul2001-05-291-1/+100
|
* Remove ENABLE_* flags, ctx->_Enabled.Keith Whitwell2001-03-291-9/+1
| | | | Replace with ctx->Texture._TexMatEnabled, ctx->Texture._TexGenEnabled.
* Removed DD_STENCIL, DD_FEEDBACK, DD_SELECT.Keith Whitwell2001-03-291-2/+1
| | | | Added some switchable debug to s_context.c
* Removed DD_Z_NEVER.Brian Paul2001-03-291-5/+5
| | | | | | Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE.
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-51/+44
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-24/+24
|
* fixed glitches in error checking of imaging extensionsBrian Paul2001-02-271-10/+10
|
* Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR whenKeith Whitwell2001-02-161-2/+17
| | | | | | | | | | | | | 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.
* gl_error clean-upsBrian Paul2001-02-131-2/+2
|
* Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul2001-01-231-7/+7
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
* various compilation/warning fixesKeith Whitwell2001-01-051-1/+2
|
* fix demos/fire, enable lazy vertex flushingKeith Whitwell2000-12-271-1/+5
|
* Major rework of tnl moduleKeith Whitwell2000-12-261-622/+667
| | | | | | | 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.
* Initial work on GL_MESA_sprite_point extension.Brian Paul2000-12-081-27/+93
| | | | Still need to resolve clipping issues, finalize the spec.
* Set ENABLE_LIGHT according to ctx->Light.Enabled whether or notBrian Paul2000-11-271-8/+3
| | | | individual light sources are enabled.