summaryrefslogtreecommitdiff
path: root/fb/fbpict.h
diff options
context:
space:
mode:
authorLars Knoll <lars@trolltech.com>2005-07-12 10:02:10 +0000
committerLars Knoll <lars@trolltech.com>2005-07-12 10:02:10 +0000
commit41002623f314444bd416fd5f445a0425c5b59df0 (patch)
tree525579ab1d0980cdece7df43115c7fae43c55abc /fb/fbpict.h
parent697cf74fb50a550b8f7e124dc8f463a55519795f (diff)
Add MMX Code paths for the basic composition operations in
fbComposeGeneral.
Diffstat (limited to 'fb/fbpict.h')
-rw-r--r--fb/fbpict.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/fb/fbpict.h b/fb/fbpict.h
index 59ab8a9b8..ab44bfa66 100644
--- a/fb/fbpict.h
+++ b/fb/fbpict.h
@@ -339,6 +339,15 @@ typedef struct _FbComposeData {
CARD16 height;
} FbComposeData;
+typedef FASTCALL void (*CombineMaskU) (CARD32 *src, const CARD32 *mask, int width);
+typedef FASTCALL void (*CombineFuncU) (CARD32 *dest, const CARD32 *src, int width);
+typedef FASTCALL void (*CombineFuncC) (CARD32 *dest, CARD32 *src, CARD32 *mask, int width);
+
+typedef struct _FbComposeFunctions {
+ CombineFuncU *combineU;
+ CombineFuncC *combineC;
+ CombineMaskU combineMaskU;
+} FbComposeFunctions;
/* fbcompose.c */