aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enable.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * Move all the code for computing ctx->_TriangleCaps into state.c.Brian2006-12-131-61/+30
| | | | | | | | ctx->_TriangleCaps should probably go away altogether someday...
* | better handling of current attributes. Trivial dlist and varray tests workKeith Whitwell2006-10-301-1/+1
|/
* Compute ctx->Color._LogicOpEnabled in one place instead of four places!Brian Paul2006-07-181-14/+2
|
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-121-20/+20
| | | | | | | and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required.
* Use standard ARB names instead of vendor-specific NV names for the ↵Roland Scheidegger2006-03-031-6/+6
| | | | ARB/NV_vertex_program enums in common state handling code, and update comments accordingly. Change some slightly confusing code which gave the impression GL_VERTEX_PROGRAM_ARB and GL_VERTEX_PROGRAM_NV enums were different.
* Fix more enums defined not only by one extension when queried by glGet ↵Roland Scheidegger2006-03-021-7/+19
| | | | (GL_COLOR_SUM_EXT, GL_POINT_SPRITE_NV, GL_POINT_SPRITE_COORD_ORIGIN, GL_TRANSPOSE_CURRENT_MATRIX_ARB). Fix similar bugs (also those previously overseen dependant on NV/ARB_vertex_program) in glIsEnabled. Add missing GL_COLOR_SUM_EXT enum to glIsEnabled.
* Fix glGet with enums which are used not only in NV_vertex_program, but other ↵Roland Scheidegger2006-03-011-2/+6
| | | | extensions too (ARB_vertex_program, ARB_fragment_program, NV_fragment_program), if no support for NV_vertex_program is present. While here, fix return value if enum is used which is not supported by the exposed extensions (GL_INVALID_ENUM instead of GL_INVALID_VALUE). Fix some compile-time #ifs depending on NV_vertex/fragment_program which should also be dependant on ARB_vertex/fragment_program. See bug #6070
* Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can beBrian Paul2005-12-141-28/+0
| | | | done with fragment programs nowadays.
* removed GL_HP_occlusion_test extensionBrian Paul2005-08-251-20/+2
|
* Add a set of predicate functions for testing matrices instead of directlyBrian Paul2005-06-301-1/+1
| | | | | | testing the flags field. Move definition of all the MAT_FLAGs into the m_matrix.c file since they're now private.
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-8/+13
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* Implement software ATI_fragment_shaderDave Airlie2004-12-191-1/+14
| | | | no error detection, slow, may not be 100% correct but a good start
* uint*t -> u_int*t changesAlan Hourihane2004-12-141-3/+0
|
* added DD_TRI_TWOSTENCIL to ease EXT_stencil_two_side in device driversDaniel Borca2004-11-121-0/+5
|
* check for either GL_NV_vertex_program or GL_ARB_vertex_program for some enablesBrian Paul2004-08-181-12/+13
|
* Add EXT_vertex_cull support to mesaKeith Whitwell2004-05-101-0/+9
|
* Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick2004-01-271-2/+2
| | | | | The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
* Don't set extra bits in FLUSH_VERTICES, fix several state bugs.Keith Whitwell2004-01-231-20/+5
|
* 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
|