summaryrefslogtreecommitdiff
path: root/src/mesa/main/context.c
AgeCommit message (Collapse)Author
2003-05-01Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places.Brian Paul
Misc vertex array / vertex program changes.
2003-04-21alias ARB/NV program functions where possibleBrian Paul
2003-04-18minor re-org of program matrix, program local parameter limitsBrian Paul
2003-04-17checkpoint: more infrastructure for GL_ARB_vertex/fragment_program.Brian Paul
2003-04-11Some groundwork for GL_ARB_vertex/fragment_program.Brian Paul
2003-04-01clean-up current state initializationBrian Paul
2003-04-01minor initialization fixesBrian Paul
2003-04-01New device driver hooks for texture object and texture image creation toBrian Paul
allow drivers to implement C++-like inheritance via containment. Lots of assorted clean-ups related to texture objects.
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-12-12Add mechanism to destroy mutexes. Important on OS's where mutex initializationKeith Whitwell
allocates memory (like FreeBSD).
2002-11-19put FEATURE_NV_vertex_program around vpstate.h includeBrian Paul
2002-10-30s/BZERO/_mesa_bzero/Brian Paul
2002-10-29init a few more fields in _mesa_initialize_visual()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-14context-related cleanups (ex: _mesa_notifySwapBuffers instead of ↵Brian Paul
_mesa_swapbuffers)
2002-10-11Another round of glRead/DrawBuffer() clean-ups and simplifications.Brian Paul
Replaced ctx->Color._DriverDrawBuffer with swrast->CurrentBuffer. Replaced ctx->Pixel._DriverReadBuffer with ctx->Pixel._ReadSrcMask. swrast->Driver.SetBuffer() takes FRONT/BACK_LEFT/RIGHT_BIT values now. Added tokens and code for GL_AUX buffers, for completeness.
2002-10-10disable _glapi_set_warning_func() call as it's not present in older libGLsBrian Paul
2002-10-09XFree86 fixes (clib macro wrappers)Brian Paul
2002-10-08finally get rid of ctx->Texture._ReallyEnabled fieldBrian Paul
2002-10-04multiple GL_POINTS can now be rendered together into one fragment spanBrian Paul
2002-10-02removed unused ctx->Polygon.OffsetMRDBrian Paul
2002-09-27new texture compression infrastructureBrian 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-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-23fix problems in _mesa_debug/printf()Brian Paul
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-17new fix for initial window size problemBrian Paul
2002-06-17Port glXCopyContext bug from 4.0 branch.Brian Paul
2002-06-16added 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-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-13more removal of fprintf() callsBrian Paul
2002-06-13fixed a couple dumb mistakesBrian Paul
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-05-09Minor change to current raster position and texcoords.Brian Paul
2002-04-19added some castsBrian Paul
2002-04-09bring in changes from dri tcl branchKeith Whitwell
2002-04-09remove dead vertex assemblyKeith Whitwell
2002-03-29Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.Brian Paul
2002-03-19Use MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and textureBrian Paul
memory. These can be overridden by applications which need to manage this memory specially. Contributed by Gerk Huisma. Also, new code for 8-bit -> 16-bit/channel texture image storage which fills in the least-significant bits properly.
2002-03-16Lots of changes related to framebuffer/window buffer resizing. Basically,Brian Paul
instead of passing a GLcontext* to ResizeBuffers(), pass a GLframebuffer*. The idea is that a window can be resized without it being bound to a rendering context. This makes for a nice clean-up in the XFree86 server-side GLX code. Renamed ctx->Driver.ResizeBuffersMESA() to ctx->Driver.ResizeBuffers().
2002-03-13added a commentBrian Paul
2002-02-05fix evaluator data and matrix stack mem leaks (Robert Bergkvist)Brian Paul
2002-01-05infrastructure for vertex program attribute evaluatorsBrian Paul