From 21cce6afb03bf9b9adfc6d8a1a446bb3ef22c7a8 Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Mon, 8 Jun 2009 00:07:04 -0400 Subject: exa: some infrastucture work for accelerating composite --- src/gallium/state_trackers/xorg/xorg_exa.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/gallium/state_trackers/xorg/xorg_exa.h (limited to 'src/gallium/state_trackers/xorg/xorg_exa.h') 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 -- cgit v1.2.3