summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_context.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-07 16:07:17 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-11-07 16:08:04 -0700
commit10c62bf0683437672c83339138a6802d56aeca8f (patch)
treecdf17f1ce6ed6d6c96132013752c8f365aa41e72 /src/mesa/pipe/p_context.h
parent03cfeb31af7834c2b2701ad25ec39f8375df6c96 (diff)
Remove context dependencies in winsys layer.
The winsys object is now per-screen and shared by multiple contexts. The regionPool is now part of the i915 winsys layer. The winsys wait_idle() and flush_frontbuffer() funcs will get more attention...
Diffstat (limited to 'src/mesa/pipe/p_context.h')
-rw-r--r--src/mesa/pipe/p_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_context.h b/src/mesa/pipe/p_context.h
index ddc7acc747..3962c0fa6d 100644
--- a/src/mesa/pipe/p_context.h
+++ b/src/mesa/pipe/p_context.h
@@ -43,6 +43,8 @@ struct pipe_state_cache;
struct pipe_context {
struct pipe_winsys *winsys;
+ void *private; /** context private data (for DRI for example) */
+
void (*destroy)( struct pipe_context * );
/*