summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* jump through dispatch table instead of calling gl functions directlyBrian Paul2004-02-241-32/+34
|
* fix incorrect texcoord attribute indexBrian Paul2004-02-241-1/+1
|
* added some GLAPIENTRY keywords, minor clean-upsBrian Paul2004-02-241-82/+82
|
* Yet another revision of _ae_update_state(). Issue both conventional ANDBrian Paul2004-02-241-82/+65
| | | | | generic vertex attribute commands, ignoring ctx->VertexProgram.Enabled since this function may be used during display list compilation.
* added some const keywordsBrian Paul2004-02-243-12/+13
|
* glDrawArrays loop was wrongBrian Paul2004-02-242-7/+5
|
* some debug codeBrian Paul2004-02-171-0/+12
|
* added FogOption to fragment_program structBrian Paul2004-02-172-0/+2
|
* added FixedToDouble() macroBrian Paul2004-02-171-0/+4
|
* Added TRIANGLE_WALK_DOUBLE to optionally walk triangle edges with GLdoublesBrian Paul2004-02-171-9/+24
| | | | instead of GLfixed. (Justin Novosad)
* Remove debugKeith Whitwell2004-02-141-2/+0
|
* Make it easier for drivers to create "subclasses" of the existingKeith Whitwell2004-02-144-43/+97
| | | | | | | program struct hierarchy. Add driver callbacks to enable the above and make it possible to track more changes to program objects.
* init secondary color to (0,0,0,1). remove some redundant initializations.Brian Paul2004-02-131-4/+3
|
* set buffer object default Usage and AccessBrian Paul2004-02-131-2/+4
|
* Minor re-org of state for fog and precision options.Brian Paul2004-02-124-64/+56
|
* Fix the problem found with UT after I had added support for glVertexAttrib.Brian Paul2004-02-111-110/+568
| | | | | The problem came from using the _glapi_Dispatch->VertexAttrib*fvNV pointers since they can change from one glArrayElement call to the next.
* Do more bookkeeping of vertex buffer object reference counts.Brian Paul2004-02-113-4/+40
| | | | Incr/decr counts when doing glPush/PopClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT).
* revert to version 1.18 for now to fix segfaults in some applicationsRoland Scheidegger2004-02-111-583/+110
|
* Restore some of the previous code for handling conventional vertex attributesBrian Paul2004-02-091-341/+654
| | | | | | more efficiently. Remove switches/conditionals from vertex attribute wrappers. glMultiTexCoord is implemented in terms of glVertexAttrib.
* Updated to handle generic vertex attributes accessed vi glArrayElement().Brian Paul2004-02-081-220/+380
| | | | | In fact, handle all conventional vertex attributes in terms of generic attributes (execept for edge flags and color indexes).
* fully parameterize the macros for fixed-point arithmeticBrian Paul2004-02-081-13/+7
|
* added an additional comment about mipmap generationBrian Paul2004-02-081-0/+3
|
* Refactor "class" texture environments to be implemented in terms ofIan Romanick2004-02-064-151/+368
| | | | ARB_texture_env_combine state.
* inform driver of changed wrap/filter parameters due to binding of nv_texrect ↵Roland Scheidegger2004-02-061-0/+8
| | | | texture
* Added flags for _all_ extensions to the gl_extensions struct so that driversBrian Paul2004-02-062-23/+42
| | | | can disable any extension if necessary.
* fix stores to vertex state program registersBrian Paul2004-02-042-5/+15
|
* glBindProgramARB wasn't getting compiled into display lists (bug 887383)Brian Paul2004-01-301-3/+7
|
* more descriptive error stringsBrian Paul2004-01-301-9/+9
|
* Add GLAPIENTRY function decorations for correct operation on Windows.Karl Schultz2004-01-281-9/+9
|
* tweak the #if test for defining _ASMAPI (fixes IRIX problem)Brian Paul2004-01-281-3/+3
|
* patch from bug 885992Brian Paul2004-01-281-1/+7
|
* Move FRAG_BIT_ definitions to mtypes.h so that NEED_SECONDARY_COLOR() macroKeith Whitwell2004-01-282-37/+41
| | | | works globally.
* Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick2004-01-2710-43/+158
| | | | | The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
* Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell2004-01-274-167/+128
| | | | array, texObj->Image[face][level].
* minimize the number of DIVsDaniel Borca2004-01-261-3/+3
|
* New error checking in _mesa_GetTexImage().Brian Paul2004-01-242-26/+85
| | | | Updated comments and some better function parameter names.
* Some initial RGB and RGBA floating point texture formats.Brian Paul2004-01-243-53/+216
|
* added device driver hooks for BindProgram, NewProgram, DeleteProgramBrian Paul2004-01-234-18/+49
|
* Change software alpha plane pointers from void* to GLchan*, eliminate some ↵Brian Paul2004-01-231-4/+4
| | | | casts.
* Don't set extra bits in FLUSH_VERTICES, fix several state bugs.Keith Whitwell2004-01-238-50/+30
|
* Modified error messages in _mesa_BlendFuncSeparateEXT to note that theIan Romanick2004-01-231-8/+8
| | | | | same function is used internally for glBlendFunc and glBlendFuncSeparate.
* Initial support for floating point and signed texture formats.Brian Paul2004-01-235-344/+846
| | | | | | | New "FetchTexelFuncF()" function returns texels in floating point format. Only used for depth component images at this time. Changed original FetchTexelFunc to return GLchan instead of GLvoid, removing need for a bunch of ugly casts.
* Minor tweaks to help out at a driver level.Keith Whitwell2004-01-223-6/+19
|
* Silence a compiler warning DRI builds using gcc3.Ian Romanick2004-01-211-1/+1
|
* Remove dd_function_table::BlendFunc. All drivers now useIan Romanick2004-01-213-102/+10
| | | | | | dd_function_table:BlendFuncSeparate. If a driver does not actually support EXT_blend_func_separate, it can assume that the RGB and alpha blend functions are the same.
* don't call glVertex functions directly, call _glapi_Dispatch->Vertex(), etcBrian Paul2004-01-211-20/+20
|
* remove _mesa_check_driver_hooks() - it's really not too useful anymoreBrian Paul2004-01-203-68/+20
|
* Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul2004-01-204-107/+85
| | | | | | | | | | 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.
* replace CALLOC with MALLOC in _mesa_new_texture_object()Brian Paul2004-01-191-1/+1
|
* remove incorrect comments, added _mesa_bzero() call in ↵Brian Paul2004-01-191-12/+3
| | | | _mesa_initialize_texture_object()