Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: only update array _MaxElement if array is enabled | Brian Paul | 2011-05-18 | 1 | -2/+3 |
| | | | | Fixes failed assertion when calling _mesa_print_arrays() debug function. | ||||
* | mesa: Update _ElementSize. | Brian Paul | 2011-04-07 | 1 | -0/+2 |
| | |||||
* | mesa: consolidate code in _mesa_update_array_max_element() | Brian Paul | 2011-04-06 | 1 | -32/+2 |
| | |||||
* | mesa: 80-column wrapping | Brian Paul | 2011-03-19 | 1 | -1/+2 |
| | |||||
* | mesa: Initial size for secondary color array is 3 | Ian Romanick | 2011-01-31 | 1 | -1/+1 |
| | | | | See table 6.7 on page 347 of the OpenGL 3.0 specification. | ||||
* | mesa: Directly include mfeatures.h in files that perform feature tests. | Vinson Lee | 2011-01-07 | 1 | -0/+1 |
| | |||||
* | mesa: Include mtypes.h in files that use gl_context struct. | Vinson Lee | 2011-01-05 | 1 | -0/+1 |
| | | | | | | Directly include mtypes.h if a file uses a gl_context struct. This allows future removal of headers that are not strictly necessary but indirectly include mtypes.h for a file. | ||||
* | Drop GLcontext typedef and use struct gl_context instead | Kristian Høgsberg | 2010-10-13 | 1 | -12/+12 |
| | |||||
* | mesa: Move src/mesa/glapi/dispatch.h to mesa. | Chia-I Wu | 2010-02-25 | 1 | -1/+1 |
| | | | | | | glapi/dispatch.h is a core Mesa header file. Move the header file to main/ to make this clear. It also becomes clear after this change that IN_DRI_DRIVER is only used in core Mesa to enable the remap table. | ||||
* | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | 2010-02-19 | 1 | -5/+5 |
| | |||||
* | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | mesa: Enable true refcounting for NullBufferObj. | Michal Krol | 2010-02-09 | 1 | -0/+4 |
| | | | | | | | | This object can be shared with another context, so we cannot just delete it when the owning context is being destroyed. Ensuring that buffer objects are properly refcounted guarantees NullBufferObj is destroyed when all references to it are removed. | ||||
* | mesa: implement _mesa_GenVertexArrays() for GL_ARB_vertex_array_object | Brian Paul | 2009-06-19 | 1 | -4/+29 |
| | | | | | | This also involves adding a gl_array_object::VBOonly field. For the ARB extension, all arrays in the object must reside in a VBO. This flag keeps track of that requirement. | ||||
* | mesa: implement _mesa_BindVertexArray() | Brian Paul | 2009-06-19 | 1 | -12/+43 |
| | |||||
* | mesa: move vertex array objects from shared state to per-context | Brian Paul | 2009-06-19 | 1 | -21/+8 |
| | | | | | The ARB version requires VAOs to be per-context while the Apple extension was ambiguous. | ||||
* | mesa: use Elements() macro to limit loops instead of constants | Brian Paul | 2009-05-22 | 1 | -5/+5 |
| | |||||
* | mesa: added gl_array_object::Weight array field | Brian Paul | 2009-05-21 | 1 | -0/+3 |
| | | | | | | | We don't really implement vertex weights but in the VBO code this fixes and odd case for the legacy_array[] setup. Before, the vbo->draw_prims() call was always indicating that the vertex weight array was present/enabled when it really wasn't. | ||||
* | mesa: check FEATURE_point_size_array for PointSize array | Brian Paul | 2009-05-21 | 1 | -0/+2 |
| | |||||
* | mesa: new _mesa_update_array_object_max_element() function | Brian Paul | 2009-05-21 | 1 | -1/+77 |
| | | | | This will replace the code in state.c | ||||
* | mesa: make the array object save/remove functions static | Brian Paul | 2009-05-07 | 1 | -7/+7 |
| | |||||
* | mesa: clean-up vertex array object VBO unbinding and delete/refcounting | Brian Paul | 2009-05-07 | 1 | -31/+33 |
| | | | | | Don't really delete vertex array objects until the refcount hits zero. At that time, unbind any pointers to VBOs. | ||||
* | mesa: reference counting for gl_array_object | Brian Paul | 2009-05-07 | 1 | -4/+63 |
| | | | | | Every kind of object that can be shared by multiple contexts should be refcounted. | ||||
* | mesa: move the NullBufferObj from GLcontext to gl_shared_state | Brian Paul | 2009-05-07 | 1 | -2/+3 |
| | | | | | Since shared array objects may point to the null/default buffer object, the null/default buffer object should be part of the shared state. | ||||
* | mesa: improve array initialization code, and set the new array->Format field. | Brian Paul | 2009-01-23 | 1 | -75/+33 |
| | |||||
* | mesa: increase max texture image units and GLSL samplers to 16 | Brian Paul | 2008-12-31 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | The max texture coord units is still 8. All the fixed-function paths are still limited to 8 too. But GLSL shaders can use more samplers now. Note that some texcoord-related data structures are declared to be 16 elements in size rather than 8. This just simplifies the code in a few places; the extra elements aren't accessible to the user. These changes haven't been extensively tested yet, but sanity checking has been done. It should be possible to increase the max image units/samplers to 32 without doing anything special. Beyond that we'll need longer bitfields in a few places. | ||||
* | mesa: point size arrays | Brian Paul | 2008-09-21 | 1 | -0/+9 |
| | |||||
* | mesa: replace MALLOC w/ CALLOC to fix valgrind warning | Brian Paul | 2008-09-05 | 1 | -1/+1 |
| | |||||
* | mesa: improved gl_buffer_object reference counting | Brian Paul | 2008-09-04 | 1 | -11/+20 |
| | | | | | Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView. | ||||
* | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | 2007-07-04 | 1 | -1/+1 |
| | | | | of -I flags. | ||||
* | better handling of current attributes. Trivial dlist and varray tests work | Keith Whitwell | 2006-10-30 | 1 | -9/+0 |
| | |||||
* | minor clean-ups | Brian Paul | 2006-06-15 | 1 | -9/+4 |
| | |||||
* | s/buffer/arrays/ | Brian Paul | 2006-06-12 | 1 | -7/+5 |
| | |||||
* | Add support for GL_APPLE_vertex_array_object. Several test programs | Ian Romanick | 2006-06-12 | 1 | -0/+426 |
and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required. |