summaryrefslogtreecommitdiff
path: root/src/mesa/main/enable.c
AgeCommit message (Collapse)Author
2006-07-18Compute ctx->Color._LogicOpEnabled in one place instead of four places!Brian Paul
2006-06-12Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick
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.
2006-03-03Use standard ARB names instead of vendor-specific NV names for the ↵Roland Scheidegger
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.
2006-03-02Fix more enums defined not only by one extension when queried by glGet ↵Roland Scheidegger
(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.
2006-03-01Fix glGet with enums which are used not only in NV_vertex_program, but other ↵Roland Scheidegger
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
2005-12-14Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can beBrian Paul
done with fragment programs nowadays.
2005-08-25removed GL_HP_occlusion_test extensionBrian Paul
2005-06-30Add a set of predicate functions for testing matrices instead of directlyBrian Paul
testing the flags field. Move definition of all the MAT_FLAGs into the m_matrix.c file since they're now private.
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
2004-12-19Implement software ATI_fragment_shaderDave Airlie
no error detection, slow, may not be 100% correct but a good start
2004-12-14uint*t -> u_int*t changesAlan Hourihane
2004-11-12added DD_TRI_TWOSTENCIL to ease EXT_stencil_two_side in device driversDaniel Borca
2004-08-18check for either GL_NV_vertex_program or GL_ARB_vertex_program for some enablesBrian Paul
2004-05-10Add EXT_vertex_cull support to mesaKeith Whitwell
2004-01-27Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick
The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
2004-01-23Don't set extra bits in FLUSH_VERTICES, fix several state bugs.Keith Whitwell
2003-11-12Ville Syrjala's logic op patchBrian Paul
2003-10-21Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett
points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
2003-08-23Trivial changes to add support for GL_ARB_point_sprite, which is aIan Romanick
subset of GL_NV_point_sprite (which was already supported).
2003-07-21Initial implementation of GL_MESA_program_debug - a vertex/fragment programBrian Paul
debugging extension.
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-04-21Implemented GL_EXT_depth_bounds_test.Brian Paul
2003-04-18more GL_ARB_vertex/fragment_program bitsBrian Paul
2003-03-21fix GL_COLOR_MATERIAL bugBrian Paul
2003-03-15Fix up some fragment program texture enable issues.Brian Paul
Implemented TXD instruction.
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
2003-01-26Make GL_SGI_texture_color_table work per-texture unit.Brian Paul
Clean-up and optimize _swrast_texture_table_lookup().
2003-01-21GL_SGI_texture_color_table extension (Eric Plante)Brian Paul
2003-01-14First batch of code for GL_NV_fragment_program.Brian Paul
Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
2002-10-24Header file clean-up:Brian Paul
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.
2002-10-16surround vertex program code with #if FEATURE_NV_vertex_program/#endifBrian Paul
2002-09-06GL_EXT_stencil_two_side extension, not 100% complete yet.Brian Paul
2002-06-29Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
2002-06-18Moved GL_PROGRAM_ERROR_POSITION_NV state (it's not per-program).Brian Paul
Finished all glGet* queries for GL_NV_vertex_program. Improved error reporting in glEnable/Disable/Get, etc.
2002-06-15Implemented GL_NV_texture_rectangle extension.Brian Paul
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.
2002-06-15Added ctx parameter to _mesa_debug()Brian Paul
Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
2002-06-13New _mesa_debug() function to replace fprintf() calls.Brian Paul
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)
2002-05-27replaced experimental MESA_sprite_point with NV_point_spriteBrian Paul
2002-04-21vertex program attribute array workBrian Paul
2002-04-19Correct check for noop array state change (Raystonn)Alan Hourihane
2002-04-19added some castsBrian Paul
2002-03-29Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.Brian Paul
2002-03-28decrement Transform._AnyClip when clip planes are disabledBrian Paul
2002-02-13More suport for t&l driversKeith Whitwell
Fix GLuint compare bugs Fix RESET_STIPPLE calls
2002-01-22added missing IsEnabled() cases for fog coord and secondary color arraysBrian Paul
2002-01-11Changed gl_client_array's Enabled field to GLuint so it can actuallyBrian Paul
hold the flags we're storing in it!
2002-01-06implemented vertex program point size controlBrian Paul
2002-01-05infrastructure for vertex program attribute evaluatorsBrian Paul
2001-12-18Replace old matrix stacks with new code based on struct matrix_stack.Brian Paul
Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
2001-12-14vertex program check-inBrian Paul