summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-03-16 15:12:46 +0800
committerChia-I Wu <[email protected]>2010-03-16 15:12:46 +0800
commit9d3a873f425fde83628b547c4b4638f39d78c1b9 (patch)
tree890dce800787f2a896554c96064eb51f0138950b /src/mesa/state_tracker/st_context.h
parent95d43bccde9ba5c0727bb2b9e52d050dacfa0cfa (diff)
parenta66d0081044bfcbfbe72ecbc27692387e4716e5c (diff)
Merge remote branch 'origin/gallium-st-api'
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index e2d34fb3d10..2d81c4ca631 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -31,6 +31,7 @@
#include "main/mtypes.h"
#include "shader/prog_cache.h"
#include "pipe/p_state.h"
+#include "state_tracker/st_api.h"
struct st_context;
@@ -73,6 +74,8 @@ struct st_tracked_state {
struct st_context
{
+ struct st_context_iface iface;
+
GLcontext *ctx;
struct pipe_context *pipe;
@@ -206,6 +209,11 @@ struct st_framebuffer
GLframebuffer Base;
void *Private;
GLuint InitWidth, InitHeight;
+
+ struct st_framebuffer_iface *iface;
+ enum st_attachment_type statts[ST_ATTACHMENT_COUNT];
+ unsigned num_statts;
+ int32_t revalidate;
};