Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | mesa: rework viewport/scissor initialization code | Brian Paul | 2009-06-17 | 3 | -12/+34 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The first time a context is bound to a drawable, the viewport and scissor bounds are initialized to the buffer's size. This is actually a bit tricky. A new _mesa_check_init_viewport() function is called in several places to check if the viewport has been initialized. We also use a new ctx->ViewportInitialized flag instead of the overloaded ctx->FirstTimeCurrent flag. | |||||
* | | | mesa: From float type modifier from values to large for singles | Ian Romanick | 2009-06-22 | 1 | -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 static | Brian Paul | 2009-06-19 | 2 | -22/+19 | |
| | | | | | | | | Plug them in via _mesa_init_query_object_functions(). | |||||
* | | mesa: make buffer object-related driver fallback functions static | Brian Paul | 2009-06-19 | 2 | -55/+39 | |
| | | | | | | | | Plug them in via _mesa_init_buffer_object_functions(). | |||||
* | | mesa: create/destroy buffer objects via driver functions | Brian Paul | 2009-06-19 | 1 | -2/+2 | |
| | | ||||||
* | | Merge branch 'ext-provoking-vertex' | Brian Paul | 2009-06-19 | 10 | -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 drivers | Brian Paul | 2009-06-01 | 1 | -0/+1 | |
| | | | ||||||
| * | | mesa: glGet queries for GL_EXT_provoking_vertex | Brian Paul | 2009-05-28 | 2 | -0/+31 | |
| | | | ||||||
| * | | mesa: exec/dlist functions for glProvokingVertexEXT() | Brian Paul | 2009-05-28 | 4 | -9/+77 | |
| | | | ||||||
| * | | mesa: data structure updates for GL_EXT_provoking_vertex | Brian Paul | 2009-05-28 | 3 | -0/+9 | |
| | | | ||||||
| * | | mesa: regenerated enums for GL_EXT_provoking_vertex | Brian Paul | 2009-05-28 | 1 | -2350/+2362 | |
| | | | ||||||
* | | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-06-16 | 7 | -29/+30 | |
|\ \ \ | | |/ | |/| | | | | | | | | | | Conflicts: src/mesa/main/api_validate.c | |||||
| * | | mesa: fix incorrect viewport clamping in _mesa_set_viewport() | Brian Paul | 2009-06-16 | 1 | -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é Fonseca | 2009-06-15 | 1 | -0/+1 | |
| | | | ||||||
| * | | mesa: Use appropriate float/integer types. | José Fonseca | 2009-06-15 | 2 | -3/+3 | |
| | | | ||||||
| * | | mesa: Use type modifier for float constants. | José Fonseca | 2009-06-15 | 3 | -21/+21 | |
| | | | ||||||
| * | | mesa: Use integer type with appropriate sign. | José Fonseca | 2009-06-15 | 2 | -4/+4 | |
| | | | ||||||
* | | | Merge branch 'arb_map_buffer_range' | Brian Paul | 2009-06-15 | 8 | -1814/+2073 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: docs/relnotes-7.6.html src/mesa/main/mtypes.h | |||||
| * | | | 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: use larger initial refcount for NullBufferObj | Brian Paul | 2009-06-12 | 1 | -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 places | Brian Paul | 2009-06-12 | 1 | -5/+9 | |
| | | | | ||||||
* | | | | Merge branch 'mesa_7_5_branch' | Jakob Bornecrantz | 2009-06-12 | 3 | -4/+54 | |
|\ \ \ \ | | |/ / | |/| | | ||||||
| * | | | mesa: Enable uploads of only depth to z24s8 textures | Jakob Bornecrantz | 2009-06-12 | 1 | -3/+36 | |
| | | | | ||||||
| * | | | mesa: add default function for ctx->Driver.CheckQuery() hook | Brian Paul | 2009-06-11 | 2 | -1/+18 | |
| | | | | ||||||
* | | | | Merge branch 'mesa_7_5_branch' | José Fonseca | 2009-06-11 | 2 | -1/+11 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c | |||||
| * | | | mesa: Fix typo in bitmask. | José Fonseca | 2009-06-10 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | mesa: disable texture unit error check in _mesa_MatrixMode() | Brian Paul | 2009-06-10 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | See comments for details. | |||||
* | | | | Merge branch 'mesa_7_5_branch' | Jakob Bornecrantz | 2009-06-09 | 2 | -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é Fonseca | 2009-06-08 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | mesa: bump MAX_PROGRAM_ENV_PARAMS from 128 to 256 | Brian Paul | 2009-06-08 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | Also, MAX_NV_VERTEX_PROGRAM_PARAMS should be 96, not 128 (or 256). | |||||
| * | | | mesa: EXT_vertex_array_bgra fixes | Brian Paul | 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 (cherry picked from commit 4adb190a162c5ed0684a8616331344caadba4010) | |||||
| * | | | mesa: bump version to 7.5-rc3mesa_7_5_rc3 | Brian Paul | 2009-06-05 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | mesa: added a simple bounds checker to glMap/UnmapBuffer() (disabled) | Brian Paul | 2009-06-09 | 1 | -0/+35 | |
| | | | | ||||||
* | | | | mesa: reorder fields, update comments for gl_buffer_object | Brian Paul | 2009-06-09 | 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 | |
| | | |