summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2007-01-23fixes for C++ warnings/errorsBrian
2007-01-16Don't special-case index, edgeflag.Keith Whitwell
Remove display list opcodes for INDEX and EDGEFLAG, handle them through the regular ATTRIB mechanism now that Mesa understands them to just be regular attribs.
2007-01-16Merge branch 'master' of git+ssh://keithw@git.freedesktop.org/git/mesa/mesa ↵Keith Whitwell
into vbo-0.2 Conflicts: src/mesa/array_cache/sources src/mesa/drivers/dri/i965/brw_context.c src/mesa/drivers/dri/i965/brw_draw.c src/mesa/drivers/dri/i965/brw_fallback.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_vs_tnl.c src/mesa/drivers/dri/mach64/mach64_context.c src/mesa/main/extensions.c src/mesa/main/getstring.c src/mesa/tnl/sources src/mesa/tnl/t_save_api.c src/mesa/tnl/t_save_playback.c src/mesa/tnl/t_vtx_api.c src/mesa/tnl/t_vtx_exec.c src/mesa/vbo/vbo_attrib.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_api.c src/mesa/vbo/vbo_save_draw.c
2007-01-15Don't special-case FOG attribute initialization.Keith Whitwell
Initial fog value was being set to {0,0,0,0}. This results in vector size 4, but isn't necessary. The regular {0,0,0,1} works fine.
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-09put back missing Driver.PolygonMode call (bug 9578)Roland Scheidegger
2007-01-05added PROGRAM_SAMPLERBrian
2007-01-05Fix glPush/PopClientAttrib() for VBO state (bug 9445).Brian
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-21Drop mesa wrappers for XFree86.George Sapountzis
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-15Fix copy-and-paste mistake in comment ("scaling" should read "translation").Gary Wong
Before _mesa_Translatef().
2006-12-15Lots of assorted changes for new GLSL compiler backend.Brian
New datatypes, constants, variables.
2006-12-14Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesaBrian
2006-12-14Modify _mesa_strdup() so it handles NULL correctly.Brian
2006-12-14_mesa_swizzle_ubyte_image: Only use single swizzle_copy call when strides match.Michel Dänzer
This fixes texture data corruption with glTexSubimage (and probably glTexImage under some circumstances) with the texstore swizzle path.
2006-12-13Move all the code for computing ctx->_TriangleCaps into state.c.Brian
ctx->_TriangleCaps should probably go away altogether someday...
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