summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-22109-842/+3007
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
| * gallium/draw: apply DRAW_PIPE_FLAG_MASK to all vertex elementsBrian Paul2010-01-221-3/+3
| | | | | | | | | | | | | | | | | | Depending on first/last provoking vertex either the first or last element/index may have the extra DRAW_PIPE_x flags. Mask off those bits for all vertex elements to be safe (esp. for the quad case). This may be overly cautious, but it's a cheap operation. Fixes a segfault caused by large/bogus vertex indexes otherwise.
| * gallium/draw: added comments, whitespace fixesBrian Paul2010-01-221-8/+30
| |
| * vmware/core: Update for pipebuffer changes.José Fonseca2010-01-222-14/+84
| | | | | | | | | | In particular, delay patching GMR relocations until the buffers are validated, since the buffers relative offset can only be established then.
| * i915g: Remove unnecessary header.Vinson Lee2010-01-211-1/+0
| |
| * pipebuffer: Remove unnecessary header.Vinson Lee2010-01-211-1/+0
| |
| * draw: Remove unnecessary headers.Vinson Lee2010-01-217-9/+0
| |
| * svga: Remove unused variable.Vinson Lee2010-01-211-1/+0
| |
| * vmware/core: Flush preemptively the FIFO commands to keep the GMR working ↵José Fonseca2010-01-211-1/+37
| | | | | | | | set within reasonable bounds.
| * vmware/core: Put GMR pool size in a define.José Fonseca2010-01-212-1/+5
| |
| * vmw/wgl: Update for pipebuffer changes.José Fonseca2010-01-211-1/+3
| | | | | | | | | | | | | | | | This is a minimum change to keep things building and running minimally -- it might cause applications to fail to allocate buffers due to out of GMR memory. A proper update will be commited later.
| * svga: Remove duplicate code.José Fonseca2010-01-211-4/+2
| |
| * svga: Remove unused code.José Fonseca2010-01-213-30/+4
| |
| * svga: Don't swap buffers to system memory -- winsys' responsibility.José Fonseca2010-01-212-63/+0
| |
| * pipebuffer: Release the lock during map wait. Cleanups.José Fonseca2010-01-211-63/+131
| |
| * pipebuffer: Swap buffers out to system memory when running out of memory.José Fonseca2010-01-216-491/+706
| |
| * svga: Avoid synchronization issues when doing SW TNL.José Fonseca2010-01-211-3/+5
| |
| * util: Set DISCARD & UNSYNCHRONIZED when uploading vertices sequentially.José Fonseca2010-01-211-1/+3
| |
| * util: Use pipe_buffer_write_nooverlap in blits / mipmap generation.José Fonseca2010-01-212-4/+4
| |
| * gallium: New inline to write buffers which avoids synchronization.José Fonseca2010-01-211-0/+31
| |
| * gallium: Set PIPE_BUFFER_USAGE_DISCARD flag in pipe_buffer_write.José Fonseca2010-01-211-1/+2
| |
| * gallium: Remove temporary hack for the absence of a discard flag.José Fonseca2010-01-211-7/+0
| | | | | | | | PIPE_BUFFER_USAGE_DISCARD flag now exists.
| * svga: Follow buffer usage semantics properly.José Fonseca2010-01-212-4/+11
| | | | | | | | | | | | | | | | | | | | It's necessary to download buffers from the host always, except if the buffer is undefined, because: - just PIPE_BUFFER_USAGE_CPU_WRITE doesn't guarantee all data is written -- old contents may still pierce through - PIPE_BUFFER_USAGE_DISCARD refers to a range, not the whole buffer, so unless we track which parts have been modified and not we still need to download the data.
| * st/xorg: Remove unnecessary headers.Vinson Lee2010-01-217-11/+0
| |
| * llvmpipe: Remove unnecessary headers.Vinson Lee2010-01-2119-26/+0
| |
| * svga: Remove unnecessary headers.Vinson Lee2010-01-2123-47/+0
| |
| * xlib/softpipe: fix buffer memory leakBrian Paul2010-01-201-5/+20
| | | | | | | | Fixes leak caused by window resize.
| * st/xorg: Fic bug and close drm_api at proper placeJakob Bornecrantz2010-01-201-7/+17
| |
| * softpipe: Remove unnecessary headers.Vinson Lee2010-01-2010-12/+0
| |
| * i915g: Remove unnecessary headers.Vinson Lee2010-01-199-17/+0
| |
| * svga: Do a more propper creation of textures from handlesJakob Bornecrantz2010-01-193-52/+90
| |
| * st/xorg: Don't leak BusID bufferJakob Bornecrantz2010-01-191-0/+1
| |
| * st/xorg: Pass kernel driver name to drmOpenJakob Bornecrantz2010-01-191-4/+12
| |
| * st/drm: Expose kernel driver nameJakob Bornecrantz2010-01-196-0/+10
| | | | | | | | | | | | Based on patch by Chia-I Wu <[email protected]> Expose the name of the kernel driver as accepted by drmOpenByName.
| * st/dri: update dri2 drawables when viewport is changedBen Skeggs2010-01-194-0/+17
| | | | | | | | | | | | | | Fixes gnome-shell on nouveau, as well as window resize with various other applications. Signed-off-by: Ben Skeggs <[email protected]>
| * wgl: Check for PIPE_TEXTURE_USAGE_DISPLAY_TARGET support in exported color ↵José Fonseca2010-01-191-1/+2
| | | | | | | | | | | | pixel formats. Since all formats we export have PFD_DRAW_TO_WINDOW flag.
| * wgl: Don't export pure-stencil pixel formats.José Fonseca2010-01-191-2/+0
| | | | | | | | They cause DCT's conform to always fail.
| * softpipe: Fix vertex buffer memory leak.José Fonseca2010-01-191-0/+2
| |
| * softpipe: Skip depth testing for PIPE_S8_UNORM.José Fonseca2010-01-181-1/+2
| |
| * pipebuffer: Ensure buffer size/alignment is not zero.José Fonseca2010-01-181-0/+3
| |
| * svga: Ensure buffer size/alignment is not zero.José Fonseca2010-01-182-3/+6
| |
| * st/dri: Add comment for intentional fallthrough in case statement.Vinson Lee2010-01-181-0/+1
| |
| * st/dri: fix optionCache memory leaksMarcin Slusarz2010-01-182-0/+16
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * st/xorg: If dri2 version is 2 support version 1 as wellJakob Bornecrantz2010-01-151-4/+36
| | | | | | | | | | | | Thanks to X server commit 2e2c5b216cc1c7a9bc26bd2c68226aaed5fc52ca it is possible to be ABI compatible in version 2 with version 1 of the DRI2 interface.
| * st/xorg: Set enforce version to 1 if not definedJakob Bornecrantz2010-01-151-6/+1
| |
| * ws/vmware: Check DRM version also when bootstrapping in dri2 mode.Thomas Hellstrom2010-01-181-0/+17
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/dri: Don't request a fake front if the server adds one automatically.Thomas Hellstrom2010-01-183-5/+13
| | | | | | | | | | | | | | We use the presence of the getBuffersWithFormat extension function to detect whether the server automatically adds a front. Signed-off-by: Thomas Hellstrom <[email protected]>
| * tgsi: fix detection of front-facing attributeBrian Paul2010-01-151-6/+4
| | | | | | | | This code was not updated when we added TGSI_SEMANTIC_FACE a while ago.
* | gallium/draw: fix-up comments, whitespaceBrian Paul2010-01-221-6/+5
| |
* | gallium/draw: replace int with booleanBrian Paul2010-01-221-8/+8
| |