Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: implement GL_ARB_map_buffer_range | Brian Paul | 2009-06-08 | 7 | -13/+260 |
| | | | | | | | | | | Only enabled for software drivers at this point. Note that the gl_buffer_object::Access enum field has been replaced by a gl_buffer_object::AccessFlags bitfield. The new field is a mask of the GL_MAP_x_BIT flags which is a superset of the old GL_READ_ONLY, GL_WRITE_ONLY and GL_READ_WRITE modes. When we query GL_BUFFER_ACCESS_ARB we translate the bitfield into the conventional enum values. | ||||
* | mesa: regenerated files for GL_ARB_map_buffer_range | Brian Paul | 2009-06-08 | 1 | -1801/+1813 |
| | |||||
* | mesa: reorder fields, update comments for gl_buffer_object | Brian Paul | 2009-06-08 | 1 | -8/+11 |
| | |||||
* | mesa: new MESA_EXTENSION_OVERRIDE env var | Brian Paul | 2009-06-08 | 1 | -11/+101 |
| | | | | | | | | | | Can be used to enable/disable extensions as reported by glGetString(GL_EXTENSIONS). If a name is preceeded by '-' it's disabled. Otherwise, the named extension is enabled. Intended for debug/test purposes. | ||||
* | mesa: EXT_vertex_array_bgra fixes | Maciej Cencora | 2009-06-08 | 1 | -3/+24 |
| | | | | | | | | 1) Pass the correct format when calling update_array in _mesa_VertexAttribPointerARB. 2) glVertexAttribPointerNV accepts GL_BGRA format too. 3) raise INVALID_VALUE error when format is BGRA and normalized is false in glVertexAttribPointerARB | ||||
* | mesa: call _mesa_ funcs, not gl funcs for debugging | Brian Paul | 2009-06-04 | 1 | -15/+18 |
| | |||||
* | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-06-04 | 2 | -0/+11 |
|\ | | | | | | | | | | | Conflicts: src/mesa/main/context.c | ||||
| * | mesa: release VBO and PBO references upon context destruction | Brian Paul | 2009-06-02 | 1 | -0/+10 |
| | | |||||
| * | mesa: add #define FEATURE_ARB_pixel_buffer_object | Brian Paul | 2009-06-02 | 1 | -0/+1 |
| | | |||||
* | | mesa: added buffer object debug code (disabled) | Brian Paul | 2009-06-03 | 1 | -0/+36 |
| | | |||||
* | | Fast path when rebinding the same texture in single context environment | Ian Romanick | 2009-06-03 | 1 | -0/+12 |
| | | | | | | | | | | If there is no shared context, there is no purpose in rebinding the same texture. In some artificial tests this improves performance 10% - 30%. | ||||
* | | mesa: fix error test mistake in _mesa_CopyBufferSubData() | Brian Paul | 2009-06-02 | 1 | -1/+1 |
| | | |||||
* | | mesa: enable GL_ARB_copy_buffer for software drivers | Brian Paul | 2009-06-02 | 1 | -0/+2 |
| | | |||||
* | | mesa: plug in new _mesa_CopyBufferSubData() functions | Brian Paul | 2009-06-02 | 2 | -0/+6 |
| | | |||||
* | | mesa: _mesa_CopyBufferSubData() function, and driver fall-back | Brian Paul | 2009-06-02 | 2 | -4/+156 |
| | | |||||
* | | mesa: new state for GL_ARB_copy_buffer | Brian Paul | 2009-06-02 | 1 | -0/+4 |
| | | |||||
* | | mesa: new CopyBufferSubData() driver hook | Brian Paul | 2009-06-02 | 1 | -0/+6 |
| | | |||||
* | | glapi: regenerated files for GL_ARB_copy_buffer | Brian Paul | 2009-06-02 | 1 | -2647/+2653 |
| | | |||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-06-01 | 3 | -4/+16 |
|\| | |||||
| * | mesa: Output warnings to debugger on Windows. | José Fonseca | 2009-05-30 | 1 | -0/+10 |
| | | | | | | | | | | Stderr of Windows applications without console is not usually visible. | ||||
| * | mesa: Add success/failures return value to _mesa_make_current. | José Fonseca | 2009-05-30 | 2 | -4/+6 |
| | | |||||
* | | mesa: add missing update_min() call in update_arrays() | Brian Paul | 2009-05-22 | 1 | -1/+1 |
| | | |||||
* | | mesa: reduce gl_array_object::VertexAttrib[] array from 32 to 16 elements | Brian Paul | 2009-05-22 | 1 | -2/+7 |
| | | | | | | | | | | | | | | | | | | | | This array was mistakenly dimensioned with VERT_ATTRIB_MAX (32) but it should really be MAX_VERTEX_GENERIC_ATTRIBS (16). The generic vertex attributes are in addition to the conventional arrays (except in NV vertex program mode- they alias/overlay in that case) so the total of all conventional attributes plus generic attributes should total 32 (not 48). | ||||
* | | mesa: use Elements() for loop limit | Brian Paul | 2009-05-22 | 1 | -1/+1 |
| | | |||||
* | | mesa: use Elements() for loop limit | Brian Paul | 2009-05-22 | 1 | -2/+2 |
| | | |||||
* | | mesa: use Elements() for loop limit | Brian Paul | 2009-05-22 | 1 | -1/+1 |
| | | |||||
* | | mesa: simplify adjust_buffer_object_ref_counts() | Brian Paul | 2009-05-22 | 1 | -12/+14 |
| | | |||||
* | | mesa: minor code clean-up | Brian Paul | 2009-05-22 | 1 | -18/+19 |
| | | |||||
* | | mesa: use Elements() for loop limit | Brian Paul | 2009-05-22 | 2 | -4/+4 |
| | | |||||
* | | mesa: use Elements() for loop bound | Brian Paul | 2009-05-22 | 1 | -2/+2 |
| | | |||||
* | | mesa: minor code simplification | Brian Paul | 2009-05-22 | 1 | -9/+11 |
| | | |||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-22 | 1 | -2/+2 |
|\| | |||||
| * | mesa: fix loop over generic attribs in update_arrays() | Brian Paul | 2009-05-22 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-22 | 3 | -14/+40 |
|\| | |||||
| * | mesa: allow GL_BITMAP type in _mesa_image_image_stride() | Brian Paul | 2009-05-22 | 1 | -13/+23 |
| | | | | | | | | | | | | | | It's possible to hand a GL_COLOR_INDEX/GL_BITMAP image to glTexImage3D() which gets converted to RGBA via the glPixelMap tables. This fixes a failure with piglit/fdo10370 with Gallium. | ||||
| * | mesa: added comment | Brian Paul | 2009-05-22 | 1 | -0/+1 |
| | | |||||
| * | mesa: add missing glGet*() case for GL_VERTEX_ARRAY_BINDING_APPLE | Brian Paul | 2009-05-21 | 2 | -1/+16 |
| | | |||||
* | | mesa: added some assertions | Brian Paul | 2009-05-22 | 1 | -0/+2 |
| | | |||||
* | | mesa: use Elements() macro to limit loops instead of constants | Brian Paul | 2009-05-22 | 1 | -5/+5 |
| | | |||||
* | | mesa: remove MAX_VERTEX_PROGRAM_ATTRIBS | Brian Paul | 2009-05-22 | 2 | -5/+4 |
| | | | | | | | | | | Use MAX_VERTEX_GENERIC_ATTRIBS instead. No need for two #defines for the same quantity. | ||||
* | | mesa: rename MAX_VERTEX_ATTRIBS to MAX_VERTEX_GENERIC_ATTRIBS | Brian Paul | 2009-05-22 | 4 | -26/+26 |
| | | | | | | | | | | Be clearer that this is the number of generic vertex program/shader attributes, not counting the legacy attributes (pos, normal, color, etc). | ||||
* | | mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS/ in NV funcs | Brian Paul | 2009-05-22 | 1 | -8/+8 |
| | | |||||
* | | mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS | Brian Paul | 2009-05-21 | 1 | -1/+1 |
| | | |||||
* | | mesa: freshen comments for update_array() | Brian Paul | 2009-05-21 | 1 | -3/+2 |
| | | |||||
* | | mesa: remove const qualifier | Brian Paul | 2009-05-21 | 1 | -1/+1 |
| | | |||||
* | | mesa: VertexAttribPointer comments | Brian Paul | 2009-05-21 | 1 | -0/+11 |
| | | |||||
* | | mesa: call _mesa_update_array_object_max_element() before printing array info | Brian Paul | 2009-05-21 | 1 | -0/+2 |
| | | |||||
* | | mesa: added gl_array_object::Weight array field | Brian Paul | 2009-05-21 | 2 | -0/+4 |
| | | | | | | | | | | | | | | 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: fix some potential state-restore issues in pop_texture_group() | Brian Paul | 2009-05-21 | 1 | -45/+45 |
| | | | | | | | | | | | | Call the _mesa_set_enable() functions instead of driver functions, etc. Also, add missing code for 1D/2D texture arrays. |