summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: eliminate the set_state rasterizer commandKeith Whitwell2010-07-138-92/+22
| | | | | | Just put a pointer to the state in the tri->inputs struct. Remove some complex logic for eliminating unused statechanges in bins at the expense of a slightly larger triangle struct.
* llvmpipe: pass mask into fragment shaderKeith Whitwell2010-07-1314-790/+901
| | | | | | | | | Move this code back out to C for now, will generate separately. Shader now takes a mask parameter instead of C0/C1/C2/etc. Shader does not currently use that parameter and rasterizes whole pixel stamps always.
* llvmpipe: move fences from per-bin to per-threadKeith Whitwell2010-07-138-29/+58
| | | | | | | | | Rather than inserting an lp_rast_fence command at the end of each bin, have each rasterizer thread call this function directly once it has run out of work to do on a particular scene. This results in fewer calls to the mutex & related functions, but more importantly makes it easier to recognize empty bins.
* llvmpipe: Always swizzle/unswizzle whole tiles.José Fonseca2010-07-133-18/+18
| | | | | This was already the case, but the generated (un)swizzling code was not benefiting of that knowledge.
* llvmpipe: Ignores!Jakob Bornecrantz2010-07-131-0/+1
|
* r300g: do not advertise half_float_vertex on rv3x0Marek Olšák2010-07-131-2/+2
| | | | rv3x0 can't do it.
* r300g: extend and clean up debug loggingMarek Olšák2010-07-135-17/+23
|
* r300g/swtcl: do not emit texcoords if they are also stuffed in GAMarek Olšák2010-07-131-3/+6
|
* r300g: rework the draw_rectangle hookMarek Olšák2010-07-131-89/+23
| | | | It is a lot simplier, cleaner, and more stable now.
* r300g: Remove unnecessary header.Vinson Lee2010-07-121-1/+0
|
* llvmpipe: Re-enable threading on windows.José Fonseca2010-07-121-6/+0
|
* os, rbug: remove PIPE_THREAD_HAVE_CONDVARnobled2010-07-122-14/+0
| | | | | The new default implementation of pipe_condvar makes it unnecessary.
* r300g: implement fast color clearMarek Olšák2010-07-1210-13/+178
| | | | | | | | | | | | | | | 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
* r300g: clear and copy a resource with a rectangular point spriteMarek Olšák2010-07-122-3/+152
| | | | | | 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.
* r300g: do not use immediate mode if there is a VBO in VRAMMarek Olšák2010-07-122-4/+5
| | | | And other minor fixups.
* r300g: ugly fix of a hardlock in the cubestorm xscreensaverMarek Olšák2010-07-122-3/+5
| | | | FDO bug #28563.
* r300g: allow the GTT domain for samplersMarek Olšák2010-07-092-5/+12
| | | | This fixes sluggishness in vdrift.
* r300g/swtcl: fix out-of-bounds writeMarek Olšák2010-07-091-1/+1
| | | | This is a typo fix, the generated code should be the same.
* r300g: fix texturing with negative lod biasMarek Olšák2010-07-091-1/+1
| | | | This should fix FDO bugs #28437 and #28625.
* r300g: store/return the stride for winsys_handle in winsysMarek Olšák2010-07-082-12/+10
|
* r300g: fix transfering compressed texturesMarek Olšák2010-07-081-1/+1
|
* r300g: add a function for marking framebuffer atoms as dirtyMarek Olšák2010-07-083-11/+32
|
* r300g: minor fixupsMarek Olšák2010-07-085-7/+7
|
* llvmpipe: Don't build lp_test_round when using MSVC.Vinson Lee2010-07-061-1/+3
| | | | | | | lp_test_round uses the math functions round and trunc, which aren't available with MSVC. Fixes the MSVC build for now.
* llvmpipe: Add lp_test_round to SCons build.Vinson Lee2010-07-061-0/+1
|
* llvmpipe: add test program for round(), trunc(), floor(), ceil()Brian Paul2010-07-062-0/+278
|
* llvmpipe: disconnect vertex texture sampling from the setupZack Rusin2010-07-068-89/+85
| | | | | | | 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.
* draw: implement vertex texture sampling using llvmZack Rusin2010-07-066-4/+96
|
* r300/compiler: Implement KILP opcode.Tom Stellard2010-07-061-1/+1
| | | | Signed-off-by: Marek Olšák <[email protected]>
* llvmpipe: ensure all bins are reset avoids memory corruption.Alan Hourihane2010-07-061-2/+2
|
* llvmpipe: wait for queries being finished when asked for it or before deletionRoland Scheidegger2010-07-051-6/+26
| | | | | This fixes bug #28757, though does not yet address the issue that fences aren't always emitted.
* i915g: Remove unnecessary header.Vinson Lee2010-07-041-1/+0
|
* i915g: Minor cleanupsJakob Bornecrantz2010-07-042-9/+16
|
* i915g: Make batchbuffer flush function not be inlineJakob Bornecrantz2010-07-043-15/+28
|
* i915g: Rename texture state to map stateJakob Bornecrantz2010-07-041-23/+23
|
* i915g: Move fragment state to its own fileJakob Bornecrantz2010-07-046-17/+64
|
* i915g: Move static state to its own fileJakob Bornecrantz2010-07-044-18/+50
|
* i915g: Don't dirty dynamic state if it hasn't changedJakob Bornecrantz2010-07-041-1/+4
|
* i915g: Don't flush after blitJakob Bornecrantz2010-07-041-2/+0
|
* i915g: Don't flush empty batchbuffersJakob Bornecrantz2010-07-041-2/+0
|
* r300g: fix warningsMarek Olšák2010-07-031-2/+5
|
* r300/compiler: Use hardware flow control instructions for loops on r500.Tom Stellard2010-07-031-1/+2
|
* r300g: Fix typo in r300_reg.hTom Stellard2010-07-031-2/+2
|
* gallivm: Support multiple pixels in lp_build_fetch_rgba_aos().José Fonseca2010-07-021-1/+3
| | | | | This allows to do the unpacking of formats that fit in 4 x unorm8 in parallel, 4 pixels at a time.
* softpipe: fix incorrect blend func index passed to blend_quad()Brian Paul2010-07-021-8/+15
| | | | | | | | Need to pass the index indicating which blend terms to use, not which color buffer we're blending into. Rename the parameter to blend_quad() and add comments to be more clear about this.
* softpipe: better assertionsBrian Paul2010-07-021-7/+7
|
* gallivm: Fix 4 x unorm8 -> 4 x float conversion.José Fonseca2010-07-021-1/+1
| | | | Also fix the test.
* r600: use gallium list macros instead of making our own.Dave Airlie2010-07-027-109/+96
| | | | | | | | | before this change, r600 glxinfo segfaulted in the list code, and I wasn't debugging another linked list implementation, its 2010 after all. So add the two missing list macros to the gallium header from X.org list header file (after fixing them), then port all r600 lists to the new header. Signed-off-by: Dave Airlie <[email protected]>
* llvmpipe: silence pointer type warningsBrian Paul2010-07-011-4/+8
|
* gallivm: Support 4 x unorm8 in lp_build_fetch_rgba_aos().José Fonseca2010-07-011-71/+159
| | | | Uses code and ideas from Brian Paul.