summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: implement GL_ARB_map_buffer_rangeBrian Paul2009-06-087-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_rangeBrian Paul2009-06-081-1801/+1813
|
* mesa: reorder fields, update comments for gl_buffer_objectBrian Paul2009-06-081-8/+11
|
* mesa: new MESA_EXTENSION_OVERRIDE env varBrian Paul2009-06-081-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 fixesMaciej Cencora2009-06-081-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 debuggingBrian Paul2009-06-041-15/+18
|
* Merge branch 'mesa_7_5_branch'Brian Paul2009-06-042-0/+11
|\ | | | | | | | | | | Conflicts: src/mesa/main/context.c
| * mesa: release VBO and PBO references upon context destructionBrian Paul2009-06-021-0/+10
| |
| * mesa: add #define FEATURE_ARB_pixel_buffer_objectBrian Paul2009-06-021-0/+1
| |
* | mesa: added buffer object debug code (disabled)Brian Paul2009-06-031-0/+36
| |
* | Fast path when rebinding the same texture in single context environmentIan Romanick2009-06-031-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 Paul2009-06-021-1/+1
| |
* | mesa: enable GL_ARB_copy_buffer for software driversBrian Paul2009-06-021-0/+2
| |
* | mesa: plug in new _mesa_CopyBufferSubData() functionsBrian Paul2009-06-022-0/+6
| |
* | mesa: _mesa_CopyBufferSubData() function, and driver fall-backBrian Paul2009-06-022-4/+156
| |
* | mesa: new state for GL_ARB_copy_bufferBrian Paul2009-06-021-0/+4
| |
* | mesa: new CopyBufferSubData() driver hookBrian Paul2009-06-021-0/+6
| |
* | glapi: regenerated files for GL_ARB_copy_bufferBrian Paul2009-06-021-2647/+2653
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-013-4/+16
|\|
| * mesa: Output warnings to debugger on Windows.José Fonseca2009-05-301-0/+10
| | | | | | | | | | Stderr of Windows applications without console is not usually visible.
| * mesa: Add success/failures return value to _mesa_make_current.José Fonseca2009-05-302-4/+6
| |
* | mesa: add missing update_min() call in update_arrays()Brian Paul2009-05-221-1/+1
| |
* | mesa: reduce gl_array_object::VertexAttrib[] array from 32 to 16 elementsBrian Paul2009-05-221-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 limitBrian Paul2009-05-221-1/+1
| |
* | mesa: use Elements() for loop limitBrian Paul2009-05-221-2/+2
| |
* | mesa: use Elements() for loop limitBrian Paul2009-05-221-1/+1
| |
* | mesa: simplify adjust_buffer_object_ref_counts()Brian Paul2009-05-221-12/+14
| |
* | mesa: minor code clean-upBrian Paul2009-05-221-18/+19
| |
* | mesa: use Elements() for loop limitBrian Paul2009-05-222-4/+4
| |
* | mesa: use Elements() for loop boundBrian Paul2009-05-221-2/+2
| |
* | mesa: minor code simplificationBrian Paul2009-05-221-9/+11
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-05-221-2/+2
|\|
| * mesa: fix loop over generic attribs in update_arrays()Brian Paul2009-05-221-1/+1
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-05-223-14/+40
|\|
| * mesa: allow GL_BITMAP type in _mesa_image_image_stride()Brian Paul2009-05-221-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 commentBrian Paul2009-05-221-0/+1
| |
| * mesa: add missing glGet*() case for GL_VERTEX_ARRAY_BINDING_APPLEBrian Paul2009-05-212-1/+16
| |
* | mesa: added some assertionsBrian Paul2009-05-221-0/+2
| |
* | mesa: use Elements() macro to limit loops instead of constantsBrian Paul2009-05-221-5/+5
| |
* | mesa: remove MAX_VERTEX_PROGRAM_ATTRIBSBrian Paul2009-05-222-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_ATTRIBSBrian Paul2009-05-224-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 funcsBrian Paul2009-05-221-8/+8
| |
* | mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTSBrian Paul2009-05-211-1/+1
| |
* | mesa: freshen comments for update_array()Brian Paul2009-05-211-3/+2
| |
* | mesa: remove const qualifierBrian Paul2009-05-211-1/+1
| |
* | mesa: VertexAttribPointer commentsBrian Paul2009-05-211-0/+11
| |
* | mesa: call _mesa_update_array_object_max_element() before printing array infoBrian Paul2009-05-211-0/+2
| |
* | mesa: added gl_array_object::Weight array fieldBrian Paul2009-05-212-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 arrayBrian Paul2009-05-211-0/+2
| |
* | mesa: fix some potential state-restore issues in pop_texture_group()Brian Paul2009-05-211-45/+45
| | | | | | | | | | | | Call the _mesa_set_enable() functions instead of driver functions, etc. Also, add missing code for 1D/2D texture arrays.