summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xorg/xorg_exa.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_exa.h
parentd66de6c341a859a30ef010c527f9a0c5865b5d65 (diff)
exa: some infrastucture work for accelerating composite
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_exa.h')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_exa.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa.h b/src/gallium/state_trackers/xorg/xorg_exa.h
new file mode 100644
index 0000000000..650997aec6
--- /dev/null
+++ b/src/gallium/state_trackers/xorg/xorg_exa.h
@@ -0,0 +1,27 @@
+#ifndef XORG_EXA_H
+#define XORG_EXA_H
+
+#include "xorg_tracker.h"
+
+struct exa_context
+{
+ ExaDriverPtr pExa;
+ struct pipe_context *ctx;
+ struct pipe_screen *scrn;
+};
+
+
+struct exa_pixmap_priv
+{
+ int flags;
+ struct pipe_texture *tex;
+ unsigned int color;
+ struct pipe_surface *src_surf; /* for copies */
+
+ struct pipe_transfer *map_transfer;
+ unsigned map_count;
+};
+
+
+
+#endif