summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xorg/xorg_exa.h
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2009-08-24 18:38:46 -0400
committerZack Rusin <zackr@vmware.com>2009-08-24 18:39:01 -0400
commit17076d700c94402f82c22b2e1d99a1753e4a0834 (patch)
treeebc98a12ad8f6b6a5a1e65c71200c51416f79e6f /src/gallium/state_trackers/xorg/xorg_exa.h
parent3023328ea721d2b87112e37e119345a9662d7e5e (diff)
xorg: start on code accelerating render
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_exa.h')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_exa.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa.h b/src/gallium/state_trackers/xorg/xorg_exa.h
index f0508eb2d5..0189eabaa4 100644
--- a/src/gallium/state_trackers/xorg/xorg_exa.h
+++ b/src/gallium/state_trackers/xorg/xorg_exa.h
@@ -3,25 +3,28 @@
#include "xorg_tracker.h"
+struct cso_context;
+
struct exa_context
{
- ExaDriverPtr pExa;
- struct pipe_context *ctx;
- struct pipe_screen *scrn;
+ ExaDriverPtr pExa;
+ struct pipe_context *ctx;
+ struct pipe_screen *scrn;
+ struct cso_context *cso;
};
struct exa_pixmap_priv
{
- int flags;
- int tex_flags;
+ int flags;
+ int tex_flags;
- struct pipe_texture *tex;
- unsigned int color;
- struct pipe_surface *src_surf; /* for copies */
+ struct pipe_texture *tex;
+ unsigned int color;
+ struct pipe_surface *src_surf; /* for copies */
- struct pipe_transfer *map_transfer;
- unsigned map_count;
+ struct pipe_transfer *map_transfer;
+ unsigned map_count;
};