summaryrefslogtreecommitdiff
path: root/src/mesa/vbo
AgeCommit message (Collapse)Author
2008-06-05mesa: added _mesa_DrawArrays, DrawElements, DrawRangeElements() wrappers for ↵Brian Paul
VBO funcs
2008-05-31mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca
2008-05-30Fix segfault in _save_OBE_DrawElements() when using VBO and display list ↵Brian Paul
(bug 16156) This was previously fixed in master by commit 982dcb74fd19b88208d127b8019e2a2af979cac2 by Haihao Xiang.
2008-05-16fix an attr/src mix-up when setting-up/binding vertex arraysBrian Paul
This fixes problems with incorrect material coefficients when glMaterial is called per-vertex.
2008-04-11mesa: Fix glBegin-time test for invalid programs/shaders.Brian Paul
Cherry-picked from master.
2008-03-14mesa: revert fast-track glColor and similar calls when not immediate mode ↵Brian
rendering Revert commit d08cd68d3f5456b69ad504ede2b090c0bb6474db This change caused some glean tests to fail. The alpha value of colors was always 1.0 instead of the value from glColor4fv(). The mesa color array found in st_draw() has size=3 instead of size=4.
2008-03-10mesa: fast-track glColor and similar calls when not immediate mode renderingKeith Whitwell
Often these are mixed in with draw arrays calls, etc. Try not to get the whole immediate rendering state machine going when we receive one of these on their own.
2008-02-25Remove files of unsupported build systems.José Fonseca
2008-01-01fix vbo display list memleak upon context destructionBrian
2007-12-18vbo: unmap and remap immediate vbo before/after each draw.Keith Whitwell
Also use BufferData(NULL) to get fresh storage and avoid synchronous operation where we would have to flush and wait for the fence after each draw because of the map. This will chew through a whole load of buffer space on small draws, so it isn't a proper solution. Need to support a no-fence or append mapping mode to do this right, or use user buffers.
2007-12-07New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl ↵Brian
module.
2007-10-29Rename 'mms-config.' to 'mms.config'.Michal Krol
It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'.
2007-08-20fix VBO clean-up in vbo_exec_vtx_destroy()Brian
2007-08-17added vbo_use_buffer_objects() to specify that immediate mode data should be ↵Brian
put into bufferobjects
2007-07-04Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian
of -I flags.
2007-06-28a variety of fixes for MingWzhang
2007-04-12s/version/vertex/Brian
2007-04-12fix bug in _playback_copy_to_current(): need to skip version position data ↵Brian
(see bug 10587)
2007-04-06for evaluators, loop to VBO_ATTRIB_TEX7, not VBO_ATTRIB_INDEX. See bug 10543Brian
2007-03-09Merge branch 'origin' into glsl-compiler-1Brian
Conflicts: src/mesa/main/context.c
2007-03-08 Updates of the OpenVMS makefiles.J.Jansen
-include missing definitions -add files to compile -remove files from compile list which are removed from the repositry -add support for vbo new file: src/mesa/vbo/descrip.mms modified: src/mesa/descrip.mms modified: src/mesa/drivers/osmesa/descrip.mms modified: src/mesa/drivers/x11/descrip.mms modified: src/mesa/swrast_setup/descrip.mms modified: src/mesa/tnl/descrip.mms
2007-02-26fix mem leakBrian
2007-02-26Fix #10071 - wrong max_index in vbo draw_prims. (Papadakos Panagiotis)Aapo Tahkola
2007-02-22XXX comments about shadersBrian
2007-02-22use ctx->VertexProgram._Current instead of ctx->VertexProgram._EnabledBrian
2007-02-14fix typo preventing generic arrays from working with ARB_vp (bug #9952)Roland Scheidegger
2007-02-09 array overflow fixZou Nan hai
2007-02-01fix missing ADD_POINTERS, fixes crashes if the index elements are in a vbo.Roland Scheidegger
2007-01-30Use new rebase helper. Remove other rebase code.Keith Whitwell
2007-01-30Helper for rebasing draw requests where min_index != 0.Keith Whitwell
2007-01-25do not rebase index buffers as it does not work currently (tested with r200 ↵Roland Scheidegger
and sw mesa)
2007-01-25allocate larger minimum dstelt bufferRoland Scheidegger
increase the minimum dstelt buffer size to avoid triggering an assertion later because the split is triggered before the buffer is full. This fixes cases where the vbo_split_copy path is hit because of maximum index limit, where the dstelt buffer size needed could be very small (doom3 hit that assertion with a vertex count of just 3)
2007-01-25fix dstelt memory allocation to avoid hash corruptionRoland Scheidegger
2007-01-25re-fix bug 9062 in vbo codeRoland Scheidegger
2007-01-18typo fix. this case still fails.Aapo Tahkola
2007-01-18Fix invalid enums passed to MapBufferAapo Tahkola
2007-01-18Fix invalid enums passed to MapBufferAapo Tahkola
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-15Remove unused index buffer.Keith Whitwell
2007-01-15Correctly initialize current attribute sizes.Keith Whitwell
Some legacy attributes (eg color) have an initial value other than {0,0,0,1} which means that their initial size != 1 either.
2007-01-15Remove debug, reenable inplace splitting.keithw
2007-01-15Remove special-case handling for index and edgeflagKeith Whitwell
This isn't required with the changes to core mesa and the new attribute layout.
2007-01-15Hook in split functionalitykeithw
2007-01-15New files to manage splitting drawing commandskeithw
2006-11-20Don't perform dangling attribute check on POS attribute. It can't byKeith Whitwell
definition dangle (every vertex has a position). However save->currentsz isn't properly maintained for this attribute, as there is no current position value to track. Based on patch from Haihao Xiang.
2006-11-03need to call bind_arrays() in vbo_exec_DrawRangeElements.Roland Scheidegger
2006-11-02Fix typo in last commitKeith Whitwell
2006-11-02Similarly, fill in missing input slots in the vertex-array +Keith Whitwell
NV_vertex_program path.
2006-11-02Fill in missing input slots in the vertex-array + no-vertex-programKeith Whitwell
path.
2006-11-02Fix typo in display list attrib binding.Keith Whitwell