summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement software ATI_fragment_shaderDave Airlie2004-12-191-0/+29
| | | | no error detection, slow, may not be 100% correct but a good start
* silence a variety of warnings found with g++ 3.4.2Brian Paul2004-12-031-1/+1
|
* Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().Brian Paul2004-11-271-30/+26
| | | | | | | | Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA() if necessary. Cleaned up code related to GLframebuffer width/height initialization. Set initial viewport/scissor params in _mesa_make_current2(), instead of in the drivers' MakeCurrent functions.
* add a few functions in add_newer_entrypoints()Brian Paul2004-11-271-5/+9
|
* clean up code related to dispatch table initializationBrian Paul2004-11-271-19/+45
|
* Add support for OES_read_format. As soon as glext.h is updated with theIan Romanick2004-10-161-0/+3
| | | | enums for this extension, the changes to gl.h can be removed.
* added support for GL_ARB_draw_buffersBrian Paul2004-10-021-2/+7
|
* More updates for Doxygen.Brian Paul2004-09-101-12/+17
|
* Update the doxygen configuration file.Jose Fonseca2004-09-091-1/+1
| | | | Minor updates/fixes to the source documentation.
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-0/+10
| | | | 1015696)
* fix some memory leaks (bug #1002030)Brian Paul2004-08-141-14/+22
|
* Re-enable SPARC assembly on sunos5-gcc platform.Ian Romanick2004-06-261-1/+1
|
* remove the 3dfx CatchSignals stuff (the var was alwasy set)Brian Paul2004-06-111-1/+4
|
* Removed the old teximage code.Brian Paul2004-04-271-0/+4
| | | | | Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-211-25/+27
| | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
* Remove clamp parameter from _mesa_unpack_color_span_float(). Pass theBrian Paul2004-02-281-0/+6
| | | | | | IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet).
* init secondary color to (0,0,0,1). remove some redundant initializations.Brian Paul2004-02-131-4/+3
|
* added device driver hooks for BindProgram, NewProgram, DeleteProgramBrian Paul2004-01-231-10/+20
|
* Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul2004-01-201-32/+41
| | | | | | | | | | by calling _mesa_init_driver_functions() and then plugging in the driver- specific functions. In particular, make sure ctx->Driver.NewTextureObject points to the appropriate driver function so that _all_ texture objects are augmented with the driver-specific data. Put in a bunch of assertions in the texture-related driver functions that texObj->DriverData is valid. Remove old dead code in near future.
* Merge vtx-0-2-branchKeith Whitwell2003-11-241-3/+1
|
* Redo array element checking for vertex array buffers.Brian Paul2003-11-101-0/+9
| | | | | | | 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.
* Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett2003-10-211-2/+2
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
* remove MESA_TRACE stuffBrian Paul2003-09-181-8/+3
|
* Change the hyperlinks names in the main page to match the Doxygen generated ↵Jose Fonseca2003-09-171-3/+3
| | | | ones.
* More work on ARB_vertex_buffer_object.Brian Paul2003-09-171-0/+2
| | | | | Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes.
* Added most of the infrastructure required to supportIan Romanick2003-09-091-0/+7
| | | | ARB_vertex_buffer_object. THIS IS INCOMPLETE.
* Moved some shared vertex/fragment program code into new program.c file.Brian Paul2003-08-311-3/+2
| | | | | | | 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.
* Added support for GL_IBM_multimode_draw_arrays.Ian Romanick2003-08-221-161/+177
| | | | | | | | 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.
* Re-org of register files for vertex/fragment programs. Will be easier toBrian Paul2003-08-171-4/+0
| | | | hook in global state references, etc. for ARB programs.
* Restore more code lost during last big merge.Brian Paul2003-07-221-3/+6
| | | | Rename colortable-related functions.
* Initial implementation of GL_MESA_program_debug - a vertex/fragment programBrian Paul2003-07-211-0/+1
| | | | debugging extension.
* Fix up FEATURE_* defines in config.hBrian Paul2003-07-181-76/+178
| | | | _glapi_add_entrypoint() updates in context.c
* Fix up some loose ends from the last big check-in.Brian Paul2003-07-181-3/+2
|
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-1164/+497
|
* Simplify extension string handling.Brian Paul2003-07-031-5/+7
|
* Implemented GL_ARB_occlusion_query (not 100% finalized).Brian Paul2003-06-131-0/+4
|
* new buffer/context visual compatibility test (Phil Brown)Brian Paul2003-06-111-10/+48
|
* 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().