summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-01-20xlib/softpipe: fix buffer memory leakBrian Paul
Fixes leak caused by window resize.
2010-01-20st/xorg: Fic bug and close drm_api at proper placeJakob Bornecrantz
2010-01-20softpipe: Remove unnecessary headers.Vinson Lee
2010-01-19i915g: Remove unnecessary headers.Vinson Lee
2010-01-19svga: Do a more propper creation of textures from handlesJakob Bornecrantz
2010-01-19st/xorg: Don't leak BusID bufferJakob Bornecrantz
2010-01-19st/xorg: Pass kernel driver name to drmOpenJakob Bornecrantz
2010-01-19st/drm: Expose kernel driver nameJakob Bornecrantz
Based on patch by Chia-I Wu <olvaffe@gmail.com> Expose the name of the kernel driver as accepted by drmOpenByName.
2010-01-19st/dri: update dri2 drawables when viewport is changedBen Skeggs
Fixes gnome-shell on nouveau, as well as window resize with various other applications. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-01-19wgl: Check for PIPE_TEXTURE_USAGE_DISPLAY_TARGET support in exported color ↵José Fonseca
pixel formats. Since all formats we export have PFD_DRAW_TO_WINDOW flag.
2010-01-19wgl: Don't export pure-stencil pixel formats.José Fonseca
They cause DCT's conform to always fail.
2010-01-19softpipe: Fix vertex buffer memory leak.José Fonseca
2010-01-18softpipe: Skip depth testing for PIPE_S8_UNORM.José Fonseca
2010-01-18pipebuffer: Ensure buffer size/alignment is not zero.José Fonseca
2010-01-18svga: Ensure buffer size/alignment is not zero.José Fonseca
2010-01-18st/dri: Add comment for intentional fallthrough in case statement.Vinson Lee
2010-01-18st/dri: fix optionCache memory leaksMarcin Slusarz
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-15st/xorg: If dri2 version is 2 support version 1 as wellJakob Bornecrantz
Thanks to X server commit 2e2c5b216cc1c7a9bc26bd2c68226aaed5fc52ca it is possible to be ABI compatible in version 2 with version 1 of the DRI2 interface.
2010-01-15st/xorg: Set enforce version to 1 if not definedJakob Bornecrantz
2010-01-18ws/vmware: Check DRM version also when bootstrapping in dri2 mode.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-01-18st/dri: Don't request a fake front if the server adds one automatically.Thomas Hellstrom
We use the presence of the getBuffersWithFormat extension function to detect whether the server automatically adds a front. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-01-15tgsi: fix detection of front-facing attributeBrian Paul
This code was not updated when we added TGSI_SEMANTIC_FACE a while ago.
2010-01-13st/dri: Make sure we always request a fake front.Thomas Hellstrom
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 <thellstrom@vmware.com>
2010-01-13svga: Fix compile_vs error code.José Fonseca
It could erroneously return PIPE_OK in some circumstances. Make compile_fs code identical.
2010-01-11Revert "util: Build u_bitmask.o when using make."Brian Paul
This reverts commit 01eff0e6d23f90650de7c563f74a1aec3de112a6. u_bitmask.c was already in the C_SOURCES list.
2010-01-11st/xorg: move exaMoveInPixmap before trying to fetch itZack Rusin
as Michel suggested, this is a cleaner way of fixing crashes caused by exaGetPixmapDriverPrivate returning null since the data hasn't been moved yet.
2010-01-11st/xorg: fix a rare video crashZack Rusin
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.
2010-01-07Revert "pipebuffer: Multi-threading fixes for fencing."Jakob Bornecrantz
This reverts commit 5b64d94390e4805e1634f0c8b5e3156e12b8b872.
2010-01-11Revert "st/dri: no need to request fake front buffer, only handle it being ↵Thomas Hellstrom
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 <thellstrom@vmware.com>
2010-01-11util: Build u_bitmask.o when using make.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-01-08r300g: Silence unused variable warnings.Vinson Lee
2010-01-08tgsi: Silence uninitialized variable warnings.Vinson Lee
2010-01-06util: Add u_bitmask to make buildJakob Bornecrantz
2010-01-07tgsi: fix SSE code emit for XPDBrian Paul
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.
2010-01-06svga: Silence uninitialized variable warning.Vinson Lee
2010-01-06nv50: add missing parentheses in nv50_query_result()Roel Kluin
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 <roel.kluin@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-06pipebuffer: Multi-threading fixes for fencing.José Fonseca
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.
2010-01-05svga: Remove stale references to delete shader results.José Fonseca
To ensure that a new result that happens to have the same address of the old one will be detected as a change.
2010-01-05svga: Rebind shaders when tokens change.José Fonseca
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.
2010-01-04svga: Fix debug build crash when rendering to depth/stencil renderbuffer only.Michel Dänzer
2010-01-04st/xorg: Proper calculation of screen pitch.Michel Dänzer
2010-01-04vmware/xorg: Fix SCons build.Michel Dänzer
2010-01-03r300g: Silence 'mixed declarations and code' warning.Vinson Lee
2010-01-03r300g: Remove comma at end of enumerator list.Vinson Lee
2010-01-03llvmpipe: Remove comma at end of enumerator list.Vinson Lee
2010-01-03gdi: Don't generate import libraries for opengl32.dll.José Fonseca
Both MinGW and MSVC include opengl32 import libraries, and its safer to always use those.
2010-01-03trace: Remove comma at end of enumerator list.Vinson Lee
2010-01-03rtasm: Play nicely with Windows's Data Execution Prevention.José Fonseca
2010-01-02st/xorg: Ensure null-terminated byte string.Vinson Lee
2010-01-02r300g: Use C-style comments.Vinson Lee