summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2007-02-03Add _NEW_PROGRAM flag to _MESA_NEW_NEED_EYE_COORDS.Brian
This fixes a segfault in the texgen code that can occur after we've disabled a vertex program.
2007-01-24added FRAG_BIT_TEX() and FRAG_BIT_VAR() macrosBrian
2007-01-23fix g++ warnings/errorsBrian
2007-01-09Implement vertex attribute binding.Brian
Users can set explicit binding with glBindAttribLocation(), otherwise the linker will allocate generic attribute slots.
2007-01-09Moved NumTexInstructions, NumTexIndirections, etc. into gl_program sinceBrian
they can now apply to vertex programs.
2007-01-05added PROGRAM_SAMPLERBrian
2007-01-04move TexturesUsed[] into gl_program since vertex programs/shaders can use ↵Brian
textures nowadays
2007-01-04simplify update_texture_state() a bit, compute _EnabledCoordUnits for shadersBrian
2007-01-04update_texture_state() updated for new shadersBrian
2006-12-20Minor clean-ups, reformatting, comment changes.Brian
2006-12-20Fix shader object reference counting and hash table deallocation.Brian
2006-12-19Clean-up and re-org of the main GLSL object types.Brian
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.
2006-12-19Overhaul of GLSL API functions, dispatching, etc.Brian
2006-12-19Massive re-org of GLSL-related API functions.Brian
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.
2006-12-15Lots of assorted changes for new GLSL compiler backend.Brian
New datatypes, constants, variables.
2006-12-14Modify _mesa_strdup() so it handles NULL correctly.Brian
2006-11-27replace check for XFree86LOADER and IN_MODULE with XFree86Server (bug 9144)Brian Paul
2006-11-22Prune incoming state to the atoms of interest. Hopefully this willKeith Whitwell
prevent driver-initiated statechanges in the middle of DrawElements/DrawArrays from disturbing this code.
2006-11-22Another fixKeith Whitwell
2006-11-21list header files in sources files (Dan Nicholson)Brian Paul
2006-11-21More fixes, glean seems to run now.Keith Whitwell
2006-11-21Fix more typos.Keith Whitwell
2006-11-21glTexCoord3dv was not using third coordinateSean D'Epagnier
2006-11-20Fix typos that meant vbos were never unmappedKeith Whitwell
2006-11-20fix glPopAttrib/color material bug #9091Brian Paul
2006-11-18delete shader objects when destroying shared context stateBrian Paul
2006-11-16Initial implementation work for CAL, RET, and BRA instructions for fragmentBrian Paul
programs.
2006-11-16fix bug 9046Brian Paul
2006-11-16use LONGSTRING to silence warningBrian Paul
2006-11-16fix glDrawPixels(GL_COLOR_INDEX, GL_BITMAP) bug 9044Brian Paul
2006-11-16Make sure vbo's are mapped before accessing their contents inKeith Whitwell
api_arrayelt.c. Reported by Haihao Xiang.
2006-11-15Add a size parameter to _mesa_add_unnamed_constant() andBrian Paul
_mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now...
2006-11-15#define LONGSTRING __extension__ in imports.h and use it to silence gccBrian Paul
warnings about long string literals.
2006-11-03plug in 2.0, 2.1 functionsBrian Paul
2006-11-03Added OpenGL 2.1 entrypoints.Brian Paul
2006-11-03replace CONFIG_H with MESA_CONFIG_H_INCLUDEDBrian Paul
2006-11-03Minor changes to get ready for OpenGL 2.1.Brian Paul
2006-11-02Update gl_API.xml with OpenGL 2.0 functions, regenerate derived files.Brian Paul
2006-11-02minor change in _mesa_ResizeBuffersMESA()Brian Paul
2006-11-02comment about a valgrind errorBrian Paul
2006-11-02s/GLchan/GLubyte/ in debug codeBrian Paul
2006-11-02init SecondaryRasterColorBrian Paul
2006-11-02Added GL_STENCIL_BACK_WRITEMASKBrian Paul
2006-11-02check for shader extensions for OpenGL 2.0Brian Paul
2006-11-02Undo some of yesterday's ATI_separate_stencil changes. The ATI extensionBrian Paul
doesn't exactly match OpenGL 2.0.
2006-11-02new RGBA_LOGICOP_ENABLED() macroBrian Paul
2006-11-02Rename _mesa_IsProgram() to _mesa_IsProgramARB() to avoid collision with theBrian Paul
OpenGL 2.0 function of the same name.
2006-11-02Add ATI_separate_stencil and use it in preference to EXT_stencil_two_sideBrian Paul
since the former is what's used for OpenGL 2.0.
2006-11-01update _mesa_select_tex_image() and _mesa_get_tex_image()Brian Paul
2006-11-01update commentsBrian Paul