summaryrefslogtreecommitdiff
path: root/exa/exa.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-09-18 02:32:23 +0000
committerEric Anholt <anholt@freebsd.org>2005-09-18 02:32:23 +0000
commita1bcf25a1f819768672ac837cb0a3d0c66937656 (patch)
treee5f7e4c46976a8e0f26c334e6ccd218be1bdf6b8 /exa/exa.h
parent074913c8a9c1f66c8752387db2c81ad669e91878 (diff)
Break EXA ABI while we still can. Add coordinates to the UploadToScreen
hook so we can upload a subset of a pixmap, and convert the current drivers to respect that. Use this support to directly UploadToScreen in exaGlyphs, providing a 47.4% +/-2.4% decrease in wall time for ls -lR programs/Xserver in an antialiased gnome-terminal on an M6 (n=3, caches hot). I would have bumped major version, only I can't tell what the EXA_VERSION_* is supposed to be doing as opposed to the module version.
Diffstat (limited to 'exa/exa.h')
-rw-r--r--exa/exa.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/exa/exa.h b/exa/exa.h
index 5e850a3cf..9e2edcafd 100644
--- a/exa/exa.h
+++ b/exa/exa.h
@@ -153,6 +153,10 @@ typedef struct _ExaAccelInfo {
* in-framebuffer pDst beginning at x,y and of width w,h. May fail.
*/
Bool (*UploadToScreen) (PixmapPtr pDst,
+ int x,
+ int y,
+ int w,
+ int h,
char *src,
int src_pitch);
Bool (*UploadToScratch) (PixmapPtr pSrc,