summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* softpipe: Map GS constants, too.Michal Krol2010-03-291-3/+2
|
* r300g: print configurable debugging info on non-debug buildsMarek Olšák2010-03-292-2/+4
|
* gallium: new raw gallium interface to support standalone testsKeith Whitwell2010-03-284-0/+124
| | | | | | | | Provides basic window system integration behind a simple interface, allowing tests to be written without dependency on either the driver or window system. With a lot of work, could turn into something like glut for gallium.
* r300g: handle TGSI_OPCODE_RET as ENDMarek Olšák2010-03-281-4/+10
|
* r300g: disable cliprectsMarek Olšák2010-03-271-1/+1
| | | | Thanks to Nicolai Hähnle for explaining this register!
* r300g: print errors even on non-debug buildsMarek Olšák2010-03-2710-45/+53
| | | | We really need to get these into bug reports.
* identity: Add id_drm.c to SCons build.Vinson Lee2010-03-271-1/+2
| | | | This was missed in commit f7cbaae13d67c55abe81ac230de37f564365099f.
* r300g: fix macrotiling for non-square texturesMathias Fröhlich2010-03-271-1/+2
| | | | | | FDO bug #27338. Signed-off-by: Marek Olšák <[email protected]>
* r300g: Make SWTCL clear work again.Corbin Simpson2010-03-272-128/+132
| | | | Kind of surprised that this was as little as it took. Worrying.
* r300g: Remove unnecessary header.Vinson Lee2010-03-261-1/+0
|
* gallium/llvmpipe: add PROGS target/rule to Makefile.templateChris Li2010-03-261-8/+6
| | | | | | | | So other directory can share it. Also remove the libllvmpipe.a dependency from test programs. It is not needed any more. Signed-Off-By: Christopher Li <[email protected]>
* Revert "r300g: add generating texture coordinates for point sprites (WIP)"Corbin Simpson2010-03-266-61/+13
| | | | | | | | This reverts commit cba6430524198a1bdcdeada03cbe946a454f3935. Breaks celestia with a hardlock. :T We really need to sit down and study texture stuffing further.
* nv50: fix FACE semantic check in FP input slot assignmentsChristoph Bumiller2010-03-261-1/+1
| | | | Fixes for instance noise with material shaders in FlightGear.
* identity: Remove unnecessary header.Vinson Lee2010-03-251-1/+0
|
* draw: Add EMIT_4UB_BGRA formatJakob Bornecrantz2010-03-263-2/+15
| | | | Needed for i915g, also fixed swizzle in draw_vs_aos_io.
* i915g: Rename winsys prefix to i915_ from intel_Jakob Bornecrantz2010-03-2615-136/+139
| | | | Since the winsys isn't shared with i965 and never will be
* Revert "llvmpipe: optimize the lp_setup_fence() function"Brian Paul2010-03-251-20/+6
| | | | | | | | This reverts commit a9063cad0f0190ff88cd20fbad5aa87bf1a943f6. Not too surprisingly, this change caused some regressions. Revert it for the time being. See fd.o bug 27320.
* llvmpipe: disable an assertionBrian Paul2010-03-251-1/+1
| | | | | | We shouldn't try to clear a non-existant z/stencil buffer, so there's probably a bug elsewhere. Disable the assertion for now to allow things to at least run.
* r300g/radeong: fix scons buildJoakim Sindholt2010-03-251-0/+1
|
* r300g: Remove unnecessary header.Vinson Lee2010-03-251-1/+0
|
* llvmpipe: fix up some questionable fence codeBrian Paul2010-03-241-2/+1
| | | | Jose should probably review this since he wrote the original code.
* llvmpipe: optimize the lp_setup_fence() functionBrian Paul2010-03-241-6/+20
| | | | | Avoid emitting fences when not needed. Speeds up glReadPixels quite a bit when reading image row by row.
* llvmpipe: call lp_fence_signal()Brian Paul2010-03-241-12/+1
|
* llvmpipe: added lp_fence_signal()Brian Paul2010-03-242-0/+20
|
* i915g: Correct and add supperted texture formatsJakob Bornecrantz2010-03-252-1/+13
|
* llvmpipe: fix texture reference counting bugBrian Paul2010-03-242-6/+22
| | | | | | | | | | We weren't saving the per-scene texture references at the right point. Fixes piglit cubemap segfault. The segfault resulted from referencing texture memory which was prematurely freed because of a missed reference count. Fixes fd.o bug 27276.
* nvfx: add NOUVEAU_VTXIDX_IN_VRAM variable to put vertex/index buffers in VRAMLuca Barbieri2010-03-233-1/+33
| | | | | | | | | | | | On some systems, putting vertex and index buffers in VRAM instead of GART memory eliminates massive graphics corruption which is otherwise present, due to unclear causes. This patch adds an environment variable that does that, along with helpful messages. It turns it on by default on G7x, as it is what I am seeing corruption on and some other reports also seemed to pinpoint these cards.
* nvfx: delay allocation of buffers in GART/VRAM to validation timeLuca Barbieri2010-03-232-5/+3
| | | | | | | | | | | | | | | | | | | | | | | Currently we allocate buffers in GART or VRAM at creation time. However, when using swtnl, this results in reads from uncached memory, which drastically impair performance. So, for now, cause nouveau_screen.c to not pass any placement flags to buffer creation, so that the buffers are moved later. Previously libdrm itself did this, but was changed to not to do it. This may introduce an extra copy in normal usage, but this currently does not seem to introduce significant performance degradation. This will be revisited when pipebuffer is integrated. Note that for AGP systems, properly solving this may be complex since currently there is no fast way of reading from GART/VRAM. We will probably need to try mapping AGP as writethrough and, in addition, make buffer creation more aware of future buffer usage.
* Merge branch '7.8'Brian Paul2010-03-232-187/+219
|\ | | | | | | | | | | | | | | | | | | Conflicts: Makefile src/gallium/state_trackers/glx/xlib/xm_api.c src/mesa/drivers/dri/intel/intel_blit.c src/mesa/drivers/dri/intel/intel_pixel_copy.c src/mesa/main/version.h
| * softpipe: comments, re-formatting, etcBrian Paul2010-03-231-14/+24
| |
| * softpipe: add special cases for all Z compare modes for 16-bit Z bufferBrian Paul2010-03-232-173/+195
| | | | | | | | | | | | | | | | We had fast paths for PIPE_FUNC_LESS and LEQUAL before. To satisfy OpenGL invariance rules, all depth compare modes should produce the same fragment Z values. Fixes progs/demos/singlebuffer.c
* | nvfx: don't crash on empty fragment programLuca Barbieri2010-03-231-1/+2
| |
* | nvfx: fix coding style in nvfx_transfer.cLuca Barbieri2010-03-231-8/+8
| |
* | nvfx: stop incessantly spewing debug messages on the terminalLuca Barbieri2010-03-232-3/+8
| | | | | | | | | | | | | | | | | | | | | | Currently we are continuously spewing messages about these variables since we call debug_get_bool_option everytime we want to check their value. This is annoying, slows things down due to terminal rerendering and obscures useful messages. This patch only calls debug_get_bool_option once and caches the result in a static variable.
* | nvfx: fix/workaround nv3x hwtnl issuesLuca Barbieri2010-03-231-5/+6
| | | | | | | | | | | | | | | | | | | | | | This patch re-emits the viewport state on framebuffer or rasterizer change. This seems to be necessary on nv3x, but the reason is not fully understood. It is quite likely that this isn't really the correct fix, but seems to work, and makes nv3x much better.
* | r300g: fix glean occlusion query testDave Airlie2010-03-231-0/+2
| |
* | r300g: Cleanup a few old warnings.Corbin Simpson2010-03-221-24/+9
| | | | | | | | | | Those paths aren't important anymore, and a debugging warning won't stop a hardlock anyway.
* | nvfx: fix sampler views supportLuca Barbieri2010-03-223-3/+2
| | | | | | | | The code was half converted, resulting in texturing being totally broken.
* | Merge branch '7.8'Brian Paul2010-03-221-9/+12
|\| | | | | | | | | | | | | Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/mesa/state_tracker/st_cb_drawpixels.c
| * r300g: remove hacks from translate_vertex_data_swizzleMarek Olšák2010-03-191-20/+4
| | | | | | | | Fixing RGBA 4ub vertex colors.
| * cell: return 1 for PIPE_CAP_BLEND_EQUATION_SEPARATEBrian Paul2010-03-171-0/+2
| | | | | | | | | | With this feature, we get OpenGL version 2.0 and the progs/glsl/ demos run as-is.
| * cell: be more conservative in cell_is_format_supported()Brian Paul2010-03-171-5/+9
| | | | | | | | | | This fixes a regression from commit a84575cdc0c8193b2c7858734e2ec6b1ec4511b2 which changed the depth/stencil format we were trying to use.
* | r300g: disable tiling for YUV formatsMarek Olšák2010-03-211-3/+15
| |
* | r300g: fix scons buildMarek Olšák2010-03-215-11/+6
| |
* | r300g: accelerate blitting for all 64-bit texture formatsMarek Olšák2010-03-211-0/+3
| |
* | r300g: add and enable square microtilingMarek Olšák2010-03-212-5/+7
| | | | | | | | | | | | It requires DRM 2.1.0 (e.g. kernel 2.6.34) and is disabled on older ones. Finally, the texture tiling implementation is now complete. Uff.
* | r300g: cleanup tiling flags propagationMarek Olšák2010-03-213-12/+12
| |
* | r300g: put common defines into one fileMarek Olšák2010-03-215-22/+52
| |
* | r300g: remove unused codeMarek Olšák2010-03-213-5/+1
| |
* | nv50: report driver as GLSL capableChristoph Bumiller2010-03-211-1/+1
| | | | | | | | | | | | There's still no hint of optimization in the shaders, but we support conditionals, loops and even integer opcodes so it isn't that big a lie.