summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* trace: Defer the cast to after the check for enabled trace.José Fonseca2009-03-251-2/+5
| | | | Prevents segfault when trace is disabled.
* softpipe: Include declarations.José Fonseca2009-03-251-0/+1
|
* trace: Update readme.José Fonseca2009-03-251-3/+3
| | | | | Actually, the trace driver with the xlib statetracker is still causing assertion failures here..
* trace: Number calls.José Fonseca2009-03-252-1/+12
|
* Add #ifdefs needed to compile Gallium on Solaris with gcc or Sun ccAlan Coopersmith2009-03-251-2/+2
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* r300-gallium: r300-fs: Moar.Corbin Simpson2009-03-255-22/+35
|
* r300-gallium: Unify shader interfaces, enable r300 shader, start unbreaking.Corbin Simpson2009-03-254-31/+84
| | | | progs/trivial/clear no longer is horrifically wrong, just kind of wrong.
* r300-gallium: r500-fs: Remove unused variable.Corbin Simpson2009-03-251-1/+0
|
* nv50: fix typo in nv50_query.cBen Skeggs2009-03-251-1/+1
|
* nouveau: fix some pipe_buffer reference counting issuesBen Skeggs2009-03-251-1/+5
|
* i965: fix point rasterization when rendering to FBORobert Ellison2009-03-241-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | The FBO pixel coordinate system, with (0,0) as the upper-left pixel, is inverted in Y compared to the normal OpenGL pixel coordinate system, which has (0,0) as its lower-left pixel. Viewport and polygon stipple are sensitive to this inversion; so is point rasterization. The basic fix is simple: when rendering to an FBO, instead of the normal RASTRULE_UPPER_RIGHT that's appropriate for OpenGL windows, use the Y inversion RASTRULE_LOWER_RIGHT. Unfortunately, current Intel documentation has this value listed as "Reserved, but not seen as useful". It does work on at least some i965-class devices, though; and the worst that could happen if an older device didn't support it would be incorrect point rasterization to FBOs, which is what happens already, so this fix is at least no worse than what happens presently, and is better for some (and possibly all) i965-class devices.
* gallium: Remove remnants of reference counting internals outside of p_refcnt.h.Michel Dänzer2009-03-231-1/+0
|
* trace: Fix args to buffer writeJakob Bornecrantz2009-03-221-1/+1
|
* softpipe: reformatting, comments, minor clean-upsBrian Paul2009-03-224-30/+47
|
* gallium: remove remaining references to origin_lower_leftKeith Whitwell2009-03-211-1/+0
|
* gallium: remove use of origin_lower_leftBrian Paul2009-03-202-25/+6
| | | | | | | | | | | | | | This was used to indicate OpenGL's lower-left origin for fragment window coordinates for polygon stipple and gl_FragCoord. Now: - fragment coordinate origin is always upper-left corner - GL polygon stipple is inverted and shifted before given to gallium - GL fragment programs that use INPUT[WPOS] are modified to use an inverted window coord which is placed in a temp register. Note: the origin_lower_left field still exists in pipe_rasterizer_state. Remove it when all the drivers, etc. no longer reference it.
* r300-gallium: Misspelled macro name.Corbin Simpson2009-03-201-1/+1
| | | | *pulls paper bag down over head*
* r300-gallium: Put r300_cs_inlines to bed.Corbin Simpson2009-03-202-60/+16
| | | | Guess it was a mistake in the first place. Oops.
* r300-gallium: Simplify/neaten up packet3.Corbin Simpson2009-03-204-9/+15
| | | | Deck chairs on the Hindenburg. :3
* r300-gallium: Clean up surface_fill, prep for surface_copy code.Corbin Simpson2009-03-201-67/+54
|
* r300-gallium: Properly offset scissors.Corbin Simpson2009-03-202-8/+26
| | | | As per r300_reg, classic Mesa, and xf86-video-ati.
* r300-gallium: Clean up r300_swtcl_emit.Corbin Simpson2009-03-201-23/+4
| | | | Some compile warnings, some statements without effect.
* r300-gallium: Clean up some emit, and some state handlers.Corbin Simpson2009-03-203-20/+32
|
* r300-gallium: A bit more invariant state.Corbin Simpson2009-03-202-20/+31
|
* trace: Formalize on a standard for data size pairJakob Bornecrantz2009-03-191-10/+11
|
* r300-gallium: Emit viewport state.Corbin Simpson2009-03-184-9/+51
| | | | | Note that this will break you, hard, if you're not using RADEON_NO_TCL. I really need to start vertex shaders soon.
* r300-gallium: Viewport state storage.Corbin Simpson2009-03-182-1/+15
|
* r300-gallium: Fixup registers for viewport state.Corbin Simpson2009-03-181-11/+19
|
* softpipe: more texture transfer fixes.Brian Paul2009-03-181-4/+8
| | | | | Need to null-out pointers after freeing transfer objects. Fix mix-ups between tc->transfer and tc->tex_trans fields.
* softpipe: need to set tc->transfer=NULL after destroying the transfer objectBrian Paul2009-03-181-0/+1
| | | | | This fixes a number of crashes/regressions in programs such as lodbias.c, mipmap_limits.c, etc.
* nouveau: rewrite winsys in terms of drm_api, support dri2 state trackerBen Skeggs2009-03-181-1/+1
| | | | | | | | | | drm_api is a set of hooks used by the dri2 state tracker, this wraps our dri1 code around the same set of hooks. Currently the dri2 build will produce nouveau_dri2.so which you'll need to install as nouveau_dri.so if you wish to try it. The dri2 state tracker doesn't make it easy for a driver to support both paths in the same binary.
* r300-gallium: Move all unsorted state into invariant state.Corbin Simpson2009-03-172-123/+124
| | | | Gotta just slowly whittle this down.
* r300-gallium: Emit invariant state, no matter what.Corbin Simpson2009-03-173-2/+2
| | | | It's called "invariant" for a reason. :3
* r300-gallium: Quick little cleanup of surface_fill state.Corbin Simpson2009-03-171-12/+11
|
* r300-gallium: Debugging for the more sensitive card registers.Corbin Simpson2009-03-171-4/+12
| | | | These are nearly always the cause of hardlocks, so let's dump them.
* r300-gallium: r500-fs: Fixup immediate->constant counting a bit.Corbin Simpson2009-03-171-2/+4
|
* r300-gallium: More query stuff.Corbin Simpson2009-03-172-6/+46
| | | | Should work, but doesn't. At least it doesn't hardlock.
* r300-gallium: r500-fs: Properly set up TEX/OUT.Corbin Simpson2009-03-171-4/+14
|
* r300-gallium: r500-fs: Texture insts, ABS, moar comments.Corbin Simpson2009-03-171-28/+66
|
* r300-gallium: Clean up some code, un-special-case scalar ops.Corbin Simpson2009-03-171-42/+31
|
* r300-gallium: r500-fs: CMP/MOV/SWZ, negation, ADD/MAD/MUL/SUB.Corbin Simpson2009-03-172-37/+44
| | | | Also a fair amount of cleanup.
* r300-gallium: Fix relocation for textures.Corbin Simpson2009-03-171-2/+2
| | | | This keeps texture emit from invalidating CS.
* trace: Fix memory leakJakob Bornecrantz2009-03-161-1/+2
|
* trace: Re-init refcounters just incaseJakob Bornecrantz2009-03-162-0/+5
|
* trace: Dump buffer data via buffer writesJakob Bornecrantz2009-03-162-64/+37
|
* r300-gallium: r500-fs: Add ABS.Corbin Simpson2009-03-161-0/+13
|
* r300-gallium: r500-fs: Clamp only when saturation flags are set.Corbin Simpson2009-03-161-3/+7
|
* r300-gallium: r500-fs: Working ADD and MUL, add more sop stuff.Corbin Simpson2009-03-161-1/+23
|
* r300-gallium: Cleanup a few things.Corbin Simpson2009-03-161-7/+10
|
* r300-gallium: r500-fs: MUL.Corbin Simpson2009-03-162-0/+30
|