summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo
Commit message (Collapse)AuthorAgeFilesLines
* mesa: fix display list regression (check if save->prim_count > 0 in ↵Brian Paul2008-09-161-5/+7
| | | | vbo_save_EndList())
* mesa: protect against double-free in _vbo_DestroyContext()Brian Paul2008-09-161-4/+6
|
* 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.
* vbo: seed initial max_element value with a more likely candidateKeith Whitwell2008-08-261-6/+6
|
* mesa: added GLAPIENTRY keywordsJonathan White2008-07-072-10/+10
|
* mesa: added _vbo_VertexAttrib4f()Brian Paul2008-07-032-0/+9
|
* mesa: point size arraysBrian Paul2008-06-251-0/+4
|
* mesa: added _vbo_Materialfv()Brian Paul2008-06-202-0/+8
|
* mesa: _vbo_Color4f, _vbo_Normal3f, _vbo_MultiTexCoord4f functionsBrian Paul2008-06-202-0/+31
|
* mesa: s/GL_POLYGON+1/PRIM_OUTSIDE_BEGIN_END/Brian Paul2008-06-182-6/+6
|
* mesa: refactor: move #define FEATURE flags into new mfeatures.h fileBrian Paul2008-06-104-3/+13
| | | | Also, check the FEATURE flags in many places.
* mesa: remove unnecessary swrast, tnl includesBrian Paul2008-06-101-3/+0
|
* mesa: remove unused api_eval.h header fileBrian Paul2008-06-091-1/+0
|
* mesa: added _mesa_DrawArrays, DrawElements, DrawRangeElements() wrappers for ↵Brian Paul2008-06-051-0/+27
| | | | VBO funcs
* mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca2008-05-312-2/+2
|
* Fix segfault in _save_OBE_DrawElements() when using VBO and display list ↵Brian Paul2008-05-301-0/+3
| | | | | | (bug 16156) This was previously fixed in master by commit 982dcb74fd19b88208d127b8019e2a2af979cac2 by Haihao Xiang.
* fix an attr/src mix-up when setting-up/binding vertex arraysBrian Paul2008-05-162-5/+7
| | | | | This fixes problems with incorrect material coefficients when glMaterial is called per-vertex.
* mesa: Fix glBegin-time test for invalid programs/shaders.Brian Paul2008-04-113-8/+41
| | | | Cherry-picked from master.
* mesa: revert fast-track glColor and similar calls when not immediate mode ↵Brian2008-03-141-9/+2
| | | | | | | | | | 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.
* mesa: fast-track glColor and similar calls when not immediate mode renderingKeith Whitwell2008-03-101-2/+9
| | | | | | 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.
* Remove files of unsupported build systems.José Fonseca2008-02-251-60/+0
|
* 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
|