diff options
author | Zack Rusin <zackr@vmware.com> | 2009-08-27 17:39:20 -0400 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2009-08-27 17:39:45 -0400 |
commit | f9a3fce09044fbfe9a9b973d33b31cfe826d1386 (patch) | |
tree | b09d0f3c3088c6e6011fe4999d52ac100c022117 /src/gallium/state_trackers/xorg/xorg_exa.h | |
parent | 3f15ea866fbd82d873943f80b09124a618692a7c (diff) |
st/xorg: bind framebuffer and viewport for exa
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_exa.h')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_exa.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa.h b/src/gallium/state_trackers/xorg/xorg_exa.h index 7f5c2bbeae..0a93fa0bd7 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa.h +++ b/src/gallium/state_trackers/xorg/xorg_exa.h @@ -3,6 +3,8 @@ #include "xorg_tracker.h" +#include <pipe/p_state.h> + struct cso_context; struct xorg_shaders; @@ -13,6 +15,9 @@ struct exa_context struct pipe_screen *scrn; struct cso_context *cso; struct xorg_shaders *shaders; + + struct pipe_constant_buffer vs_const_buffer; + struct pipe_constant_buffer fs_const_buffer; }; @@ -29,6 +34,8 @@ struct exa_pixmap_priv unsigned map_count; }; +struct pipe_surface * +exa_gpu_surface(struct exa_context *exa, struct exa_pixmap_priv *priv); #endif |