summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_5_branch'Brian Paul2009-06-304-9/+24
|\ | | | | | | | | | | Conflicts: src/mesa/vbo/vbo_exec_draw.c
| * mesa: fix transform_points_3d_no_rot using undefined values in %xmm0Arthur HUILLET2009-06-302-0/+2
| | | | | | | | Signed-off-by: Arthur HUILLET <[email protected]>
| * mesa: Set FLUSH_EXPLICIT_BIT flags when calling FlushMappedBufferRange.José Fonseca2009-06-302-9/+22
| | | | | | | | As prescribed by ARB_map_buffer_range.
* | intel: Enable EXT_gpu_program_parameters.Eric Anholt2009-06-291-0/+2
| | | | | | | | | | There doesn't appear to be any driver impact for enabling this, and tests/prog_parameter passes.
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-291-1/+1
|\|
| * intel: added null ptr checkBrian Paul2009-06-291-1/+1
| | | | | | | | This fixes a segfault seen with piglit's fdo20701 test.
* | st/mesa: enable GL_ARB_framebuffer_objectBrian Paul2009-06-291-0/+6
| | | | | | | | | | All gallium drivers should be able to support mixed-size color/depth/stencil buffers. If not, we'll need a new PIPE_CAP_ query.
* | mesa: check for ARB_framebuffer_object for GL_TEXTURE_STENCIL_SIZE_EXT queryBrian Paul2009-06-291-1/+2
| |
* | mesa: alphabetize linesBrian Paul2009-06-291-1/+1
| |
* | Revert "intel: Remove unneded pthread mutex in LOCK_HARDWARE."Eric Anholt2009-06-291-1/+8
| | | | | | | | | | | | | | | | | | | | | | This reverts commit de447afff26706e3bf8bdcd5cfb8b1daf49b4b21 but puts the lock under DRI1-only. From keithw: > It's there because the DRI1 code doesn't actually achieve the mutexing > which it looks as if it should. For multi-threaded applications it was > always possible to get two threads inside locked regions -- I have no > idea how, but it certainly was and presumably still is possible.
* | intel: Move note_unlock() implementation to the one place it's needed.Eric Anholt2009-06-296-26/+2
| |
* | intel: Remove unneded pthread mutex in LOCK_HARDWARE.Eric Anholt2009-06-291-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | This would cause LOCK_HARDWARE to mutex all contexts in this process on both DRI1 and DRI2. On DRI1, LOCK_HARDWARE already does it for all processes on the system. On DRI2, LOCK_HARDWARE doesn't, but there shouldn't be any state outside the context that needs any additional protection. Notably, the bufmgr is protected by its own mutex and not LOCK_HARDWARE. This code was originally introduced with the i915tex code dump, so it's not clear what it was there for.
* | intel: Make LOCK_HARDWARE recursive to avoid hand-rolling recursiveness.Eric Anholt2009-06-295-47/+19
| |
* | Revert "r200: make use of DMA buffers for Elts a lot better."Dave Airlie2009-06-293-19/+16
| | | | | | | | | | | | This reverts commit 0952645fe04a27968565ea4d913500c23b1b11e3. Need to revisit where this is going wrong
* | radeon: Always initialize front and back renderbuffers if presentNicolai Hähnle2009-06-271-2/+1
| | | | | | | | | | | | This fixes an assertion in glReadPixels from the front buffer. Signed-off-by: Nicolai Hähnle <[email protected]>
* | radeon: Update .gitignoreNicolai Hähnle2009-06-272-2/+25
| | | | | | | | | | | | | | Add all source files that are symlink'ed from common radeon code to the ignore list. Signed-off-by: Nicolai Hähnle <[email protected]>
* | Merge branch 'arb_vertex_array_object'Brian Paul2009-06-2624-2646/+2935
|\ \
| * | intel: enable GL_ARB_vertex_array_object extensionBrian Paul2009-06-221-0/+2
| | |
| * | mesa: plug in glBindVertexArray, glGenVertexArrays functionsBrian Paul2009-06-221-0/+4
| | |
| * | st/mesa: alphabetize linesBrian Paul2009-06-221-1/+1
| | |
| * | st/mesa: enable GL_ARB_vertex_array_objectBrian Paul2009-06-221-0/+1
| | |
| * | mesa: enforce the rule that arrays live in VBOs for GL_ARB_vertex_array_objectBrian Paul2009-06-221-25/+52
| | |
| * | mesa: added extension flag for ARB_vertex_array_objectBrian Paul2009-06-222-0/+3
| | |
| * | mesa: implement _mesa_GenVertexArrays() for GL_ARB_vertex_array_objectBrian Paul2009-06-193-4/+32
| | | | | | | | | | | | | | | | | | This also involves adding a gl_array_object::VBOonly field. For the ARB extension, all arrays in the object must reside in a VBO. This flag keeps track of that requirement.
| * | mesa: implement _mesa_BindVertexArray()Brian Paul2009-06-192-12/+46
| | |
| * | mesa: move vertex array objects from shared state to per-contextBrian Paul2009-06-196-41/+42
| | | | | | | | | | | | | | | The ARB version requires VAOs to be per-context while the Apple extension was ambiguous.
| * | mesa: regenerated files related to GL_ARB_vertex_array_objectBrian Paul2009-06-1910-2564/+2716
| | |
| * | glapi: add new information for GL_ARB_vertex_array_objectBrian Paul2009-06-193-0/+37
| | |
* | | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-2611-274/+1184
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | Conflicts: Makefile src/gallium/drivers/softpipe/sp_screen.c src/mesa/main/version.h
| * | glsl: check number of varying variables against the limitBrian Paul2009-06-261-4/+9
| | | | | | | | | | | | | | | | | | Link fails if too many varying vars. (cherry picked from master, commit cc58fbcf2c5c88f406818db60910f537e03610d6)
| * | mesa: raise MAX_VARYING (number of shader varying vars) to 16Brian Paul2009-06-261-1/+1
| | | | | | | | | | | | | | | | | | 16 is the limit for now because of various 32-bit bitfields. (cherry picked from master, commit 4e762395ef7e8c332c16fd0c11025cfa52763a45)
| * | intel / DRI2: Additional flush of fake front-buffer to real front-bufferIan Romanick2009-06-261-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To maintain correctness, the server will copy the real front-buffer to a newly allocated fake front-buffer in DRI2GetBuffersWithFormat. However, if the DRI2GetBuffersWithFormat is triggered by glViewport, this will copy stale data into the new buffer. Fix this by flushing the current fake front-buffer to the real front-buffer in intel_viewport. Fixes bug #22288.
| * | mesa: bump version to 7.5-rc4Brian Paul2009-06-261-1/+1
| | |
| * | glsl: move/simplify error checking for 'return' statementsBrian Paul2009-06-261-22/+14
| | |
| * | glsl: overhaul 'return' statement handlingBrian Paul2009-06-263-215/+212
| | | | | | | | | | | | | | | | | | | | | A new node type (SLANG_OPER_RETURN_INLINED) is used to denote 'return' statements inside inlined functions which need special handling. All glean glsl1 tests pass for EmitContReturn=FALSE and TRUE.
| * | glsl: predicate assignments according to __returnFlagBrian Paul2009-06-261-4/+29
| | | | | | | | | | | | Fixes glean "function with early return (3)" case (when EmitContReturn=FALSE).
| * | glsl: added slang_variable::is_global fieldBrian Paul2009-06-261-0/+1
| | |
| * | glsl: silence a problem warningBrian Paul2009-06-261-1/+2
| | |
| * | glsl: code refactoring for return statementsBrian Paul2009-06-261-70/+88
| | |
| * | glsl: fix assorted regressions related to early-return-removalBrian Paul2009-06-262-14/+35
| | |
| * | glsl: comments, field reorderingBrian Paul2009-06-261-1/+4
| | |
| * | glsl: rework loop nesting codeBrian Paul2009-06-262-41/+87
| | |
| * | glsl: remove test for loop unrolling when we hit conditional cont/breakBrian Paul2009-06-261-4/+0
| | | | | | | | | | | | | | | This is no longer needed since we added the new _slang_loop_contains_continue_or_break() function/test.
| * | glsl: checkpoint: predicate __retVal = expr with __returnFlagBrian Paul2009-06-261-26/+60
| | | | | | | | | | | | The glean "function with early return (1)" test passes now.
| * | glsl: use new helper functions in _slang_gen_logical_and/or()Brian Paul2009-06-261-15/+9
| | |
| * | glsl: add commentsBrian Paul2009-06-261-0/+3
| | |
| * | glsl: checkpoint: replace 'return' with __returnFlag=true;Brian Paul2009-06-261-7/+68
| | | | | | | | | | | | Needed for "remove early returns" transformation.
| * | glsl: fix up scoping for parent/children in slang_operation_copy()Brian Paul2009-06-261-0/+9
| | | | | | | | | | | | This will need more testing, but no regressions seen so far.
| * | glsl: fix uninitialized var in _slang_gen_for_without_continue()Brian Paul2009-06-261-1/+1
| | |
| * | glsl: added slang_operation_free_children()Brian Paul2009-06-262-0/+17
| | |