summaryrefslogtreecommitdiff
path: root/src/mesa/main/context.c
AgeCommit message (Collapse)Author
2004-01-23added device driver hooks for BindProgram, NewProgram, DeleteProgramBrian Paul
2004-01-20Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul
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.
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-10-21Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett
points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
2003-09-18remove MESA_TRACE stuffBrian Paul
2003-09-17Change the hyperlinks names in the main page to match the Doxygen generated ↵Jose Fonseca
ones.
2003-09-17More work on ARB_vertex_buffer_object.Brian Paul
Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes.
2003-09-09Added most of the infrastructure required to supportIan Romanick
ARB_vertex_buffer_object. THIS IS INCOMPLETE.
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-08-17Re-org of register files for vertex/fragment programs. Will be easier toBrian Paul
hook in global state references, etc. for ARB programs.
2003-07-22Restore more code lost during last big merge.Brian Paul
Rename colortable-related functions.
2003-07-21Initial implementation of GL_MESA_program_debug - a vertex/fragment programBrian Paul
debugging extension.
2003-07-18Fix up FEATURE_* defines in config.hBrian Paul
_glapi_add_entrypoint() updates in context.c
2003-07-18Fix up some loose ends from the last big check-in.Brian Paul
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-07-03Simplify extension string handling.Brian Paul
2003-06-13Implemented GL_ARB_occlusion_query (not 100% finalized).Brian Paul
2003-06-11new buffer/context visual compatibility test (Phil Brown)Brian Paul
2003-06-01setup default programs for GL_ARB_vertex/fragment_programBrian Paul
2003-05-30Added support for NV_light_max_exponent.Ian Romanick
2003-05-27check buffer->UseSoftware*Buffer in _mesa_free_framebuffer_data()Brian Paul
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