summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* move oldFb decl into tighter scopesBrian2007-03-011-3/+3
|
* fix bad n_dot_h normalization code (bug 9977), plus clean-up the code in generalBrian2007-03-011-33/+31
|
* assert that fb->RefCount==0 in _mesa_free_framebuffer_data()Brian2007-02-271-0/+1
|
* Do proper framebuffer refcounting in _mesa_make_current().Brian2007-02-263-16/+38
| | | | | | Also, added DeletePending field to gl_framebuffer used when a window has been deleted, but there still may be rendering contexts attached to the gl_framebuffer object.
* fd.o #BZ 9684Zou Nan hai2007-02-121-1/+2
| | | | | 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.
* ctx->Point._Size fixRune Peterson2007-02-103-26/+7
|
* optimize generated vertex programs a bitRoland Scheidegger2007-02-091-0/+8
| | | | | | | | 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...
* fix mem leakPanagiotis Papadakos2007-02-051-0/+3
|
* Add _NEW_PROGRAM flag to _MESA_NEW_NEED_EYE_COORDS.Brian2007-02-031-0/+1
| | | | | This fixes a segfault in the texgen code that can occur after we've disabled a vertex program.
* Merge branch 'vbo-0.2'Keith Whitwell2007-02-0211-123/+69
|\ | | | | | | | | | | | | Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
| * Don't special-case index, edgeflag.Keith Whitwell2007-01-161-46/+3
| | | | | | | | | | | | 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.
| * Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Keith Whitwell2007-01-1634-3261/+3586
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Don't special-case FOG attribute initialization.Keith Whitwell2007-01-151-1/+0
| | | | | | | | | | | | | | | 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.
| * | merge current trunk into vbo branchAlan Hourihane2006-11-0221-651/+950
| | |
| * | oops, get.c is autogeneratedKeith Whitwell2006-10-302-4/+4
| | |
| * | Move edgeflag into the VERT_ATTRIB_SEVEN slot. This means that ourKeith Whitwell2006-10-305-13/+13
| | | | | | | | | | | | | | | | | | | | | NV_vertex_program implementation has slightly incorrect aliasing behaviour. I think this is reasonable given the simplification and the fact that the mainstream ARB_vp continues to have the correct behaviour.
| * | better handling of current attributes. Trivial dlist and varray tests workKeith Whitwell2006-10-303-17/+4
| | |
| * | Fix compiler warningKeith Whitwell2006-10-291-1/+1
| | |
* | | _mesa_pack_rgba_span_float: fix for packing data into groupXiang, Haihao2007-01-311-3/+5
| | |
* | | bump version to 6.5.3Brian2007-01-301-7/+7
| | |
* | | Bug 9628: no entry for GetVertexAttribPointervGeorge Sapountzis2007-01-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> and regenerate.
* | | fix typoBrian2007-01-261-1/+1
| | |
* | | document, re-indent _mesa_ffsll()Brian2007-01-261-10/+18
| | |
* | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaBrian2007-01-263-24/+28
|\ \ \
| * | | Add _mesa_ffsll() for compatibility on OSes without ffsll(), and use it.Eric Anholt2007-01-262-0/+24
| | | |
| * | | Override Const.CheckArrayBounds for Xserver in XMesaCreateContext().George Sapountzis2007-01-261-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This leaves one last XFree86Server ifdef in Mesa core. --- Bug 9285: misc glcore, xmesa cleanups ACKed by Ian Romanick.
| * | | Drop old (pre-AIGLX) GLcore interface.George Sapountzis2007-01-262-17/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | silence C++ warningsBrian2007-01-231-2/+2
|/ / /
* | / fixes for C++ warnings/errorsBrian2007-01-235-10/+11
| |/ |/|
* | put back missing Driver.PolygonMode call (bug 9578)Roland Scheidegger2007-01-091-0/+3
| |
* | Fix glPush/PopClientAttrib() for VBO state (bug 9445).Brian2007-01-051-2/+15
| |
* | Drop mesa wrappers for XFree86.George Sapountzis2006-12-213-208/+45
| |
* | Fix copy-and-paste mistake in comment ("scaling" should read "translation").Gary Wong2006-12-151-1/+1
| | | | | | | | Before _mesa_Translatef().
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaBrian2006-12-141-1/+2
|\ \
| * | _mesa_swizzle_ubyte_image: Only use single swizzle_copy call when strides match.Michel Dänzer2006-12-141-1/+2
| | | | | | | | | | | | | | | This fixes texture data corruption with glTexSubimage (and probably glTexImage under some circumstances) with the texstore swizzle path.
* | | Move all the code for computing ctx->_TriangleCaps into state.c.Brian2006-12-138-166/+129
|/ / | | | | | | ctx->_TriangleCaps should probably go away altogether someday...
* | 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
| |