summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: import experimental softpipe rasterizer code, wip binning codeKeith Whitwell2009-10-0818-2212/+1276
| | | | | | | | WIP, does't build or run. Rasterizer code is based on Nick Capen's devmaster posts and the larrabee articles, but currently doesn't share either the performance or correctness of either...
* i915g: Fix MSVC build.Vinson Lee2009-10-071-1/+1
|
* softpipe: new commentsBrian Paul2009-10-071-0/+39
|
* softpipe: whitespace and comment fixesBrian Paul2009-10-071-11/+8
|
* softpipe: prefix non-static functions with sp_Brian Paul2009-10-073-55/+55
|
* Merge branch 'master' into r300g-glslNicolai Hähnle2009-10-07126-19879/+528
|\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
| * i915g: Use buffer write instead of map for lit verticesJakob Bornecrantz2009-10-071-2/+37
| |
| * i915g: Change order of buffer_write argumentsJakob Bornecrantz2009-10-071-3/+3
| | | | | | | | | | | | They now follow the pipe_buffer_write style, its the gallium driver that sets the interface not the winsys.
| * i915g: Disable vbuf fifo and minor commenting of vbuf codeJakob Bornecrantz2009-10-071-11/+26
| | | | | | | | | | The vbuf fifo doesn't appear to help once the libdrm reuse flag has been set.
| * nv04-nv40: Fix swizzle transfers for NPOT sizes.Younes Manton2009-10-061-113/+34
| | | | | | | | | | | | Workarounds not necessary, SIFM can handle NPOT, we just weren't setting dst dimensions properly. SIFM can't handle odd w,h though, that still needs fixing.
| * nv50: fix segfault when there's gaps in enabled texture unitsBen Skeggs2009-10-062-4/+10
| | | | | | | | Tested with progs/demos/multiarb.
| * i915g: Tweek vertexbuffer sizeJakob Bornecrantz2009-10-061-4/+4
| |
| * Merge branch 'mesa_7_6_branch'Brian Paul2009-10-051-1/+1
| |\ | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
| | * gallium: replace // comments with /* */Brian Paul2009-10-021-1/+1
| | |
| * | i915g: Drop the simple sufixJakob Bornecrantz2009-10-0535-4/+4
| | | | | | | | | | | | | | | | | | None of the other driver have a silly sufix, so just drop it. Nothing new added in this commit or any other commit but this is better marketing.
| * | i965g: Drop i965simpleJakob Bornecrantz2009-10-0566-18738/+0
| | | | | | | | | | | | | | | | | | The driver never work with real hardware and has bitrotted for quite some time now, might as well drop it. If somebody wants to look at it just use git.
| * | r300g: fix scons buildJoakim Sindholt2009-10-054-10/+17
| | | | | | | | | | | | | | | | | | So I didn't touch r300compiler, but r300g now compiles after having declarations and code untangled. As nha so gently points out, we shouldn't have to do this just to comply with MSVC compilers.
| * | nv50: support PIPE_FORMAT_X8R8G8B8_UNORMBen Skeggs2009-10-053-0/+12
| | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | llvmpipe: Ensure tile cache transfers are mapped before flushing it.José Fonseca2009-10-043-2/+9
| | |
| * | llvmpipe: Autogenerate lp_tile_soa.c from u_format.csv.José Fonseca2009-10-047-974/+339
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is just a temporary change until we code generate the tile read/write functions in runtime. The new code avoids an extra memcpy that exists in u_tile.c functions, from which lp_tile_soa.c was originally based. This achieves up to 5% improvement, particularly in frames with little geometry overlap.
| * | llvmpipe: Remove loop testing from format testing.José Fonseca2009-10-041-6/+0
| | | | | | | | | | | | Loop building will be rewritten.
| * | llvmpipe: Match header's protection macro with filename.José Fonseca2009-10-041-3/+3
| | |
| * | llvmpipe: Adjust format assertion.José Fonseca2009-10-041-3/+4
| | | | | | | | | | | | We support array layout too -- if it has a single channel.
| * | r300g: xRGB and RGBx formats.Corbin Simpson2009-10-043-0/+15
| | | | | | | | | | | | | | | We now have 48 GLX visuals. Pretty soon, we'll have 90+ visuals, only five of which ever get tested. :3
| * | llvmpipe: Fetch tile only if a color buffer is bound.José Fonseca2009-10-032-2/+11
| | |
* | | r300/compiler: Refactor to allow different instruction typesNicolai Hähnle2009-10-041-16/+16
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
* | | r300/compiler: Introduce control flow instructions and refactor dataflowNicolai Hähnle2009-10-031-3/+3
| | | | | | | | | | | | | | | | | | Note that control flow instruction support isn't actually fully functional yet. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
* | | Merge branch 'master' into r300-compilerNicolai Hähnle2009-10-0389-4700/+5742
|\ \ \ | |/ /
| * | r300g: Do not abort on fragment program compiler errorNicolai Hähnle2009-10-032-4/+9
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
| * | r300g: Remove an unnecessarily created pipe buffer (and thus fix a leak)Nicolai Hähnle2009-10-031-7/+0
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
| * | r300g: Reset vbo_offset after allocation of a new bufferNicolai Hähnle2009-10-031-2/+3
| | | | | | | | | | | | | | | | | | This fixes the glxgears bug, among other things. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
| * | gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.Michel Dänzer2009-10-0212-155/+41
| | | | | | | | | | | | | | | | | | Always test for PIPE_TRANSFER_READ/WRITE using the bit-wise and operator, and add a pipe_transfer_buffer_flags() helper for getting the buffer usage flags corresponding to them.
| * | g3dvl: Copyright blocks.Younes Manton2009-10-012-0/+54
| | |
| * | g3dvl: Color space conv interface & vl impl.Younes Manton2009-10-011-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Interface is pipe_video_context::set_csc_matrix(). vl_csc.h defines some helpers to generate CSC matrices based on one of the color standard and a user defined ProcAmp (brightness, contrast, saturation, hue).
| * | util: Enable sockets on BSDRobert Noland2009-10-011-1/+1
| | | | | | | | | | | | | | | | | | | | | I think this should be safe for all of the BSDs. Signed-off-by: Robert Noland <rnoland@2hip.net> Signed-off-by: Brian Paul <brianp@vmware.com>
| * | gallium: remove depth.occlusion_count flagKeith Whitwell2009-10-013-5/+0
| | | | | | | | | | | | | | | | | | | | | This was redundant as drivers can just keep track of whether they are inside a begin/end query pair. We want to add more query types later and also support nested queries, none of which map well onto a flag like this. No driver appeared to be using the flag.
| * | llvmpipe: Workaround for bug in llvm 2.5.José Fonseca2009-09-291-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | The combination of fptosi and sitofp (necessary for trunc/floor/ceil/round implementation) somehow becomes invalid code. Skip the instruction combining pass when SSE4.1 is not available.
| * | llvmpipe: First verify LLVM IR, only then run optimizing passes.José Fonseca2009-09-291-5/+5
| | |
| * | llvmpipe: Runtime cpu checks for lp_build_min_simple too.José Fonseca2009-09-291-10/+9
| | |
| * | llvmpipe: Implement non SSE4.1 versions of floor and round.José Fonseca2009-09-293-35/+159
| | |
| * | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-291-0/+5
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile configs/default docs/relnotes.html src/gallium/drivers/softpipe/sp_context.c src/gallium/drivers/softpipe/sp_tile_cache.c src/mesa/main/version.h
| | * softpipe: initialize the clear_flags bitvector in sp_create_tile_cache()Brian Paul2009-09-291-0/+5
| | | | | | | | | | | | | | | This silences tons of valgrind warnings in programs that don't call glClear(), such as progs/demos/gamma.
| | * softpipe: Grab a ref when the fb is set.Brian Paul2009-09-292-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nasty bug when the surface is freed and another is allocated right on top of it. The next time we set the fb state SP thinks it's the same surface and doesn't flush, and when the flush eventually happens the surface belongs to a completely different texture. (cherry picked from commit a77226071f6814a53358a5d6caff685889d0e4ec) Conflicts: src/gallium/drivers/softpipe/sp_context.c
| * | llvmpipe: Emit SSE intrinsics based on runtime cpu capability check.José Fonseca2009-09-294-51/+37
| | | | | | | | | | | | | | | | | | | | | Note that llvmpipe still doesn't run on any processor yet: if you don't have a recent processor with SSE4.1 you will still likely end up hitting a code path for which a generic non-sse4 version is not implemented yet.
| * | i915: Fix MSVC build.Vinson Lee2009-09-291-1/+1
| | |
| * | llvmpipe: Grab a ref when the fb is set.Younes Manton2009-09-282-4/+9
| | | | | | | | | | | | Based on softpipe commit a77226071f6814a53358a5d6caff685889d0e4ec.
| * | softpipe: Fix MSVC build.José Fonseca2009-09-281-1/+2
| | |
| * | r300g: fix r300g cause GPU hang issue.Cooper Yuan2009-09-281-3/+2
| | | | | | | | | | | | | | | | | | | | | why there are two input position semantic tags is that ureg doesn't set vs input semantic due to commit: 6d8dbd3d1ec888 so use vs input index instead of semantic name.
| * | g3dvl: Formatting and cleanups.Younes Manton2009-09-273-179/+172
| | |
| * | g3dvl: pipe_video_context interface, softpipe impl, auxiliary libsYounes Manton2009-09-276-2/+379
| | |