Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: fix some VBO buffer object issues | Brian Paul | 2008-09-25 | 2 | -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 Whitwell | 2008-09-23 | 1 | -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 ↵ | Brian | 2008-09-23 | 3 | -2/+51 |
| | | | | put into bufferobjects | ||||
* | vbo: seed initial max_element value with a more likely candidate | Keith Whitwell | 2008-09-23 | 1 | -6/+6 |
| | | | | (cherry picked from commit 026e7731e549e0777c010348460fd48b3d75a843) | ||||
* | mesa: s/GL_POLYGON+1/PRIM_OUTSIDE_BEGIN_END/ | Brian Paul | 2008-09-23 | 2 | -6/+6 |
| | | | | (cherry picked from commit 8a369b909a6648ae7a5a0c2dcb972a2f96f99a80) | ||||
* | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | 2008-09-23 | 2 | -2/+2 |
| | |||||
* | mesa: point size arrays | Brian Paul | 2008-09-21 | 1 | -0/+4 |
| | |||||
* | mesa: refactor: move #define FEATURE flags into new mfeatures.h file | Keith Whitwell | 2008-09-21 | 4 | -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 file | Keith Whitwell | 2008-09-21 | 1 | -1/+0 |
| | |||||
* | mesa: fix display list regression (check if save->prim_count > 0 in ↵ | Brian Paul | 2008-09-16 | 1 | -5/+7 |
| | | | | vbo_save_EndList()) | ||||
* | mesa: get another class of degenerate dlists working | Keith Whitwell | 2008-09-15 | 1 | -0/+24 |
| | | | | Primitive begin in one dlist, end in another. | ||||
* | mesa: improved gl_buffer_object reference counting | Brian Paul | 2008-09-04 | 5 | -26/+69 |
| | | | | | Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView. | ||||
* | remove unnecessary swrast, tnl includes | Brian Paul | 2008-06-10 | 1 | -3/+0 |
| | |||||
* | fix an attr/src mix-up when setting-up/binding vertex arrays | Brian Paul | 2008-05-16 | 2 | -2/+2 |
| | | | | | This fixes problems with incorrect material coefficients when glMaterial is called per-vertex. | ||||
* | drop stray includes of glapi | George Sapountzis | 2008-04-23 | 1 | -1/+0 |
| | |||||
* | Fix glBegin-time test for invalid programs/shaders. | Brian | 2008-02-20 | 3 | -8/+41 |
| | |||||
* | fix vbo display list memleak upon context destruction | Brian | 2008-01-01 | 2 | -0/+16 |
| | |||||
* | Update of OpenVMS makefiles for the use of "new" include file convention | Jouk | 2007-10-03 | 1 | -1/+3 |
| | |||||
* | fix memory access error in vbo_bind_vertex_list | Xiang, Haihao | 2007-09-20 | 1 | -1/+1 |
| | |||||
* | mesa: bind VBO_ATTRIB_XXX to correct input array when | Xiang, Haihao | 2007-09-14 | 1 | -2/+4 |
| | | | | executing a display list. fix #10604 | ||||
* | fix vbo_split_copy related bug 9962 | Xiang, Haihao | 2007-08-07 | 1 | -1/+8 |
| | |||||
* | Remove some code that was never hit (bug 11811). | Brian | 2007-08-02 | 1 | -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_DrawElements | Xiang, Haihao | 2007-07-31 | 1 | -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 ↵ | Brian | 2007-07-04 | 17 | -82/+82 |
| | | | | of -I flags. | ||||
* | a variety of fixes for MingW | zhang | 2007-06-28 | 2 | -0/+9 |
| | |||||
* | s/version/vertex/ | Brian | 2007-04-12 | 1 | -1/+1 |
| | |||||
* | fix bug in _playback_copy_to_current(): need to skip version position data ↵ | Brian | 2007-04-12 | 1 | -0/+2 |
| | | | | (see bug 10587) | ||||
* | for evaluators, loop to VBO_ATTRIB_TEX7, not VBO_ATTRIB_INDEX. See bug 10543 | Brian | 2007-04-06 | 2 | -4/+4 |
| | |||||
* | Merge branch 'origin' into glsl-compiler-1 | Brian | 2007-03-09 | 4 | -2/+63 |
|\ | | | | | | | | | | | Conflicts: src/mesa/main/context.c | ||||
| * | Updates of the OpenVMS makefiles. | J.Jansen | 2007-03-08 | 1 | -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 leak | Brian | 2007-02-26 | 1 | -0/+1 |
| | | |||||
| * | Fix #10071 - wrong max_index in vbo draw_prims. (Papadakos Panagiotis) | Aapo Tahkola | 2007-02-26 | 2 | -2/+2 |
| | | |||||
* | | XXX comments about shaders | Brian | 2007-02-22 | 2 | -0/+2 |
| | | |||||
* | | use ctx->VertexProgram._Current instead of ctx->VertexProgram._Enabled | Brian | 2007-02-22 | 1 | -2/+2 |
|/ | |||||
* | fix typo preventing generic arrays from working with ARB_vp (bug #9952) | Roland Scheidegger | 2007-02-14 | 1 | -1/+1 |
| | |||||
* | array overflow fix | Zou Nan hai | 2007-02-09 | 1 | -2/+2 |
| | |||||
* | fix missing ADD_POINTERS, fixes crashes if the index elements are in a vbo. | Roland Scheidegger | 2007-02-01 | 1 | -5/+7 |
| | |||||
* | Use new rebase helper. Remove other rebase code. | Keith Whitwell | 2007-01-30 | 5 | -73/+79 |
| | |||||
* | Helper for rebasing draw requests where min_index != 0. | Keith Whitwell | 2007-01-30 | 2 | -0/+235 |
| | |||||
* | do not rebase index buffers as it does not work currently (tested with r200 ↵ | Roland Scheidegger | 2007-01-25 | 1 | -2/+3 |
| | | | | and sw mesa) | ||||
* | allocate larger minimum dstelt buffer | Roland Scheidegger | 2007-01-25 | 1 | -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 corruption | Roland Scheidegger | 2007-01-25 | 1 | -1/+1 |
| | |||||
* | re-fix bug 9062 in vbo code | Roland Scheidegger | 2007-01-25 | 1 | -0/+5 |
| | |||||
* | typo fix. this case still fails. | Aapo Tahkola | 2007-01-18 | 1 | -1/+1 |
| | |||||
* | Fix invalid enums passed to MapBuffer | Aapo Tahkola | 2007-01-18 | 1 | -1/+1 |
| | |||||
* | Fix invalid enums passed to MapBuffer | Aapo Tahkola | 2007-01-18 | 3 | -4/+4 |
| | |||||
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵ | Keith Whitwell | 2007-01-16 | 4 | -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 Whitwell | 2007-01-15 | 2 | -10/+1 |
| | |||||
* | Correctly initialize current attribute sizes. | Keith Whitwell | 2007-01-15 | 1 | -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. | keithw | 2007-01-15 | 3 | -18/+3 |
| |