aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/dri_drawable.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-03-08 19:25:32 +0800
committerChia-I Wu <[email protected]>2010-03-18 09:34:37 +0800
commit5ff21634f3074122ed8b8e4019c8092e31be0335 (patch)
tree361c5cc7f464d7c57f2ac4a60aee8e8fcbd3451a /src/gallium/state_trackers/dri/dri_drawable.h
parent903b90926c7aebb7f48f3c0fdbe90cd22dd5b662 (diff)
st/dri: Implement st_api.h callbacks.
This commit adds dri_st_api.c that implements st_api.h callbacks. A following commit will switch st/dri from st_public.h to st_api.h.
Diffstat (limited to 'src/gallium/state_trackers/dri/dri_drawable.h')
-rw-r--r--src/gallium/state_trackers/dri/dri_drawable.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri/dri_drawable.h b/src/gallium/state_trackers/dri/dri_drawable.h
index 48d24e959c0..ea66c483a1e 100644
--- a/src/gallium/state_trackers/dri/dri_drawable.h
+++ b/src/gallium/state_trackers/dri/dri_drawable.h
@@ -30,6 +30,7 @@
#include "pipe/p_compiler.h"
#include "pipe/p_format.h"
+#include "state_tracker/st_api.h"
struct pipe_surface;
struct pipe_fence_handle;
@@ -57,6 +58,11 @@ struct dri_drawable
/* gallium */
struct st_framebuffer *stfb;
+ struct st_visual stvis;
+
+ struct pipe_texture *textures[ST_ATTACHMENT_COUNT];
+ unsigned int texture_mask, texture_stamp;
+
struct pipe_fence_handle *swap_fences[DRI_SWAP_FENCES_MAX];
unsigned int head;
unsigned int tail;