summaryrefslogtreecommitdiff
path: root/src/mesa/main/state.c
AgeCommit message (Collapse)Author
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
2004-01-20remove _mesa_check_driver_hooks() - it's really not too useful anymoreBrian Paul
2003-11-24Merge vtx-0-2-branchKeith Whitwell
2003-11-10Redo array element checking for vertex array buffers.Brian Paul
Now, compute ctx->Array._MaxElement as the min of enabled array's max element. Test against ctx->Array._MaxElement in glDrawArrays/Elements. Note: testing in glArrayElement not done yet. Only do element checking if ctx->Const.CheckArrayBounds is set.
2003-08-31Moved some shared vertex/fragment program code into new program.c file.Brian Paul
Implemented new program_parameter_list type and functions for dealing with named program parameters, constants and GL state references. New state_index enum for describing GL state referenced within ARB vertex/ fragment programs. Plus, functions for fetching named GL state.
2003-08-22Added support for GL_IBM_multimode_draw_arrays.Ian Romanick
Added non-static entrypoints and the name string for GL_SUN_multi_draw_arrays (identical to GL_EXT_multi_draw_arrays). Made add_newer_entrypoints (in src/mesa/main/context.c) table driven. This reduced the size of context.o by about 3KB.
2003-07-23fix a few more glitches from last big check-inBrian Paul
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-06-13Implemented GL_ARB_occlusion_query (not 100% finalized).Brian Paul
2003-05-28glBindProgramARB dispatches to glBindProgramNV (remove _mesa_BindProgramARB).Brian Paul
Removed VertexAttrib*ARB() stubs.
2003-05-01Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places.Brian Paul
Misc vertex array / vertex program changes.
2003-04-21Implemented GL_EXT_depth_bounds_test.Brian Paul
2003-04-21alias ARB/NV program functions where possibleBrian Paul
2003-04-17Added arbprogram.c to Makefiles.Brian Paul
Added display list support for GL_NV_fragment_program. Assorted clean-ups.
2003-04-08Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul
Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
2003-03-29Basic infrastructure for GL_ARB_vertex_buffer_object.Brian Paul
2003-03-29proper dispatch for NV_fragment_program functionsBrian 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-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-11-06a few dispatch pointers weren't set (glGenTexturesEXT for example)Brian Paul
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-10-08finally get rid of ctx->Texture._ReallyEnabled fieldBrian Paul
2002-10-02removed ctx->Polygon._OffsetAny - not really neededBrian Paul
2002-09-27new texture compression infrastructureBrian Paul
2002-09-06hook-up dispatch for glActiveStencilFaceEXT()Brian Paul
2002-09-06GL_EXT_stencil_two_side extension, not 100% complete yet.Brian Paul
2002-07-09Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul
indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
2002-06-30Implemented GL_EXT_multi_draw_arrays: glMultiDrawArraysEXT() and ↵Brian Paul
glMultiDrawElementsEXT().
2002-06-25remove an unneeded statement in update_polygon(), added a commentBrian Paul
2002-06-16fix a commentBrian Paul
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-06replaced hard-coded 4 with NUM_TEXTURE_TARGETSBrian Paul
2002-05-29Added GL_NV_point_sprite functions: glPointParameteri[v]NV().Brian Paul
Removed dead ARB_window_pos functions (we alias the MESA_window_pos funcs).
2002-05-27dispatch offsets for ARB_window_posBrian Paul
2002-04-09bring in changes from dri tcl branchKeith Whitwell
2002-04-02GL_ARB_point_parameters supportBrian Paul
2002-03-29Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.Brian Paul
2002-03-16rename ResizeBuffersMESA to ResizeBuffersBrian Paul
2002-02-13More suport for t&l driversKeith Whitwell
Fix GLuint compare bugs Fix RESET_STIPPLE calls
2002-01-12set _NeedEyeCoords to zero if vertex program is enabledBrian 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-14minor dispatach table changesBrian Paul
2001-12-14vertex program check-inBrian Paul
2001-12-04dispatch changes to minimize hassle with XFree86 libGLBrian Paul
2001-11-18added test implementation of GL_ARB_window_posBrian Paul
2001-11-18API dispath updatesBrian Paul
2001-09-18more compiler warning fixesKarl Schultz