diff options
author | Eric Anholt <anholt@freebsd.org> | 2004-06-20 07:26:08 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2004-06-20 07:26:08 +0000 |
commit | 8c1b37420ea890f76edb97aed61ee427a871cd3f (patch) | |
tree | 91ee9ae38e7fa59acc14d595e4a474ed8393e005 /src/radeon.h | |
parent | 6ecf374d500afe6da494dfdd6566396ec65b6d6a (diff) |
Bug #748:
- Add Render acceleration for Radeon 100 and 200-series cards, enabled by
default. Notable performance gains include 27fps in cairogears instead
of 6fps (compared to 50 with glitz), and my disks are now the
bottleneck in an ls -lR in gnome-terminal. Only supported in DRI mode
because the MMIO submission hangs the card so far, but the code is left
in because it may be supportable soon.
- Add xorg.conf options to disable Render acceleration and to force the
subpixel order in the server (Hui Yu).
Many thanks to Hui Yu at ATI for the code this was based off of, Michel
Daenzer for bugfixes and suggestions, and LinuxFund for sponsoring the
work.
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h index 612552f..16890ee 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -546,6 +546,12 @@ typedef struct { FBLinearPtr videoLinear; int videoKey; + /* Render */ + Bool RenderAccel; + FBLinearPtr RenderTex; + void (*RenderCallback)(ScrnInfoPtr); + Time RenderTimeout; + /* general */ Bool showCache; OptionInfoPtr Options; @@ -612,6 +618,7 @@ extern void RADEONSelectBuffer(ScrnInfoPtr pScrn, int buffer); extern Bool RADEONAccelInit(ScreenPtr pScreen); extern void RADEONAccelInitMMIO(ScreenPtr pScreen, XAAInfoRecPtr a); +extern void RADEONInit3DEngineForRender(ScrnInfoPtr pScrn); extern void RADEONEngineInit(ScrnInfoPtr pScrn); extern Bool RADEONCursorInit(ScreenPtr pScreen); extern Bool RADEONDGAInit(ScreenPtr pScreen); |