summaryrefslogtreecommitdiff
path: root/src/mesa/vbo
AgeCommit message (Collapse)Author
2008-10-07mesa: replace GLuint with GLbitfield to be clearer about usageBrian Paul
Also, fix up some comments to be doxygen style.
2008-10-07mesa: update state after binding vertex list in dlist pathKeith Whitwell
2008-10-03mesa: avoid generating constant vertex attributes in fixedfunc programsKeith Whitwell
Keep track of enabled/active vertex attributes. Keep track of potential vertex program outputs. When generating fragment program, replace references to fragment attributes which are effectively non-varying and non-computed passthrough attributes with references to the new CURRENT_ATTRIB tracked state value. Only downside is slight ugliness in VBO code where we need to validate state twice in succession.
2008-10-03mesa: add new internal state for tracking current vertex attribsKeith Whitwell
2008-09-16mesa: fix display list regression (check if save->prim_count > 0 in ↵Brian Paul
vbo_save_EndList())
2008-09-16mesa: protect against double-free in _vbo_DestroyContext()Brian Paul
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-08-26vbo: seed initial max_element value with a more likely candidateKeith Whitwell
2008-07-07mesa: added GLAPIENTRY keywordsJonathan White
2008-07-03mesa: added _vbo_VertexAttrib4f()Brian Paul
2008-06-25mesa: point size arraysBrian Paul
2008-06-20mesa: added _vbo_Materialfv()Brian Paul
2008-06-20mesa: _vbo_Color4f, _vbo_Normal3f, _vbo_MultiTexCoord4f functionsBrian Paul
2008-06-18mesa: s/GL_POLYGON+1/PRIM_OUTSIDE_BEGIN_END/Brian Paul
2008-06-10mesa: refactor: move #define FEATURE flags into new mfeatures.h fileBrian Paul
Also, check the FEATURE flags in many places.
2008-06-10mesa: remove unnecessary swrast, tnl includesBrian Paul
2008-06-09mesa: remove unused api_eval.h header fileBrian Paul
2008-06-05mesa: added _mesa_DrawArrays, DrawElements, DrawRangeElements() wrappers for ↵Brian Paul
VBO funcs
2008-05-31mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca
2008-05-30Fix segfault in _save_OBE_DrawElements() when using VBO and display list ↵Brian Paul
(bug 16156) This was previously fixed in master by commit 982dcb74fd19b88208d127b8019e2a2af979cac2 by Haihao Xiang.
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-11mesa: Fix glBegin-time test for invalid programs/shaders.Brian Paul
Cherry-picked from master.
2008-03-14mesa: revert fast-track glColor and similar calls when not immediate mode ↵Brian
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.
2008-03-10mesa: fast-track glColor and similar calls when not immediate mode renderingKeith Whitwell
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.
2008-02-25Remove files of unsupported build systems.José Fonseca
2008-01-01fix vbo display list memleak upon context destructionBrian
2007-12-18vbo: 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.
2007-12-07New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl ↵Brian
module.
2007-10-29Rename 'mms-config.' to 'mms.config'.Michal Krol
It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'.
2007-08-20fix VBO clean-up in vbo_exec_vtx_destroy()Brian
2007-08-17added vbo_use_buffer_objects() to specify that immediate mode data should be ↵Brian
put into bufferobjects
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)