summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: From float type modifier from values to large for singlesIan Romanick2009-06-221-7/+7
| | | | | | | | The values 2147483648.0 and 4294967294.0 are too larget to be stored in single precision floats. Forcing these to be singles causes bits to be lost, which results in errors in some pixel transfer tests. This fixes bug #22344.
* mesa: make query-related driver fallback functions staticBrian Paul2009-06-192-22/+19
| | | | Plug them in via _mesa_init_query_object_functions().
* mesa: make buffer object-related driver fallback functions staticBrian Paul2009-06-192-55/+39
| | | | Plug them in via _mesa_init_buffer_object_functions().
* mesa: create/destroy buffer objects via driver functionsBrian Paul2009-06-191-2/+2
|
* Merge branch 'ext-provoking-vertex'Brian Paul2009-06-1910-2363/+2484
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: docs/relnotes-7.6.html progs/tests/Makefile src/gallium/drivers/softpipe/sp_prim_vbuf.c src/glx/x11/indirect.c src/mesa/glapi/Makefile src/mesa/glapi/dispatch.h src/mesa/glapi/glapioffsets.h src/mesa/glapi/glapitable.h src/mesa/glapi/glapitemp.h src/mesa/glapi/glprocs.h src/mesa/main/dlist.c src/mesa/main/enums.c src/mesa/sparc/glapi_sparc.S src/mesa/x86-64/glapi_x86-64.S src/mesa/x86/glapi_x86.S
| * mesa: enable GL_EXT_provoking_vertex for sw driversBrian Paul2009-06-011-0/+1
| |
| * mesa: glGet queries for GL_EXT_provoking_vertexBrian Paul2009-05-282-0/+31
| |
| * mesa: exec/dlist functions for glProvokingVertexEXT()Brian Paul2009-05-284-9/+77
| |
| * mesa: data structure updates for GL_EXT_provoking_vertexBrian Paul2009-05-283-0/+9
| |
| * mesa: regenerated enums for GL_EXT_provoking_vertexBrian Paul2009-05-281-2350/+2362
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-167-29/+30
|\ \ | | | | | | | | | | | | | | | Conflicts: src/mesa/main/api_validate.c
| * | mesa: fix incorrect viewport clamping in _mesa_set_viewport()Brian Paul2009-06-161-2/+2
| | | | | | | | | | | | | | | 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.
| * | mesa: Always return a value.José Fonseca2009-06-151-0/+1
| | |
| * | mesa: Use appropriate float/integer types.José Fonseca2009-06-152-3/+3
| | |
| * | mesa: Use type modifier for float constants.José Fonseca2009-06-153-21/+21
| | |
| * | mesa: Use integer type with appropriate sign.José Fonseca2009-06-152-4/+4
| | |
* | | Merge branch 'arb_map_buffer_range'Brian Paul2009-06-158-1814/+2073
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: docs/relnotes-7.6.html src/mesa/main/mtypes.h
| * | | 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: use larger initial refcount for NullBufferObjBrian Paul2009-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | Refcounting of the null/default buffer object isn't perfect yet so be extra safe.
* | | | mesa: use _mesa_reference_buffer_object() in a few placesBrian Paul2009-06-121-5/+9
| | | |
* | | | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-06-123-4/+54
|\ \ \ \ | | |/ / | |/| |
| * | | mesa: Enable uploads of only depth to z24s8 texturesJakob Bornecrantz2009-06-121-3/+36
| | | |
| * | | mesa: add default function for ctx->Driver.CheckQuery() hookBrian Paul2009-06-112-1/+18
| | | |
* | | | Merge branch 'mesa_7_5_branch'José Fonseca2009-06-112-1/+11
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c
| * | | mesa: Fix typo in bitmask.José Fonseca2009-06-101-1/+1
| | | |
| * | | mesa: disable texture unit error check in _mesa_MatrixMode()Brian Paul2009-06-101-0/+10
| | | | | | | | | | | | | | | | See comments for details.
* | | | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-06-092-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile src/mesa/main/version.h src/mesa/shader/slang/slang_preprocess.c src/mesa/state_tracker/st_cb_bufferobjects.c
| * | | mesa: Use matching signedness for the counter as upper bound.José Fonseca2009-06-081-1/+1
| | | |
| * | | mesa: bump MAX_PROGRAM_ENV_PARAMS from 128 to 256Brian Paul2009-06-081-2/+2
| | | | | | | | | | | | | | | | Also, MAX_NV_VERTEX_PROGRAM_PARAMS should be 96, not 128 (or 256).
| * | | mesa: EXT_vertex_array_bgra fixesBrian Paul2009-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 (cherry picked from commit 4adb190a162c5ed0684a8616331344caadba4010)
| * | | mesa: bump version to 7.5-rc3mesa_7_5_rc3Brian Paul2009-06-051-1/+1
| | | |
* | | | mesa: added a simple bounds checker to glMap/UnmapBuffer() (disabled)Brian Paul2009-06-091-0/+35
| | | |
* | | | mesa: reorder fields, update comments for gl_buffer_objectBrian Paul2009-06-091-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
| | |