summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2009-10-20cell: fix compilation on cellMarc Dietrich
s/LERP/LRP/
2009-10-10softpipe: revert 564df9dc5f6335eb8dc68f3c69cf054d2142663cBrian Paul
This change silenced valgrind warnings but broke progs/tests/drawbuffers. The problem is we don't know the surface's state when we start caching it (it may or may not be initialized/cleared/etc). So "clearing" it here was presumptuous. Leaving the code in place (but disabled) for reference and when using valgrind. Fixes bug 24401
2009-10-02gallium: replace // comments with /* */Brian Paul
2009-09-29softpipe: initialize the clear_flags bitvector in sp_create_tile_cache()Brian Paul
This silences tons of valgrind warnings in programs that don't call glClear(), such as progs/demos/gamma.
2009-09-29softpipe: Grab a ref when the fb is set.Brian Paul
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
2009-09-24Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-24softpipe: Increase GL_MAX_3D_TEXTURE_SIZE to 256.Vinson Lee
2009-09-23softpipe: added max texture/surface size sanity checkBrian Paul
2009-09-23softpipe: increase MAX_WIDTH/HEIGTH 4096 to match max texture sizeBrian Paul
2009-09-21Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-21softpipe: Fix cube face selection.Brian Paul
If arx and ary are equal, we still want to choose from one of them, and not arz. (cherry picked from commit de685b37a91bc95dd4093a44a49b7b47385b1f7c)
2009-09-11llvmpipe: asst fixes for 'make linux-llvmpipe'Brian Paul
2009-09-10Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-10softpipe: minor indentation fixBrian Paul
2009-09-10softpipe: set dirty_render_cache in softpipe_clear()Brian Paul
This fixes a bug seen when doing a glDrawPixels(GL_STENCIL_INDEX) right after a glClear(). The check-for-flush test was failing because we didn't set the dirty_render_cache flag in softpipe_clear(). So we saw stale data when we mapped the stencil buffer.
2009-09-04i915g: Fix warnings in scons build by using byte pointersJakob Bornecrantz
scons build complained about void pointer math
2009-09-03i915g: Don't send flush flags to HWJakob Bornecrantz
2009-09-03nv50: move centroid, flat bits when making interp longChristoph Bumiller
Before this, just the perspective divide bit was moved in convert_to_long of the load interpolant instruction.
2009-09-03nv50: fix vbo_static_attrib method size errorChristoph Bumiller
The VTX_ATTR_3/2/1F methods also had size 4 ... a stupid copy/paste error.
2009-09-03nv50: fix draw_elements_inline_u08/16Christoph Bumiller
We've been emitting the same two indices over and over without incrementing map.
2009-09-03r300g: specify point/line/triangle have stuffed texture coordCooper Yuan
2009-09-02nv50: SWZ is the same as MOV from our perspectiveBen Skeggs
2009-09-01tgsi: remove redundant CND0 opcodeKeith Whitwell
Can be implemented with CMP src2, src1, src0
2009-09-01scons: Tool for LLVM. Gracefully disable llvmpipe if LLVM not found.José Fonseca
2009-09-01trace: Don't set surface_[fill|copy] if not set on pipeJakob Bornecrantz
2009-09-01r300g: Fix clear issue on r300Cooper Yuan
2009-09-01i915g: Switch from pipe_winsys to intel_winsysJakob Bornecrantz
Also includes moving lots of functions from i915_batch.h into intel_batchbuffer.h
2009-09-01i915g: Add header file for new winsys interfaceJakob Bornecrantz
2009-09-01i915g: Add new buffer code not yet hocked upJakob Bornecrantz
2009-08-31i915g: Reorg texture layout codeJakob Bornecrantz
2009-08-31i915g: Move transfer functions into i915_texture.cJakob Bornecrantz
2009-08-31i915g: Reorg texture code a bitJakob Bornecrantz
2009-08-31i915g: Don't use winsys directly in the driverJakob Bornecrantz
2009-08-31i915g: Cleanup i915_prim_vbuf.cJakob Bornecrantz
2009-08-31i915g: Cleanup i915_screen.[c|h]Jakob Bornecrantz
2009-08-31i915g: Cleanup i915_context.cJakob Bornecrantz
2009-08-31i915g: Cleanup i915_blit.[c|h]Jakob Bornecrantz
2009-08-31i915g: Cleanup i915_state_emit.cJakob Bornecrantz
2009-08-31i915g: Cleanup i915_texture.cJakob Bornecrantz
2009-08-31i915g: Cleanup texture init functions a bitJakob Bornecrantz
2009-08-31i915g: Rename pipe field on context to baseJakob Bornecrantz
2009-08-31i915g: Rename screen field on screen to baseJakob Bornecrantz
2009-08-31llvmpipe: Fallback to element-wise comparisons when no comparison intrinsic ↵José Fonseca
is available. Although selection of vector elements is valid LLVM IR, no machine target supports it yet. This is a last-resort option, but it allows llvmpipe to be used on any target supported by LLVM without modifications. Obviously better performance is attainable by emitting SIMD intrinsics where otherwise LLVM doesn't.
2009-08-31llvmpipe: In the abcense of a min/max intrinsic, use the comparison intrinsics.José Fonseca
2009-08-31llvmpipe: Actually commit lp_buffer.[ch].José Fonseca
Thanks Michel.
2009-08-31nouveau: introduce nouveau_miptree common to all nouveau pipe driversBen Skeggs
The winsys once again has to know about textures it seems, so we need a common representation between all our pipe drivers to store some information the winsys will need. Only the nv50 driver has been fixed so far.
2009-08-30cell: fix compilationMarc Dietrich
2009-08-30llvmpipe: Texture cache in 4 ubytes instead of 4 floats.José Fonseca
This is more a short term experiment than a long term commitment, as we'll need to support higher precision textures too, as this will all be be replaced by runtime generated code. With this change most Mesa demos fps increased around 10%. Not a huge improvement, but not a negligible one either.
2009-08-30llvmpipe: Use util_format_read_4f to read texture tiles.José Fonseca
2009-08-30llvmpipe: Texture cache is read-only. No need to flush.José Fonseca