summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2009-06-16Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/api_validate.c
2009-06-16mesa: fix incorrect viewport clamping in _mesa_set_viewport()Brian Paul
A 0 by 0 viewport size is legal. Don't clamp against lower bound of one. The error checking earlier in the function prevents negative values.
2009-06-15Merge branch 'arb_map_buffer_range'Brian Paul
Conflicts: docs/relnotes-7.6.html src/mesa/main/mtypes.h
2009-06-15mesa: Always return a value.José Fonseca
2009-06-15mesa: Use appropriate float/integer types.José Fonseca
2009-06-15mesa: Use type modifier for float constants.José Fonseca
2009-06-15mesa: Use integer type with appropriate sign.José Fonseca
2009-06-12mesa: use larger initial refcount for NullBufferObjBrian Paul
Refcounting of the null/default buffer object isn't perfect yet so be extra safe.
2009-06-12mesa: use _mesa_reference_buffer_object() in a few placesBrian Paul
2009-06-12Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
2009-06-12mesa: Enable uploads of only depth to z24s8 texturesJakob Bornecrantz
2009-06-11mesa: add default function for ctx->Driver.CheckQuery() hookBrian Paul
2009-06-11Merge branch 'mesa_7_5_branch'José Fonseca
Conflicts: src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c
2009-06-10mesa: Fix typo in bitmask.José Fonseca
2009-06-10mesa: disable texture unit error check in _mesa_MatrixMode()Brian Paul
See comments for details.
2009-06-09Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
Conflicts: Makefile src/mesa/main/version.h src/mesa/shader/slang/slang_preprocess.c src/mesa/state_tracker/st_cb_bufferobjects.c
2009-06-09mesa: added a simple bounds checker to glMap/UnmapBuffer() (disabled)Brian Paul
2009-06-09mesa: reorder fields, update comments for gl_buffer_objectBrian Paul
2009-06-08mesa: implement GL_ARB_map_buffer_rangeBrian Paul
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.
2009-06-08mesa: regenerated files for GL_ARB_map_buffer_rangeBrian Paul
2009-06-08mesa: reorder fields, update comments for gl_buffer_objectBrian Paul
2009-06-08mesa: new MESA_EXTENSION_OVERRIDE env varBrian Paul
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.
2009-06-08mesa: Use matching signedness for the counter as upper bound.José Fonseca
2009-06-08mesa: bump MAX_PROGRAM_ENV_PARAMS from 128 to 256Brian Paul
Also, MAX_NV_VERTEX_PROGRAM_PARAMS should be 96, not 128 (or 256).
2009-06-08mesa: EXT_vertex_array_bgra fixesBrian Paul
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 (cherry picked from commit 4adb190a162c5ed0684a8616331344caadba4010)
2009-06-08mesa: EXT_vertex_array_bgra fixesMaciej Cencora
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
2009-06-05mesa: bump version to 7.5-rc3Brian Paul
2009-06-04mesa: call _mesa_ funcs, not gl funcs for debuggingBrian Paul
2009-06-04Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/context.c
2009-06-03mesa: added buffer object debug code (disabled)Brian Paul
2009-06-03Fast path when rebinding the same texture in single context environmentIan Romanick
If there is no shared context, there is no purpose in rebinding the same texture. In some artificial tests this improves performance 10% - 30%.
2009-06-02mesa: fix error test mistake in _mesa_CopyBufferSubData()Brian Paul
2009-06-02mesa: enable GL_ARB_copy_buffer for software driversBrian Paul
2009-06-02mesa: plug in new _mesa_CopyBufferSubData() functionsBrian Paul
2009-06-02mesa: _mesa_CopyBufferSubData() function, and driver fall-backBrian Paul
2009-06-02mesa: new state for GL_ARB_copy_bufferBrian Paul
2009-06-02mesa: new CopyBufferSubData() driver hookBrian Paul
2009-06-02glapi: regenerated files for GL_ARB_copy_bufferBrian Paul
2009-06-02mesa: release VBO and PBO references upon context destructionBrian Paul
2009-06-02mesa: add #define FEATURE_ARB_pixel_buffer_objectBrian Paul
2009-06-01Merge branch 'mesa_7_5_branch'Brian Paul
2009-05-30mesa: Output warnings to debugger on Windows.José Fonseca
Stderr of Windows applications without console is not usually visible.
2009-05-30mesa: Add success/failures return value to _mesa_make_current.José Fonseca
2009-05-22mesa: add missing update_min() call in update_arrays()Brian Paul
2009-05-22mesa: reduce gl_array_object::VertexAttrib[] array from 32 to 16 elementsBrian Paul
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).
2009-05-22mesa: use Elements() for loop limitBrian Paul
2009-05-22mesa: use Elements() for loop limitBrian Paul
2009-05-22mesa: use Elements() for loop limitBrian Paul
2009-05-22mesa: simplify adjust_buffer_object_ref_counts()Brian Paul
2009-05-22mesa: minor code clean-upBrian Paul