Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: replace GLuint with GLbitfield to be clearer about usage | Brian Paul | 2008-10-07 | 3 | -3/+3 |
| | | | | Also, fix up some comments to be doxygen style. | ||||
* | mesa: update state after binding vertex list in dlist path | Keith Whitwell | 2008-10-07 | 1 | -0/+5 |
| | |||||
* | mesa: avoid generating constant vertex attributes in fixedfunc programs | Keith Whitwell | 2008-10-03 | 3 | -7/+46 |
| | | | | | | | | | | | | 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. | ||||
* | mesa: add new internal state for tracking current vertex attribs | Keith Whitwell | 2008-10-03 | 2 | -26/+42 |
| | |||||
* | mesa: fix display list regression (check if save->prim_count > 0 in ↵ | Brian Paul | 2008-09-16 | 1 | -5/+7 |
| | | | | vbo_save_EndList()) | ||||
* | mesa: protect against double-free in _vbo_DestroyContext() | Brian Paul | 2008-09-16 | 1 | -4/+6 |
| | |||||
* | 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. | ||||
* | vbo: seed initial max_element value with a more likely candidate | Keith Whitwell | 2008-08-26 | 1 | -6/+6 |
| | |||||
* | mesa: added GLAPIENTRY keywords | Jonathan White | 2008-07-07 | 2 | -10/+10 |
| | |||||
* | mesa: added _vbo_VertexAttrib4f() | Brian Paul | 2008-07-03 | 2 | -0/+9 |
| | |||||
* | mesa: point size arrays | Brian Paul | 2008-06-25 | 1 | -0/+4 |
| | |||||
* | mesa: added _vbo_Materialfv() | Brian Paul | 2008-06-20 | 2 | -0/+8 |
| | |||||
* | mesa: _vbo_Color4f, _vbo_Normal3f, _vbo_MultiTexCoord4f functions | Brian Paul | 2008-06-20 | 2 | -0/+31 |
| | |||||
* | mesa: s/GL_POLYGON+1/PRIM_OUTSIDE_BEGIN_END/ | Brian Paul | 2008-06-18 | 2 | -6/+6 |
| | |||||
* | mesa: refactor: move #define FEATURE flags into new mfeatures.h file | Brian Paul | 2008-06-10 | 4 | -3/+13 |
| | | | | Also, check the FEATURE flags in many places. | ||||
* | mesa: remove unnecessary swrast, tnl includes | Brian Paul | 2008-06-10 | 1 | -3/+0 |
| | |||||
* | mesa: remove unused api_eval.h header file | Brian Paul | 2008-06-09 | 1 | -1/+0 |
| | |||||
* | mesa: added _mesa_DrawArrays, DrawElements, DrawRangeElements() wrappers for ↵ | Brian Paul | 2008-06-05 | 1 | -0/+27 |
| | | | | VBO funcs | ||||
* | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | 2008-05-31 | 2 | -2/+2 |
| | |||||
* | Fix segfault in _save_OBE_DrawElements() when using VBO and display list ↵ | Brian Paul | 2008-05-30 | 1 | -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 arrays | Brian Paul | 2008-05-16 | 2 | -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 Paul | 2008-04-11 | 3 | -8/+41 |
| | | | | Cherry-picked from master. | ||||
* | mesa: revert fast-track glColor and similar calls when not immediate mode ↵ | Brian | 2008-03-14 | 1 | -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 rendering | Keith Whitwell | 2008-03-10 | 1 | -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é Fonseca | 2008-02-25 | 1 | -60/+0 |
| | |||||
* | fix vbo display list memleak upon context destruction | Brian | 2008-01-01 | 2 | -0/+16 |
| | |||||
* | vbo: unmap and remap immediate vbo before/after each draw. | Keith Whitwell | 2007-12-18 | 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. | ||||
* | New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl ↵ | Brian | 2007-12-07 | 2 | -0/+15 |
| | | | | module. | ||||
* | Rename 'mms-config.' to 'mms.config'. | Michal Krol | 2007-10-29 | 1 | -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() | Brian | 2007-08-20 | 1 | -4/+13 |
| | |||||
* | added vbo_use_buffer_objects() to specify that immediate mode data should be ↵ | Brian | 2007-08-17 | 3 | -3/+52 |
| | | | | put into bufferobjects | ||||
* | 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) |