diff options
author | Eric Anholt <anholt@freebsd.org> | 2004-01-08 08:16:24 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2004-01-08 08:16:24 +0000 |
commit | b27729ec88f5d4153a0debfe2347bbed022329ba (patch) | |
tree | 8594960e3f2f652000d9202ea6648f72a2452162 /hw/kdrive/src/kdrive.h | |
parent | d640cf4cb4e031a0e93dfd5955405847fe4475c0 (diff) |
- Add a new UploadToScratch kaa hook for putting the data for a single
pixmap into temporary offscreen storage. Subsequent UploadToScratch may
clobber the data of previous ones. This allows hardware acceleration of
composite operations on glyphs.
- Add a new UploadToScreen kaa hook for doing the actual moving of data to
framebuffer. This would allow us to do things like hostdata blits or
memcpy to agp and then blit.
- Add an UploadToScreen on ATI which is just memcpy, but which will be
replaced with a hostdata blit soon.
- Add UploadToScratch on ATI and reserve 64k of scratch space. This
provided a 3x speedup of rgb24text on my Radeon.
Diffstat (limited to 'hw/kdrive/src/kdrive.h')
-rw-r--r-- | hw/kdrive/src/kdrive.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/kdrive/src/kdrive.h b/hw/kdrive/src/kdrive.h index bee6393b7..bb9bc238d 100644 --- a/hw/kdrive/src/kdrive.h +++ b/hw/kdrive/src/kdrive.h @@ -363,6 +363,12 @@ typedef struct _KaaScreenInfo { int width, int height); void (*DoneComposite) (void); + + Bool (*UploadToScreen) (PixmapPtr pDst, + char *src, + int src_pitch); + Bool (*UploadToScratch) (PixmapPtr pSrc, + PixmapPtr pDst); } KaaScreenInfoRec, *KaaScreenInfoPtr; #define KAA_OFFSCREEN_PIXMAPS (1 << 0) |