summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo
Commit message (Collapse)AuthorAgeFilesLines
* fix vbo display list memleak upon context destructionBrian2008-01-012-0/+16
|
* vbo: unmap and remap immediate vbo before/after each draw.Keith Whitwell2007-12-181-0/+16
| | | | | | | | | | 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.
* New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl ↵Brian2007-12-072-0/+15
| | | | module.
* Rename 'mms-config.' to 'mms.config'.Michal Krol2007-10-291-1/+1
| | | | | It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'.
* fix VBO clean-up in vbo_exec_vtx_destroy()Brian2007-08-201-4/+13
|
* added vbo_use_buffer_objects() to specify that immediate mode data should be ↵Brian2007-08-173-3/+52
| | | | put into bufferobjects
* Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian2007-07-0417-82/+82
| | | | of -I flags.
* a variety of fixes for MingWzhang2007-06-282-0/+9
|
* s/version/vertex/Brian2007-04-121-1/+1
|
* fix bug in _playback_copy_to_current(): need to skip version position data ↵Brian2007-04-121-0/+2
| | | | (see bug 10587)
* for evaluators, loop to VBO_ATTRIB_TEX7, not VBO_ATTRIB_INDEX. See bug 10543Brian2007-04-062-4/+4
|
* Merge branch 'origin' into glsl-compiler-1Brian2007-03-094-2/+63
|\ | | | | | | | | | | Conflicts: src/mesa/main/context.c
| * Updates of the OpenVMS makefiles.J.Jansen2007-03-081-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | -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
| * fix mem leakBrian2007-02-261-0/+1
| |
| * Fix #10071 - wrong max_index in vbo draw_prims. (Papadakos Panagiotis)Aapo Tahkola2007-02-262-2/+2
| |
* | XXX comments about shadersBrian2007-02-222-0/+2
| |
* | use ctx->VertexProgram._Current instead of ctx->VertexProgram._EnabledBrian2007-02-221-2/+2
|/
* fix typo preventing generic arrays from working with ARB_vp (bug #9952)Roland Scheidegger2007-02-141-1/+1
|
* array overflow fixZou Nan hai2007-02-091-2/+2
|
* fix missing ADD_POINTERS, fixes crashes if the index elements are in a vbo.Roland Scheidegger2007-02-011-5/+7
|
* Use new rebase helper. Remove other rebase code.Keith Whitwell2007-01-305-73/+79
|
* Helper for rebasing draw requests where min_index != 0.Keith Whitwell2007-01-302-0/+235
|
* do not rebase index buffers as it does not work currently (tested with r200 ↵Roland Scheidegger2007-01-251-2/+3
| | | | and sw mesa)
* allocate larger minimum dstelt bufferRoland Scheidegger2007-01-251-1/+1
| | | | | | | | 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)
* fix dstelt memory allocation to avoid hash corruptionRoland Scheidegger2007-01-251-1/+1
|
* re-fix bug 9062 in vbo codeRoland Scheidegger2007-01-251-0/+5
|
* typo fix. this case still fails.Aapo Tahkola2007-01-181-1/+1
|
* Fix invalid enums passed to MapBufferAapo Tahkola2007-01-181-1/+1
|
* Fix invalid enums passed to MapBufferAapo Tahkola2007-01-183-4/+4
|
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Keith Whitwell2007-01-164-14/+30
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove unused index buffer.Keith Whitwell2007-01-152-10/+1
|
* Correctly initialize current attribute sizes.Keith Whitwell2007-01-151-2/+9
| | | | | Some legacy attributes (eg color) have an initial value other than {0,0,0,1} which means that their initial size != 1 either.
* Remove debug, reenable inplace splitting.keithw2007-01-153-18/+3
|
* Remove special-case handling for index and edgeflagKeith Whitwell2007-01-155-181/+24
| | | | | This isn't required with the changes to core mesa and the new attribute layout.
* Hook in split functionalitykeithw2007-01-152-7/+37
|
* New files to manage splitting drawing commandskeithw2007-01-154-0/+1083
|
* Don't perform dangling attribute check on POS attribute. It can't byKeith Whitwell2006-11-201-1/+1
| | | | | | 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.
* need to call bind_arrays() in vbo_exec_DrawRangeElements.Roland Scheidegger2006-11-031-1/+3
|
* Fix typo in last commitKeith Whitwell2006-11-021-1/+1
|
* Similarly, fill in missing input slots in the vertex-array +Keith Whitwell2006-11-021-0/+7
| | | | NV_vertex_program path.
* Fill in missing input slots in the vertex-array + no-vertex-programKeith Whitwell2006-11-021-1/+10
| | | | path.
* Fix typo in display list attrib binding.Keith Whitwell2006-11-021-1/+1
|
* move public structure definitions to vbo.hKeith Whitwell2006-10-315-25/+31
|
* Move edgeflag into the VERT_ATTRIB_SEVEN slot. This means that ourKeith Whitwell2006-10-307-89/+94
| | | | | | | 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.
* Remove wakeup functions. This code is intended to be active all theKeith Whitwell2006-10-305-46/+19
| | | | time.
* switch several dri drivers overKeith Whitwell2006-10-303-4/+42
|
* better handling of current attributes. Trivial dlist and varray tests workKeith Whitwell2006-10-307-139/+214
|
* Checkpoint of new vbo-building code. Currently builds regular arraysKeith Whitwell2006-10-2915-0/+4705
rather than VBO's - VBOs are easy but need to look closer at the driver interface. The trivial/tri demo works.