summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-07-12os: remove gratuitous pipe_barrier placeholder codenobled
There's already an implementation of pipe_barrier using the other pipe_* primitives; just use that on Windows, too. Now Windows passes pipe_barrier_test.
2010-07-12os, rbug: remove PIPE_THREAD_HAVE_CONDVARnobled
The new default implementation of pipe_condvar makes it unnecessary.
2010-07-12os: Implement pipe_condvar on Windows Vista and laternobled
Unfortunately compiling with these defines enabled would mean Gallium can't run on Windows XP/2003 or older. Todo: Need a macro to declare if we don't care about WinXP compatibililty.
2010-07-12os: Implement pipe_condvar on win32nobled
Or at least a little of it. This version will sleep for a fixed amount of time instead of just deadlocking, which is a slight improvement. Also do the same thing on any unrecognized platform.
2010-07-12r300g: implement fast color clearMarek Olšák
An initial implementation made by Dave Airlie. For it to be used, a color-only clear must be invoked and exactly one point-sampled render target must be set. The render target must be macrotiled (for us to overcome alignment issues) and bpp must be either 16 or 32. I can't see a difference in performance. :( Conflicts: src/gallium/drivers/r300/r300_blit.c
2010-07-12r300g: clear and copy a resource with a rectangular point spriteMarek Olšák
With an ordinary quad, the pixels on the main diagonal are computed and stored twice, which is somewhat inefficient and might not work well with specialized clear codepaths.
2010-07-12r300g: do not use immediate mode if there is a VBO in VRAMMarek Olšák
And other minor fixups.
2010-07-12u_blitter: add draw_rectangle callback which can be overridden by a driverMarek Olšák
2010-07-12u_blitter: clean up the texcoord computationsMarek Olšák
2010-07-12u_blitter: simplify blitter_set_rectangleMarek Olšák
2010-07-12u_blitter: rename blitter->base, add a way to get a pipe context from blitterMarek Olšák
2010-07-12r300g: ugly fix of a hardlock in the cubestorm xscreensaverMarek Olšák
FDO bug #28563.
2010-07-10r300g: do not print a rejected CS if RADEON_DUMP_CS is not setMarek Olšák
Also print relocation failures on non-debug builds too.
2010-07-09r300g: allow the GTT domain for samplersMarek Olšák
This fixes sluggishness in vdrift.
2010-07-09r300g/swtcl: fix out-of-bounds writeMarek Olšák
This is a typo fix, the generated code should be the same.
2010-07-08draw: Fix off-by-one error in assert.Vinson Lee
textures is an array of size PIPE_MAX_VERTEX_SAMPLERS.
2010-07-09r300g: fix texturing with negative lod biasMarek Olšák
This should fix FDO bugs #28437 and #28625.
2010-07-08r300g: store/return the stride for winsys_handle in winsysMarek Olšák
2010-07-08r300g: fix transfering compressed texturesMarek Olšák
2010-07-08gallium: bump PIPE_MAX_SHADER_INPUTS/OUTPUTS to 32Brian Paul
2010-07-08r300g: add a function for marking framebuffer atoms as dirtyMarek Olšák
2010-07-08r300g: minor fixupsMarek Olšák
2010-07-07gallivm: restore const qualifierBrian Paul
2010-07-07gallivm: fix cube map LOD computationBrian Paul
First, this undoes commit e503af4baa2c709ae5743bb278b277d3faaba076 so we use iround() in lp_build_nearest_mip_level(). Second, in lp_build_sample_general() we need to check if we're sampling a cube map before anything else. Choose the cube face and then recompute the partial derivatives of (S,T) with respect to the chosen cube face. Before, we were using the directional (S,T,R) derivatives to compute the LOD. Third, work around an apparent bug in LLVM 2.7 where setting the lod variable to a const(0) value results in bad x86 code. See comments in the code.
2010-07-06llvmpipe: Don't build lp_test_round when using MSVC.Vinson Lee
lp_test_round uses the math functions round and trunc, which aren't available with MSVC. Fixes the MSVC build for now.
2010-07-06llvmpipe: Add lp_test_round to SCons build.Vinson Lee
2010-07-06draw: Remove unnecessary header.Vinson Lee
2010-07-06gallivm: Remove unnecessary header.Vinson Lee
2010-07-07util: print help for debug options on non-debug buildsMarek Olšák
I'd like to see the help when I request it.
2010-07-06gallivm: use trunc, not round in lp_build_nearest_mip_level()Brian Paul
Fixes fd.o bug 28036 (piglit fbo-cubemap.c regression)
2010-07-06llvmpipe: add test program for round(), trunc(), floor(), ceil()Brian Paul
2010-07-06gallivm: finish implementation of lp_build_iceil()Brian Paul
Plus fix minor error in lp_build_iceil() by tweaking the offset value. And add a bunch of comments for the round(), trunc(), floor(), ceil() functions.
2010-07-06llvmpipe: disconnect vertex texture sampling from the setupZack Rusin
it was wrong to put this in the fs paths, but it was easier to just stuff it along the fragment texture sampling paths. the patch disconnects vertex texture sampling and just maps the textures before the draw itself and unmaps them after.
2010-07-06draw: make sure softpipe doesn't crash with vertex tex samplingZack Rusin
softpipe doesn't implement the draw's llvm tex sampling interface so make sure draw can handle the cases where the driver doesn't implement the interface
2010-07-06draw: implement vertex texture sampling using llvmZack Rusin
2010-07-06r300/compiler: Implement KILP opcode.Tom Stellard
Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-07-06gallivm: Use SSE4.1's BLENDV instructions for lp_build_select().José Fonseca
2010-07-06gallivm: Fix 8bit comparisons.José Fonseca
2010-07-06llvmpipe: ensure all bins are reset avoids memory corruption.Alan Hourihane
2010-07-06st/egl: Add support for !GLX_DIRECT_RENDERING.Chia-I Wu
st/egl uses GLX code for DRI2 support. It should honor GLX_DIRECT_RENDERING. Also updates configure.ac to define GLX_DIRECT_RENDERING for st/egl.
2010-07-05auxiliary/util: Add SM3 meta-cap list.Corbin Simpson
2010-07-05llvmpipe: wait for queries being finished when asked for it or before deletionRoland Scheidegger
This fixes bug #28757, though does not yet address the issue that fences aren't always emitted.
2010-07-04i915g: Remove unnecessary header.Vinson Lee
2010-07-04i915g: Add flag to not send commands to hwJakob Bornecrantz
2010-07-04i915g: If the kernel reject the batchbuffer print it then assertJakob Bornecrantz
2010-07-04i915g: Minor cleanupsJakob Bornecrantz
2010-07-04i915g: Make batchbuffer flush function not be inlineJakob Bornecrantz
2010-07-04i915g: Rename texture state to map stateJakob Bornecrantz
2010-07-04i915g: Move fragment state to its own fileJakob Bornecrantz
2010-07-04i915g: Move static state to its own fileJakob Bornecrantz