summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo
Commit message (Collapse)AuthorAgeFilesLines
* mesa: display list clean-upsBrian2009-01-312-4/+4
| | | | Rename some structs and fields to be more consistant with the rest of mesa.
* mesa: set the new array->Format field in VBO codeBrian Paul2009-01-234-0/+6
| | | | Should help to solve failed assertion in i965 driver (see bug 19708)
* mesa: fix some VBO buffer object issuesBrian Paul2008-09-252-11/+23
| | | | | | 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.
* vbo: unmap and remap immediate vbo before/after each draw.Keith Whitwell2008-09-231-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.
* added vbo_use_buffer_objects() to specify that immediate mode data should be ↵Brian2008-09-233-2/+51
| | | | put into bufferobjects
* vbo: seed initial max_element value with a more likely candidateKeith Whitwell2008-09-231-6/+6
| | | | (cherry picked from commit 026e7731e549e0777c010348460fd48b3d75a843)
* mesa: s/GL_POLYGON+1/PRIM_OUTSIDE_BEGIN_END/Brian Paul2008-09-232-6/+6
| | | | (cherry picked from commit 8a369b909a6648ae7a5a0c2dcb972a2f96f99a80)
* mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca2008-09-232-2/+2
|
* mesa: point size arraysBrian Paul2008-09-211-0/+4
|
* mesa: refactor: move #define FEATURE flags into new mfeatures.h fileKeith Whitwell2008-09-214-3/+13
| | | | | | | | | | | | | 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
* mesa: remove dead fileKeith Whitwell2008-09-211-1/+0
|
* mesa: fix display list regression (check if save->prim_count > 0 in ↵Brian Paul2008-09-161-5/+7
| | | | vbo_save_EndList())
* mesa: get another class of degenerate dlists workingKeith Whitwell2008-09-151-0/+24
| | | | Primitive begin in one dlist, end in another.
* mesa: improved gl_buffer_object reference countingBrian Paul2008-09-045-26/+69
| | | | | Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView.
* remove unnecessary swrast, tnl includesBrian Paul2008-06-101-3/+0
|
* fix an attr/src mix-up when setting-up/binding vertex arraysBrian Paul2008-05-162-2/+2
| | | | | This fixes problems with incorrect material coefficients when glMaterial is called per-vertex.
* drop stray includes of glapiGeorge Sapountzis2008-04-231-1/+0
|
* Fix glBegin-time test for invalid programs/shaders.Brian2008-02-203-8/+41
|
* fix vbo display list memleak upon context destructionBrian2008-01-012-0/+16
|
* Update of OpenVMS makefiles for the use of "new" include file conventionJouk2007-10-031-1/+3
|
* fix memory access error in vbo_bind_vertex_listXiang, Haihao2007-09-201-1/+1
|
* mesa: bind VBO_ATTRIB_XXX to correct input array whenXiang, Haihao2007-09-141-2/+4
| | | | executing a display list. fix #10604
* fix vbo_split_copy related bug 9962Xiang, Haihao2007-08-071-1/+8
|
* Remove some code that was never hit (bug 11811).Brian2007-08-021-5/+3
| | | | | Also added an assertion to check that NR_MAT_ATTRIBS == MAT_ATTRIB_MAX. In the unlikely event this ever changes, maybe restore the code.
* Fix an error in _save_OBE_DrawElementsXiang, Haihao2007-07-311-0/+3
| | | | | | In the case that a buffer object is bound to ELEMENT_ARRARY_BUFFER, it is invalid to directly dereference indices passed to glDrawElements.
* 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
|