summaryrefslogtreecommitdiff
path: root/src/r600_exa.c
AgeCommit message (Collapse)Author
2009-11-25radeon: fix check for no work in operationDave Airlie
2009-11-25r600: refactor code to help future acceleration speedups.Dave Airlie
This changes the vertex buffer index to be an offset, and records the start of the vb for each operation and uses that to set the operations up. This still flushes after each operation to make sure we have no regressions in non-kms/kms cases. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-24r600: enable mixed pixmapsDave Airlie
2009-11-16r600: remove un-needed format conversionsAlex Deucher
we do the normalization and xforms in the vertex shader. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-05EXA: fallback if no pMaskPicture->pDrawableAlex Deucher
A solid or gradient mask could be used for blending the source picture onto the destination picture. Fixes fdo bug 24838 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-09r600 EXA: fix up mask reg mixupAlex Deucher
2009-10-09r600 EXA: fix some compile warningsAlex Deucher
2009-10-09r600 EXA: properly check planemaskAlex Deucher
We only support per-component masks.
2009-10-04R6/7xx EXA: Add support for BGRA picture formats.Alex Deucher
Also add mysteriously missing case statements for ABGR destination formats.
2009-09-25r600: space check wasn't correct.Dave Airlie
the r6xx space check code was incorrect for the DFS case, since the dst bo was in GTT but the hardcoded cp_start function assumed the bos were where it thought. Ripped out assumptions and replaced with code more like other radeons.
2009-09-10r600: add CS UTS and DFS hooksAlex Deucher
2009-09-08Merge branch 'r6xx-cs'Dave Airlie
2009-09-08r600: more alignment fixups + vb map/unmapDave Airlie
I'm not so sure the vb map/unmap is a good idea, I think it pretty much locksteps the cpu/gpu, so we should really work out if we really need to flush this often, since mesa doesn't have to and we are just doing 3D ops.
2009-09-03EXA: Check for solid/gradient pictures the same way for all generations.Michel Dänzer
In particular, also catch them for >= R300.
2009-08-31r6xx/r7xx: various CS fixes from DaveAlex Deucher
2009-08-28EXA: RENDER repeat fix and more cleanup.Michel Dänzer
Apparently changing pPict->repeatType causes badness, see http://bugs.freedesktop.org/show_bug.cgi?id=23560 . Now we just use a normalized repeatType value derived from pPict->repeat and pPict->repeatType everywhere.
2009-08-27EXA: RENDER repeat cleanups.Michel Dänzer
We can't rely on the server setting pPict->repeatType to something sensible when pPict->repeat is FALSE, but we can do it ourselves.
2009-08-26r6xx/r7xx: set EXA_HANDLES_PIXMAPSAlex Deucher
2009-08-26r6xx/r7xx: more WIPAlex Deucher
2009-08-25r6xx/r7xx: fix some define problems in Xv codeAlex Deucher
2009-08-25R6xx/r7xx: unmap vb bo when doneAlex Deucher
2009-08-25r6xx/r7xx: fix flipped domainsAlex Deucher
2009-08-25r6xx/r7xx: more cs exa wipAlex Deucher
2009-08-25r6xx/r7xx EXA: WIPAlex Deucher
2009-08-25r6xx/r7xx: first pass at kms accel supportAlex Deucher
Adapted from various patches from Dave and Jerome.
2009-08-25R6xx/r7xx: add begin/end batch macrosAlex Deucher
2009-08-25r6xx/r7xx: move more common state to default state setupAlex Deucher
2009-08-25RV740: disable small DFS transfersAlex Deucher
Seems problematic on all rv740 chips, so until we can find a solution, disable them.
2009-08-24r600: use exa fallback code for solid/copy codepaths.Dave Airlie
Solid seem to try and handle 1bpp which really no.
2009-08-24r600: fix bad unit in texture setupDave Airlie
2009-08-11radeon/r600: abstract vertex buffer for r600 & r700 hardwareJerome Glisse
Abstract vertex buffer, preliminary work before others change to bring cs support along IB support.
2009-08-04RS880: enable accelAlex Deucher
2009-07-23R6xx/R7xx: clip rendering to destination surface dimensionsAlex Deucher
2009-07-16R6xx/r7xx: reduce the amount of default state setupAlex Deucher
Most of the default state setup was extraneous or duplicated in the accel ops. There's no need to reset all the consts everytime you reset the default state for example. This leads to a 10x reduction in default state.
2009-07-08KMS CS fixes, take two.Michel Dänzer
Avoid flushing CS in the middle of (setting up state for) an operation, properly finish/restart the operation.
2009-07-06Revert "KMS CS fixes."Dave Airlie
This reverts commit 11cf8a28eb46f48d101888552266921bee8b63fc. I'll bring this back in a few minutes, I've got a big change introducing a new cs space accounting scheme which this messes up and I think probably conflicts with what I've done. I promise i'll go over this and pick the bits that are still useful :)
2009-07-05KMS CS fixes.Michel Dänzer
* Flush CS before running out of space. * Don't flush CS every time when switching between 2D and 3D engine, but make sure to re-initialize 2D/3D state after flushing. Doesn't seem quite perfect yet (some rendering seems to get dropped on the floor sometimes), but this should fix a lot of CS failures people have been seeing.
2009-05-13R6xx/R7xx: do EXA transforms in the vertex shaderAlex Deucher
2009-03-26R6xx/R7xx EXA: rework composite pixel shaderAlex Deucher
- move to vram storage - move swizzle logic to tex setup
2009-03-26R6xx/R7xx: clean up logic in EXA Comp PS setupAlex Deucher
2009-03-26R6xx/R7xx: clean up bool const codeAlex Deucher
3 regs: 1 bit per bool, 32 bools per ps/vs/gs
2009-03-19R6xx/R7xx EXA: fix maxPitchBytesAlex Deucher
should now allow accel up the hw max of 8192x8192
2009-03-18R6xx/R7xx AGP: disable gart data transfersAlex Deucher
UTS/DFS/Xv Doesn't seem to be reliable on AGP. fixes bugs: 20436, 20236, several reports on ML and IRC
2009-03-13R6xx/R7xx: EXA VSync Option not supported yetAlex Deucher
2009-03-13r600: reload shaders into VRAM on resumeDave Airlie
As VRAM gets zeroed out over s/r, we need to reload the shaders.
2009-03-02R6xx/r7xx: remove some unneeded code I missed in the last commitAlex Deucher
2009-03-02R6xx/R7xx EXA: cleanup composite texture setupAlex Deucher
2009-03-02R6xx/R7xx EXA: combine composite mask/non-mask VSAlex Deucher
Also fix set_bool_const() the CF bool consts are not contiguous by shader type There are 96 boolean constants (32 each for PS, VS, GS) and they are ordered as follows: ps, vs, gs ... ps, vs, gs
2009-03-02R6xx/R7xx Xv: combine packed and planar shadersAlex Deucher
use a bool const to select the tex fetch routine
2009-03-01R6xx/R7xx: move shaders to r600_shader.c and fixup Xv PSChristian Koenig
patches from Christian Koenig with some adjustments from me