summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* r300-gallium: C++ compat fix.Corbin Simpson2009-03-051-4/+4
| | | | Oops. :3
* i965: add software fallback for conformant 3D textures and GL_CLAMPRobert Ellison2009-03-041-1/+1
| | | | | | | | | | | | | | | | | The i965 hardware cannot do GL_CLAMP behavior on textures; an earlier commit forced a software fallback if strict conformance was required (i.e. the INTEL_STRICT_CONFORMANCE environment variable was set) and 2D textures were used, but it was somewhat flawed - it could trigger the software fallback even if 2D textures weren't enabled, as long as one texture unit was enabled. This fixes that, and adds software fallback for GL_CLAMP behavior with 1D and 3D textures. It also adds support for a particular setting of the INTEL_STRICT_CONFORMANCE environment variable, which forces software fallbacks to be taken *all* the time. This is helpful with debugging. The value is: export INTEL_STRICT_CONFORMANCE=2
* r300-gallium: Add unaccelerated surface_copy.Corbin Simpson2009-03-041-0/+62
|
* nouveau: oops, forgot to keep the NV10_SIFM objectPatrice Mandin2009-03-041-0/+4
|
* nouveau: Use proper SIFM object on NV30Patrice Mandin2009-03-041-6/+10
|
* cell: update cell driver after gallium reference count changesBrian Paul2009-03-042-6/+3
|
* gallium: Remove some superfluous instances of #include "p_inlines.h".Michel Dänzer2009-03-0410-11/+0
|
* gallium: Unify reference counting.Michel Dänzer2009-03-0439-565/+295
| | | | | | | | | | | | | | The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
* r300-gallium, radeon-gallium: Continue migration to DRI2 state_tracker, part 2.Corbin Simpson2009-03-033-0/+30
| | | | Almost there. glxinfo still works, and AFAICT so does trivial/clear.
* r300-gallium, radeon-gallium: Begin migration to DRI2 state tracker, part 1.Corbin Simpson2009-03-035-14/+13
| | | | s/migration/migrane/ , actually. Anyway, this has working glxinfo...
* nouveau: Grab correct surface from temp texture for transfers.Younes Manton2009-03-025-5/+5
|
* r300-gallium: Clean up casts and indents.Corbin Simpson2009-03-012-12/+14
|
* r300-gallium: Split off invariant state.Corbin Simpson2009-03-014-14/+91
| | | | It's kind of like a CSO todo list. :3
* r300-gallium: Add RADEON_NO_TCL debugging option.Corbin Simpson2009-02-281-1/+1
| | | | Just like R300_NO_TCL, when set, forces HW TCL off.
* r300-gallium: Fix register count.Corbin Simpson2009-02-281-1/+1
|
* r300-gallium: Fix hardlocks on trivial/clear.Corbin Simpson2009-02-282-1/+23
| | | | I'm so happy I could cry.
* r300-gallium: Use rs_state emit for r300_surface, move a few things around.Corbin Simpson2009-02-282-19/+28
| | | | Also a possible fix for non-TCL chipsets and trivial/clear.
* r300-gallium: Move maths from r300_state to r300_state_inlines.Corbin Simpson2009-02-282-4/+6
|
* r300-gallium: Cleanup color formats.Corbin Simpson2009-02-282-15/+19
|
* r300-gallium: Be more Gallium-ish in some of the math.Corbin Simpson2009-02-281-25/+7
|
* r300-gallium: Move all state translators to r300_state_inlines.Corbin Simpson2009-02-282-288/+304
| | | | Tryin' to do some cleanup.
* r300-gallium: A handful of fixups.Corbin Simpson2009-02-282-7/+24
|
* r300-gallium: Fix C99 error.Corbin Simpson2009-02-281-1/+2
|
* r300-gallium: Fix RS.Corbin Simpson2009-02-282-5/+8
| | | | I should just stop using "git stash" altogether.
* r300-gallium: Properly split up RS into r300 and r500 variants.Corbin Simpson2009-02-273-28/+69
|
* r300-gallium: Turn true and false into TRUE and FALSE.Corbin Simpson2009-02-274-10/+10
| | | | Match the rest of Gallium.
* r300-gallium: Add RS block setup.Corbin Simpson2009-02-274-8/+97
| | | | This is still icky, and only compile-tested.
* r300-gallium: Add RS600 chipsets.Corbin Simpson2009-02-273-0/+9
|
* r300-gallium: A handful of tiny vfmt fixups.Corbin Simpson2009-02-272-13/+24
| | | | | Using a tab of inputs should work, but I keep getting bad results. If only Rawhide's GDB wasn't broken...
* softpipe: add dumping of post-tranfsormed vertices (disabled)Keith Whitwell2009-02-271-0/+33
|
* nouveau: nv04-nv40 texture transfer.Younes Manton2009-02-2535-452/+1242
|
* gallium: Add support for BSD operating systems, tested with FreeBSDBenjamin Close2009-02-251-2/+2
| | | | | | | | | | BSD supports pipe in the same way as linux hence options which are safe for linux are also safe for BSD. Define PIPE_OS_BSD in include/pipe/p_config.h and adjust the defines to make use of it. Also define MAP_ANONYMOUS for BSD systems which use MAP_ANON Signed-off-by: Benjamin Close <[email protected]>
* softpipe: minor code simplification for face/zslice offset calculationBrian Paul2009-02-241-7/+10
|
* cell: overhaul cell teximage codeBrian Paul2009-02-245-266/+119
| | | | | | Updated to use the new pipe_transfer functions, etc. Texturing is working again. Though there's some bugs in mipmap texturing but I believe those predate the pipe_transfer changes.
* cell: don't need tex transfer for drawing surfacesBrian Paul2009-02-241-30/+24
|
* i915: Enable winsys to get buffer from textureJakob Bornecrantz2009-02-252-0/+31
|
* i915: Fix some warningsJakob Bornecrantz2009-02-251-2/+0
|
* i915: Clean up i915_winsys.h a bitJakob Bornecrantz2009-02-253-14/+20
|
* softpipe: minor code movement in softpipe_get_tex_transfer()Brian Paul2009-02-241-4/+5
|
* r300-gallium: Fix pasto and debug messages.Corbin Simpson2009-02-231-1/+8
| | | | This could explain at least one kind of lockup. Yay?
* r300-gallium: Cleanup some state emit, move vertex format state to r300_emit.Corbin Simpson2009-02-233-23/+31
| | | | No need to explicitly update derived state, as it will be done automatically.
* r300-gallium: Fix a handful of compile warnings.Corbin Simpson2009-02-233-6/+13
| | | | Some harmless, some very dangerous.
* r300-gallium: Decode passthrough shader for r300.Corbin Simpson2009-02-232-6/+26
| | | | Looks pretty sane.
* r300-gallium: Finish VAP/VF setup.Corbin Simpson2009-02-233-25/+102
| | | | Messy, messy.
* r300-gallium: Fix BEGIN_CS size.Corbin Simpson2009-02-231-1/+1
|
* r300-gallium: Add pipe_format translators and apply themJoakim Sindholt2009-02-223-2/+86
|
* r300-gallium: Add all supported 2d texture formatsJoakim Sindholt2009-02-221-7/+26
|
* r300-gallium: correct buffer stride calculationJoakim Sindholt2009-02-221-6/+5
|
* nv50: delay uploads until transfer object is destroyedBen Skeggs2009-02-221-13/+13
| | | | | | | | It's possible a state tracker will map/unmap a transfer object many times. Delaying upload until the object is destroyed will prevent unnecessary uploads to the GPU. Also fixing a typo here, was unmapping the wrong buffer on transfer_unmap!
* gallium: use the TGSI_TEXTURE_SHADOW1D/2D/RECT texture types for TEX ↵Brian Paul2009-02-201-0/+11
| | | | | | | | instructions These texture types were defined but never put to use. For the time being though, the Mesa->TGSI translater isn't emitting these targets. See the XXX comment in map_texture_target().