diff options
author | Zack Rusin <zackr@vmware.com> | 2009-09-01 14:43:04 -0400 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2009-09-01 14:44:55 -0400 |
commit | 91c366359ce0bf5f450fd1d774b771c95ed2f651 (patch) | |
tree | bfc4f91c737e3be816e31d8e63e7776296dd99b1 /src/gallium/state_trackers/xorg/xorg_exa.h | |
parent | 847bc5c852214a344b6b39c619d182cb1058ecbc (diff) |
st/xorg: start rendering and compositing pictures
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_exa.h')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_exa.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa.h b/src/gallium/state_trackers/xorg/xorg_exa.h index 90ad8400ff..d4ffe5ce2e 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa.h +++ b/src/gallium/state_trackers/xorg/xorg_exa.h @@ -8,6 +8,9 @@ struct cso_context; struct xorg_shaders; +/* src + mask + dst */ +#define MAX_EXA_SAMPLERS 3 + struct exa_context { ExaDriverPtr pExa; @@ -19,7 +22,10 @@ struct exa_context struct pipe_constant_buffer vs_const_buffer; struct pipe_constant_buffer fs_const_buffer; - float vertices[4][2][4]; + struct pipe_texture *bound_textures[MAX_EXA_SAMPLERS]; + int num_bound_samplers; + + float solid_color[4]; }; |