summaryrefslogtreecommitdiff
path: root/src/mesa/vbo
AgeCommit message (Collapse)Author
2008-09-25mesa: fix some VBO buffer object issuesBrian Paul
The VBO module may use a real VBO or a malloc'd buffer for vertex storage. Be careful not to accidentally replace the later with the former when drawing. Check if using a real VBO at destroy time to prevent a double-free.
2008-09-23vbo: 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.
2008-09-23added vbo_use_buffer_objects() to specify that immediate mode data should be ↵Brian
put into bufferobjects
2008-09-23vbo: seed initial max_element value with a more likely candidateKeith Whitwell
(cherry picked from commit 026e7731e549e0777c010348460fd48b3d75a843)
2008-09-23mesa: s/GL_POLYGON+1/PRIM_OUTSIDE_BEGIN_END/Brian Paul
(cherry picked from commit 8a369b909a6648ae7a5a0c2dcb972a2f96f99a80)
2008-09-23mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca
2008-09-21mesa: point size arraysBrian Paul
2008-09-21mesa: refactor: move #define FEATURE flags into new mfeatures.h fileKeith Whitwell
Also, check the FEATURE flags in many places. (cherry picked from commit 40d1a40f294f1ed2dacfad6f5498322fc08cc2d1) Conflicts: src/mesa/main/config.h src/mesa/main/context.c src/mesa/main/texobj.c src/mesa/main/texstate.c src/mesa/main/texstore.c
2008-09-21mesa: remove dead fileKeith Whitwell
2008-09-16mesa: fix display list regression (check if save->prim_count > 0 in ↵Brian Paul
vbo_save_EndList())
2008-09-15mesa: get another class of degenerate dlists workingKeith Whitwell
Primitive begin in one dlist, end in another.
2008-09-04mesa: improved gl_buffer_object reference countingBrian Paul
Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView.
2008-06-10remove unnecessary swrast, tnl includesBrian Paul
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-23drop stray includes of glapiGeorge Sapountzis
2008-02-20Fix glBegin-time test for invalid programs/shaders.Brian
2008-01-01fix vbo display list memleak upon context destructionBrian
2007-10-03 Update of OpenVMS makefiles for the use of "new" include file conventionJouk
2007-09-20fix memory access error in vbo_bind_vertex_listXiang, Haihao
2007-09-14mesa: bind VBO_ATTRIB_XXX to correct input array whenXiang, Haihao
executing a display list. fix #10604
2007-08-07fix vbo_split_copy related bug 9962Xiang, Haihao
2007-08-02Remove some code that was never hit (bug 11811).Brian
Also added an assertion to check that NR_MAT_ATTRIBS == MAT_ATTRIB_MAX. In the unlikely event this ever changes, maybe restore the code.
2007-07-31Fix an error in _save_OBE_DrawElementsXiang, Haihao
In the case that a buffer object is bound to ELEMENT_ARRARY_BUFFER, it is invalid to directly dereference indices passed to glDrawElements.
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