Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-06-30 | 10 | -18/+48 |
|\ | | | | | | | | | | | Conflicts: src/mesa/vbo/vbo_exec_draw.c | ||||
| * | mesa: fix transform_points_3d_no_rot using undefined values in %xmm0 | Arthur HUILLET | 2009-06-30 | 2 | -0/+2 |
| | | | | | | | | Signed-off-by: Arthur HUILLET <[email protected]> | ||||
| * | glx: plug a leak | Kristof Ralovich | 2009-06-30 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | Swrast was missing a free for the culmination of driConcatConfigs. Use free(), not _mesa_free() since we shouldn't be calling any Mesa functions from the GLX code. driConcatConfigs() should probably use regular malloc/free to be consistant but the Mesa functions just wrap the libc functions anyway. | ||||
| * | glx: fix null pointer dereference segfault (bug 22546) | Brian Paul | 2009-06-30 | 1 | -1/+1 |
| | | |||||
| * | mesa: Set FLUSH_EXPLICIT_BIT flags when calling FlushMappedBufferRange. | José Fonseca | 2009-06-30 | 2 | -9/+22 |
| | | | | | | | | As prescribed by ARB_map_buffer_range. | ||||
| * | util: Set PIPE_BUFFER_USAGE_FLUSH_EXPLICIT when calling ↵ | José Fonseca | 2009-06-30 | 1 | -1/+3 |
| | | | | | | | | buffer_flush_mapped_range. | ||||
| * | gallium: New PIPE_BUFFER_USAGE_FLUSH_EXPLICIT flag for ↵ | José Fonseca | 2009-06-30 | 3 | -7/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | buffer_flush_mapped_range. When a buffer was mapped for write and no explicit flush range was provided the existing semantics were that the whole buffer would be flushed, mostly for backwards compatability with non map-buffer-range aware code. However if the buffer was mapped/unmapped with nothing really written -- something that often happens with the vbo -- we were unnecessarily assuming that the whole buffer was written. The new PIPE_BUFFER_USAGE_FLUSH_EXPLICIT flag (based from ARB_map_buffer_range 's GL_MAP_FLUSH_EXPLICIT_BIT flag) allows to clearly distinguish the legacy usage from the nothing written usage. | ||||
* | | gallium: remove the pipe_sampler_state::shadow_ambient field | Brian Paul | 2009-06-30 | 4 | -4/+0 |
| | | | | | | | | | | | | | | This was only present for the sake of GL_ARB_shadow_ambient which we never implemented in Gallium. If we someday want GL_ARB_shadow_ambient we can implement it in the state tracker by adding a MAD after the relevant TEX instructions. | ||||
* | | identity: Create a drm_api wrapper | Jakob Bornecrantz | 2009-06-30 | 5 | -1/+230 |
| | | |||||
* | | drm/st: Return drm_api struct from a function | Jakob Bornecrantz | 2009-06-30 | 23 | -59/+102 |
| | | |||||
* | | softpipe: use shadow_compare4() to compare texcoord to four texture samples | Brian Paul | 2009-06-29 | 1 | -12/+78 |
| | | |||||
* | | softpipe: pass sampler state to shadow_compare() | Brian Paul | 2009-06-29 | 1 | -19/+17 |
| | | |||||
* | | nouveau: Expect right params to tex_transfer_destroy(). | Younes Manton | 2009-06-29 | 1 | -1/+1 |
| | | | | | | | | | | Never crashed on x86, ptx is in the same stack slot in either case. Thanks to Bob Gleitsmann for catching this. | ||||
* | | nouveau: Turn off debug cannon. | Younes Manton | 2009-06-29 | 1 | -2/+1 |
| | | |||||
* | | intel: Enable EXT_gpu_program_parameters. | Eric Anholt | 2009-06-29 | 1 | -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 Paul | 2009-06-29 | 1 | -1/+1 |
|\| | |||||
| * | intel: added null ptr check | Brian Paul | 2009-06-29 | 1 | -1/+1 |
| | | | | | | | | This fixes a segfault seen with piglit's fdo20701 test. | ||||
* | | gallium/draw: sketch out some missing pointcoord code | Brian Paul | 2009-06-29 | 1 | -1/+11 |
| | | | | | | | | | | | | The gl_PointCoord attribute is currently expected to be in the fog coord register's z/w components. This was never totally fleshed out though. This is just some placeholder code. | ||||
* | | st/mesa: enable GL_ARB_framebuffer_object | Brian Paul | 2009-06-29 | 1 | -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 query | Brian Paul | 2009-06-29 | 1 | -1/+2 |
| | | |||||
* | | mesa: alphabetize lines | Brian Paul | 2009-06-29 | 1 | -1/+1 |
| | | |||||
* | | Revert "intel: Remove unneded pthread mutex in LOCK_HARDWARE." | Eric Anholt | 2009-06-29 | 1 | -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 Anholt | 2009-06-29 | 6 | -26/+2 |
| | | |||||
* | | intel: Remove unneded pthread mutex in LOCK_HARDWARE. | Eric Anholt | 2009-06-29 | 1 | -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 Anholt | 2009-06-29 | 5 | -47/+19 |
| | | |||||
* | | Revert "r200: make use of DMA buffers for Elts a lot better." | Dave Airlie | 2009-06-29 | 3 | -19/+16 |
| | | | | | | | | | | | | This reverts commit 0952645fe04a27968565ea4d913500c23b1b11e3. Need to revisit where this is going wrong | ||||
* | | r300g: YCbCr and sRGB textures. | Corbin Simpson | 2009-06-27 | 3 | -1/+15 |
| | | |||||
* | | r300g: Fix EXT_packed_depth_stencil functionality. | Corbin Simpson | 2009-06-27 | 2 | -2/+10 |
| | | | | | | | | Allow Z24S8 to be a true texture. | ||||
* | | st/dri: Fix last depth bits logic | Jakob Bornecrantz | 2009-06-27 | 1 | -2/+2 |
| | | |||||
* | | radeon: Always initialize front and back renderbuffers if present | Nicolai Hähnle | 2009-06-27 | 1 | -2/+1 |
| | | | | | | | | | | | | This fixes an assertion in glReadPixels from the front buffer. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | | radeon: Update .gitignore | Nicolai Hähnle | 2009-06-27 | 2 | -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]> | ||||
* | | r300g: EXT_provoking_vertex. | Corbin Simpson | 2009-06-26 | 2 | -4/+6 |
| | | |||||
* | | r300g: S3TC. | Corbin Simpson | 2009-06-26 | 2 | -6/+36 |
| | | | | | | | | tests/texcompress2 doesn't work, but tests/texcmp does (more or less.) | ||||
* | | r300g: Use real texture formats. | Corbin Simpson | 2009-06-26 | 3 | -25/+42 |
| | | | | | | | | What bugs me is that the YUV444 format somehow worked properly. :3 | ||||
* | | r300g: Definitively forbid unusable Z buffer/stencil formats. | Corbin Simpson | 2009-06-26 | 1 | -1/+12 |
| | | |||||
* | | r300g: Comment out assert for now. | Corbin Simpson | 2009-06-26 | 1 | -0/+2 |
| | | | | | | | | Will fix with better constant refactoring later. | ||||
* | | r300g: Be more specific on surface_copy fallbacks. | Corbin Simpson | 2009-06-26 | 1 | -1/+1 |
| | | |||||
* | | r300g: PIPE_CAP_TGSI_CONT_SUPPORTED. | Corbin Simpson | 2009-06-26 | 1 | -0/+3 |
| | | |||||
* | | r300-gallium: Ensure that no dirty state goes unemitted. | Corbin Simpson | 2009-06-26 | 1 | -2/+4 |
| | | |||||
* | | Merge branch 'arb_vertex_array_object' | Brian Paul | 2009-06-26 | 24 | -2646/+2935 |
|\ \ | |||||
| * | | intel: enable GL_ARB_vertex_array_object extension | Brian Paul | 2009-06-22 | 1 | -0/+2 |
| | | | |||||
| * | | mesa: plug in glBindVertexArray, glGenVertexArrays functions | Brian Paul | 2009-06-22 | 1 | -0/+4 |
| | | | |||||
| * | | st/mesa: alphabetize lines | Brian Paul | 2009-06-22 | 1 | -1/+1 |
| | | | |||||
| * | | st/mesa: enable GL_ARB_vertex_array_object | Brian Paul | 2009-06-22 | 1 | -0/+1 |
| | | | |||||
| * | | mesa: enforce the rule that arrays live in VBOs for GL_ARB_vertex_array_object | Brian Paul | 2009-06-22 | 1 | -25/+52 |
| | | | |||||
| * | | mesa: added extension flag for ARB_vertex_array_object | Brian Paul | 2009-06-22 | 2 | -0/+3 |
| | | | |||||
| * | | mesa: implement _mesa_GenVertexArrays() for GL_ARB_vertex_array_object | Brian Paul | 2009-06-19 | 3 | -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 Paul | 2009-06-19 | 2 | -12/+46 |
| | | | |||||
| * | | mesa: move vertex array objects from shared state to per-context | Brian Paul | 2009-06-19 | 6 | -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_object | Brian Paul | 2009-06-19 | 10 | -2564/+2716 |
| | | |