summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* st/dri: Make sure we always request a fake front.Thomas Hellstrom2010-01-131-2/+1
| | | | | | | | This should be the correct, but sub-optimal way to handle things on pre-1.7 servers. For servers that automatically adds a fake front we should never request the fake front and handle the reply differently. Signed-off-by: Thomas Hellstrom <[email protected]>
* svga: Fix compile_vs error code.José Fonseca2010-01-132-3/+7
| | | | | | It could erroneously return PIPE_OK in some circumstances. Make compile_fs code identical.
* Revert "util: Build u_bitmask.o when using make."Brian Paul2010-01-111-1/+0
| | | | | | This reverts commit 01eff0e6d23f90650de7c563f74a1aec3de112a6. u_bitmask.c was already in the C_SOURCES list.
* st/xorg: move exaMoveInPixmap before trying to fetch itZack Rusin2010-01-111-2/+4
| | | | | | as Michel suggested, this is a cleaner way of fixing crashes caused by exaGetPixmapDriverPrivate returning null since the data hasn't been moved yet.
* st/xorg: fix a rare video crashZack Rusin2010-01-111-1/+2
| | | | | sometimes dst isn't present if a window is in a middle of a resize, stop crashing in those cases and just ignore a frame.
* Revert "pipebuffer: Multi-threading fixes for fencing."Jakob Bornecrantz2010-01-071-170/+111
| | | | This reverts commit 5b64d94390e4805e1634f0c8b5e3156e12b8b872.
* Revert "st/dri: no need to request fake front buffer, only handle it being ↵Thomas Hellstrom2010-01-111-0/+3
| | | | | | | | | | | | | | | | | | returned" This reverts commit 1336989ec60fff7bd590fefd28945a0e5dc536e3. The commit breaks frontbuffer rendering and the possibility to do on-demand frontbuffer requests on all Xservers prior to 1.7. The commit should be conditioned on a dri2 version check. I've submitted a patch to Xserver to bump dri2 minor, and it's acked by Ian. To be able to check the version from within the state tracker, we will probably need another dri2 extension function that returns the server version. The protocol has support for it. Signed-off-by: Thomas Hellstrom <[email protected]>
* util: Build u_bitmask.o when using make.Thomas Hellstrom2010-01-111-0/+1
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* r300g: Silence unused variable warnings.Vinson Lee2010-01-082-1/+2
|
* tgsi: Silence uninitialized variable warnings.Vinson Lee2010-01-081-0/+8
|
* util: Add u_bitmask to make buildJakob Bornecrantz2010-01-061-0/+1
|
* tgsi: fix SSE code emit for XPDBrian Paul2010-01-071-20/+30
| | | | | | | | | | | | | Rearrange things so that the writes to the dest registers happen after we've fetched/used all src registers. The problematic instruction was: XPD TEMP[2].xyz, TEMP[0], TEMP[2]; Note that the dst reg is also a src reg. This fixes bad shading with progs/glsl/bump.c since Eric's changes to the Mesa program optimizer in commit d6690ce15fb8c7c6abf1bc0d847c1d2da2c33904. The optimizer rearranges some registers so we occasionally wind up with something like the above.
* svga: Silence uninitialized variable warning.Vinson Lee2010-01-061-1/+1
|
* nv50: add missing parentheses in nv50_query_result()Roel Kluin2010-01-061-1/+1
| | | | | | | | NOUVEAU_BO_RD is defined (1 << 2), and `|' has higher precedence than `?' so the second argument of nouveau_bo_map was always 0. Signed-off-by: Roel Kluin <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* pipebuffer: Multi-threading fixes for fencing.José Fonseca2010-01-061-111/+170
| | | | | | | | | I had this patch on my hard drive for long time. It doesn't fully address SVGA multi-threading issues, but causes no regressions, so decided to commit while it still applies cleanly. Attention: merging this into master will cause issues due to recent changes in reference counting to fix strict aliasing rules violation.
* svga: Remove stale references to delete shader results.José Fonseca2010-01-052-0/+14
| | | | | To ensure that a new result that happens to have the same address of the old one will be detected as a change.
* svga: Rebind shaders when tokens change.José Fonseca2010-01-053-18/+10
| | | | | | | | | | Even shader ID doesn't change. Otherwise the token change is not effective. This reverts regression from commit cdb445f3a9285e2d8f042a07021ade78b94e0156. Regression could be seen in Quake3's loading screen -- the upper right corner of the screen would be black.
* svga: Fix debug build crash when rendering to depth/stencil renderbuffer only.Michel Dänzer2010-01-041-1/+2
|
* st/xorg: Proper calculation of screen pitch.Michel Dänzer2010-01-041-2/+1
|
* vmware/xorg: Fix SCons build.Michel Dänzer2010-01-041-0/+1
|
* r300g: Silence 'mixed declarations and code' warning.Vinson Lee2010-01-031-1/+1
|
* r300g: Remove comma at end of enumerator list.Vinson Lee2010-01-031-8/+8
|
* llvmpipe: Remove comma at end of enumerator list.Vinson Lee2010-01-032-2/+2
|
* gdi: Don't generate import libraries for opengl32.dll.José Fonseca2010-01-031-0/+2
| | | | | Both MinGW and MSVC include opengl32 import libraries, and its safer to always use those.