summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
Commit message (Collapse)AuthorAgeFilesLines
* setup default programs for GL_ARB_vertex/fragment_programBrian Paul2003-06-011-3/+8
|
* Added support for NV_light_max_exponent.Ian Romanick2003-05-301-0/+2
|
* check buffer->UseSoftware*Buffer in _mesa_free_framebuffer_data()Brian Paul2003-05-271-18/+20
|
* Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places.Brian Paul2003-05-011-0/+1
| | | | Misc vertex array / vertex program changes.
* alias ARB/NV program functions where possibleBrian Paul2003-04-211-0/+3
|
* minor re-org of program matrix, program local parameter limitsBrian Paul2003-04-181-4/+4
|
* checkpoint: more infrastructure for GL_ARB_vertex/fragment_program.Brian Paul2003-04-171-7/+41
|
* Some groundwork for GL_ARB_vertex/fragment_program.Brian Paul2003-04-111-1/+10
|
* clean-up current state initializationBrian Paul2003-04-011-9/+8
|
* minor initialization fixesBrian Paul2003-04-011-2/+4
|
* New device driver hooks for texture object and texture image creation toBrian Paul2003-04-011-160/+121
| | | | | allow drivers to implement C++-like inheritance via containment. Lots of assorted clean-ups related to texture objects.
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-3/+10
| | | | | 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-7/+12
| | | | Clean-up and optimize _swrast_texture_table_lookup().
* GL_SGI_texture_color_table extension (Eric Plante)Brian Paul2003-01-211-1/+7
|
* First batch of code for GL_NV_fragment_program.Brian Paul2003-01-141-25/+44
| | | | | Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
* Add mechanism to destroy mutexes. Important on OS's where mutex initializationKeith Whitwell2002-12-121-1/+3
| | | | allocates memory (like FreeBSD).
* put FEATURE_NV_vertex_program around vpstate.h includeBrian Paul2002-11-191-2/+4
|
* s/BZERO/_mesa_bzero/Brian Paul2002-10-301-2/+2
|
* init a few more fields in _mesa_initialize_visual()Brian Paul2002-10-291-1/+10
|
* Header file clean-up:Brian Paul2002-10-241-49/+39
| | | | | | | | 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-2/+11
|
* context-related cleanups (ex: _mesa_notifySwapBuffers instead of ↵Brian Paul2002-10-141-91/+19
| | | | _mesa_swapbuffers)
* Another round of glRead/DrawBuffer() clean-ups and simplifications.Brian Paul2002-10-111-16/+103
| | | | | | | 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.
* disable _glapi_set_warning_func() call as it's not present in older libGLsBrian Paul2002-10-101-1/+7
|
* XFree86 fixes (clib macro wrappers)Brian Paul2002-10-091-1/+14
|
* finally get rid of ctx->Texture._ReallyEnabled fieldBrian Paul2002-10-081-2/+1
|
* multiple GL_POINTS can now be rendered together into one fragment spanBrian Paul2002-10-041-1/+2
|
* removed unused ctx->Polygon.OffsetMRDBrian Paul2002-10-021-2/+1
|
* new texture compression infrastructureBrian Paul2002-09-271-2/+1
|
* GL_EXT_stencil_two_side extension, not 100% complete yet.Brian Paul2002-09-061-8/+17
|
* Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul2002-07-091-8/+9
| | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
* Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul2002-06-291-147/+17
| | | | Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
* fix problems in _mesa_debug/printf()Brian Paul2002-06-231-3/+7
|
* Moved GL_PROGRAM_ERROR_POSITION_NV state (it's not per-program).Brian Paul2002-06-181-3/+4
| | | | | Finished all glGet* queries for GL_NV_vertex_program. Improved error reporting in glEnable/Disable/Get, etc.
* new fix for initial window size problemBrian Paul2002-06-171-2/+34
|
* Port glXCopyContext bug from 4.0 branch.Brian Paul2002-06-171-23/+58
|
* added a commentBrian Paul2002-06-161-1/+2
|
* Implemented GL_NV_texture_rectangle extension.Brian Paul2002-06-151-10/+43
| | | | | | | | | 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-31/+70
| | | | | | Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
* more removal of fprintf() callsBrian Paul2002-06-131-3/+3
|
* fixed a couple dumb mistakesBrian Paul2002-06-131-2/+2
|
* New _mesa_debug() function to replace fprintf() calls.Brian Paul2002-06-131-34/+176
| | | | | | | | 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-2/+6
|
* Minor change to current raster position and texcoords.Brian Paul2002-05-091-3/+2
|
* added some castsBrian Paul2002-04-191-2/+2
|
* bring in changes from dri tcl branchKeith Whitwell2002-04-091-14/+48
|
* remove dead vertex assemblyKeith Whitwell2002-04-091-2/+1
|
* Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.Brian Paul2002-03-291-3/+2
|
* Use MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and textureBrian Paul2002-03-191-8/+8
| | | | | | | 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.
* Lots of changes related to framebuffer/window buffer resizing. Basically,Brian Paul2002-03-161-1/+4
| | | | | | | 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().