summaryrefslogtreecommitdiff
path: root/src/mesa/main/state.c
AgeCommit message (Collapse)Author
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
2001-06-18Consolidated source files. Since the re-org a number of source filesBrian Paul
only had one or two functions left in them.
2001-06-15Enable GL_ARB_texture_compression for XMesa/GLX driver. TextureBrian Paul
compression isn't really implmented. Just updated glTexImageXD() to accept compressed internal format tokens.
2001-05-29infrastructure for GL_ARB_multisampleBrian Paul
2001-05-10Set 'prefer_float_colors' true, now that tnl uses them natively.Keith Whitwell
Apply Jeff Epler's optimization to ci spans as well, remove old code.
2001-03-29Remove ENABLE_* flags, ctx->_Enabled.Keith Whitwell
Replace with ctx->Texture._TexMatEnabled, ctx->Texture._TexGenEnabled.
2001-03-29Removed DD_STENCIL, DD_FEEDBACK, DD_SELECT.Keith Whitwell
Added some switchable debug to s_context.c
2001-03-19Split driver struct into swrast/tnl/core components.Keith Whitwell
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-02-20Implemented GL_SGIX_shadow and GL_SGIX_shadow_texture.Brian Paul
Added some const keywords in the s/w texturing code.
2001-02-16Fixed conform problems with recent material tracking change.Keith Whitwell
Remove redundant 'update_materials' stage. Fix conform segfault with seperate specular colors in mustpass.c. These tests still fail, however.
2001-02-12added debug assertions to be sure drivers initialize all required function ↵Brian Paul
pointers
2001-02-06Overhaul of texture image handling.Brian Paul
1. gl_texture_image struct's Data pointer points to images in driver's format. 2. Added FetchTexel() function pointer to struct gl_texture_image. 3. Changed Driver Tex[Sub]Image functions, return void now. 4. Texture storage/fetch code in new texstore.c file. 5. Removed texture.[ch] - functions moved to state.c Note: FX driver updates not finished yet.
2001-01-24removed the unused/broken GL_PGI_misc_hints extensionBrian Paul
2001-01-08Still need 'DD_TRI_CULL_FRONT_BACK'Keith Whitwell
2000-12-26Major rework of tnl moduleKeith Whitwell
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.
2000-12-16Polygon._OffsetAny wasn't being computedBrian Paul
2000-12-08Initial work on GL_MESA_sprite_point extension.Brian Paul
Still need to resolve clipping issues, finalize the spec.
2000-11-28Pass scale and bias values to _mesa_scale_and_bias_rgba().Brian Paul
Implemented post-convolution scale and bias operation.
2000-11-27Added MaxClipPlanes and MaxLights to gl_constants struct so T&LBrian Paul
drivers can report non-default numbers of lights and clip planes.
2000-11-24Support for swappable t&l modules, including an example one in the FXKeith Whitwell
driver (enable with FX_ALLOW_VTXFMT=t).