summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* Implement vertex attribute binding.Brian2007-01-091-5/+7
| | | | | Users can set explicit binding with glBindAttribLocation(), otherwise the linker will allocate generic attribute slots.
* Moved NumTexInstructions, NumTexIndirections, etc. into gl_program sinceBrian2007-01-092-15/+15
| | | | they can now apply to vertex programs.
* added PROGRAM_SAMPLERBrian2007-01-051-1/+2
|
* move TexturesUsed[] into gl_program since vertex programs/shaders can use ↵Brian2007-01-042-2/+2
| | | | textures nowadays
* simplify update_texture_state() a bit, compute _EnabledCoordUnits for shadersBrian2007-01-041-16/+25
|
* update_texture_state() updated for new shadersBrian2007-01-041-29/+10
|
* Minor clean-ups, reformatting, comment changes.Brian2006-12-201-23/+24
|
* Fix shader object reference counting and hash table deallocation.Brian2006-12-203-23/+28
|
* Clean-up and re-org of the main GLSL object types.Brian2006-12-193-18/+19
| | | | | | | Use the gl_shader struct as it should be. Renamed gl_linked_program to gl_shader_program. Store both shaders and programs in the same hash table and use the Type field to distinguish them.
* Overhaul of GLSL API functions, dispatching, etc.Brian2006-12-195-20/+77
|
* Massive re-org of GLSL-related API functions.Brian2006-12-192-0/+908
| | | | | | | Added new GLSL functions to struct dd_function_table. main/shaders.c calls GLSL functions through the dd_function_table. shader/shader_api.c implements the API functions. Other assorted changes, fixes everywhere else.
* Lots of assorted changes for new GLSL compiler backend.Brian2006-12-159-126/+265
| | | | New datatypes, constants, variables.
* Modify _mesa_strdup() so it handles NULL correctly.Brian2006-12-141-6/+14
|
* replace check for XFree86LOADER and IN_MODULE with XFree86Server (bug 9144)Brian Paul2006-11-271-1/+1
|
* Prune incoming state to the atoms of interest. Hopefully this willKeith Whitwell2006-11-221-6/+14
| | | | | prevent driver-initiated statechanges in the middle of DrawElements/DrawArrays from disturbing this code.
* Another fixKeith Whitwell2006-11-221-0/+8
|
* list header files in sources files (Dan Nicholson)Brian Paul2006-11-211-1/+75
|
* More fixes, glean seems to run now.Keith Whitwell2006-11-211-2/+3
|
* Fix more typos.Keith Whitwell2006-11-211-2/+2
|
* glTexCoord3dv was not using third coordinateSean D'Epagnier2006-11-211-1/+1
|
* Fix typos that meant vbos were never unmappedKeith Whitwell2006-11-201-4/+3
|
* fix glPopAttrib/color material bug #9091Brian Paul2006-11-201-4/+4
|
* delete shader objects when destroying shared context stateBrian Paul2006-11-181-0/+11
|
* Initial implementation work for CAL, RET, and BRA instructions for fragmentBrian Paul2006-11-161-0/+1
| | | | programs.
* fix bug 9046Brian Paul2006-11-161-2/+2
|
* use LONGSTRING to silence warningBrian Paul2006-11-161-1/+1
|
* fix glDrawPixels(GL_COLOR_INDEX, GL_BITMAP) bug 9044Brian Paul2006-11-161-3/+3
|
* Make sure vbo's are mapped before accessing their contents inKeith Whitwell2006-11-162-6/+94
| | | | api_arrayelt.c. Reported by Haihao Xiang.
* Add a size parameter to _mesa_add_unnamed_constant() andBrian Paul2006-11-151-1/+1
| | | | | _mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now...
* #define LONGSTRING __extension__ in imports.h and use it to silence gccBrian Paul2006-11-151-0/+9
| | | | warnings about long string literals.
* plug in 2.0, 2.1 functionsBrian Paul2006-11-031-0/+26
|
* Added OpenGL 2.1 entrypoints.Brian Paul2006-11-031-2093/+2158
|
* replace CONFIG_H with MESA_CONFIG_H_INCLUDEDBrian Paul2006-11-031-4/+4
|
* Minor changes to get ready for OpenGL 2.1.Brian Paul2006-11-033-1/+11
|
* Update gl_API.xml with OpenGL 2.0 functions, regenerate derived files.Brian Paul2006-11-021-2844/+3028
|
* minor change in _mesa_ResizeBuffersMESA()Brian Paul2006-11-021-1/+2
|
* comment about a valgrind errorBrian Paul2006-11-021-0/+1
|
* s/GLchan/GLubyte/ in debug codeBrian Paul2006-11-021-3/+3
|
* init SecondaryRasterColorBrian Paul2006-11-021-0/+1
|
* Added GL_STENCIL_BACK_WRITEMASKBrian Paul2006-11-022-0/+10
|
* check for shader extensions for OpenGL 2.0Brian Paul2006-11-021-2/+4
|
* Undo some of yesterday's ATI_separate_stencil changes. The ATI extensionBrian Paul2006-11-023-51/+51
| | | | doesn't exactly match OpenGL 2.0.
* new RGBA_LOGICOP_ENABLED() macroBrian Paul2006-11-022-3/+9
|
* Rename _mesa_IsProgram() to _mesa_IsProgramARB() to avoid collision with theBrian Paul2006-11-022-3/+3
| | | | OpenGL 2.0 function of the same name.
* Add ATI_separate_stencil and use it in preference to EXT_stencil_two_sideBrian Paul2006-11-024-56/+57
| | | | since the former is what's used for OpenGL 2.0.
* update _mesa_select_tex_image() and _mesa_get_tex_image()Brian Paul2006-11-011-2/+2
|
* update commentsBrian Paul2006-11-011-17/+6
|
* Remove x/y/width/height parameters from Clear functions.Brian Paul2006-11-012-18/+4
|
* Merge texmem-0-3-branch.Keith Whitwell2006-11-0111-507/+813
|
* Added a few new ctx->Const. fields for shader-related limits.Brian Paul2006-11-014-16/+30
|