summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2007-02-12 fd.o #BZ 9684Zou Nan hai
gcc may cast an overflowed float value to an negative int value on i386, fix it to make sure at least some apps will not crash if it contains wrong normal data.
2007-02-10ctx->Point._Size fixRune Peterson
2007-02-09optimize generated vertex programs a bitRoland Scheidegger
Use new internal state to avoid per-vertex normalization of static spot direction vector. Use internal state for simpler per-vertex fog computations (MAD instead of SUB/MUL for linear fog, EX2 instead of POW for EXP/EXP2 fog). Simplify point size calc (2 MADs instead of MOV, MUL, MUL, DP3), and while there fix it up (RSQ instead of RCP). All untested...
2007-02-05fix mem leakPanagiotis Papadakos
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-02-02Merge branch 'vbo-0.2'Keith Whitwell
Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
2007-01-31_mesa_pack_rgba_span_float: fix for packing data into groupXiang, Haihao
2007-01-30bump version to 6.5.3Brian
2007-01-27Bug 9628: no entry for GetVertexAttribPointervGeorge Sapountzis
This is because (in glX_API.xml) GetVertexAttribPointerv is aliased to GetVertexAttribPointervARB which is then aliased to GetVertexAttribPointervNV. Make GetVertexAttribPointerv alias GetVertexAttribPointervNV directly. Patch by Ian Romanick <idr@us.ibm.com> and regenerate.
2007-01-26fix typoBrian
2007-01-26document, re-indent _mesa_ffsll()Brian
2007-01-26Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesaBrian
2007-01-26Add _mesa_ffsll() for compatibility on OSes without ffsll(), and use it.Eric Anholt
2007-01-26Override Const.CheckArrayBounds for Xserver in XMesaCreateContext().George Sapountzis
This leaves one last XFree86Server ifdef in Mesa core. --- Bug 9285: misc glcore, xmesa cleanups ACKed by Ian Romanick.
2007-01-26Drop old (pre-AIGLX) GLcore interface.George Sapountzis
The old GLcore interface was replaced in Xorg 7.1 with the addition of AIGLX, it is only used by DDX's which are known not to work with the new DIX glx code. --- Bug 9285: misc glcore, xmesa cleanups ACKed by Ian Romanick.
2007-01-23silence C++ warningsBrian
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-09put back missing Driver.PolygonMode call (bug 9578)Roland Scheidegger
2007-01-05Fix glPush/PopClientAttrib() for VBO state (bug 9445).Brian
2006-12-21Drop mesa wrappers for XFree86.George Sapountzis
2006-12-15Fix copy-and-paste mistake in comment ("scaling" should read "translation").Gary Wong
Before _mesa_Translatef().
2006-12-14Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesaBrian
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