summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xorg/xorg_composite.h
diff options
context:
space:
mode:
authorZack Rusin <zack@kde.org>2009-06-08 00:07:04 -0400
committerZack Rusin <zack@kde.org>2009-07-06 17:21:36 -0400
commit21cce6afb03bf9b9adfc6d8a1a446bb3ef22c7a8 (patch)
treed31d186d5d0ee1227ce5d32a7402ac10425a39a3 /src/gallium/state_trackers/xorg/xorg_composite.h
parentd66de6c341a859a30ef010c527f9a0c5865b5d65 (diff)
exa: some infrastucture work for accelerating composite
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_composite.h')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_composite.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_composite.h b/src/gallium/state_trackers/xorg/xorg_composite.h
new file mode 100644
index 0000000000..a52e0e6dff
--- /dev/null
+++ b/src/gallium/state_trackers/xorg/xorg_composite.h
@@ -0,0 +1,22 @@
+#ifndef XORG_COMPOSITE_H
+#define XORG_COMPOSITE_H
+
+#include "xorg_exa.h"
+
+boolean xorg_composite_accelerated(int op,
+ PicturePtr pSrcPicture,
+ PicturePtr pMaskPicture,
+ PicturePtr pDstPicture);
+
+boolean xorg_composite_bind_state(struct exa_context *exa,
+ int op,
+ PicturePtr pSrcPicture,
+ PicturePtr pMaskPicture,
+ PicturePtr pDstPicture);
+
+void xorg_composite(struct exa_context *exa,
+ struct exa_pixmap_priv *dst,
+ int srcX, int srcY, int maskX, int maskY,
+ int dstX, int dstY, int width, int height);
+
+#endif