summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_context.h
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-03-12 02:39:13 +1100
committerBen Skeggs <[email protected]>2008-03-12 02:39:13 +1100
commitb2e48f848496d5e315e536688c8c33dfb1fab7eb (patch)
treebf9425f123fdfc58e2a605676067432971e28a9a /src/gallium/drivers/nv50/nv50_context.h
parent1fb3c94f03e07a80bb7a93777d4fef5173da71ca (diff)
nv50: convert to hwctx-in-screen as nv40 is
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_context.h')
-rw-r--r--src/gallium/drivers/nv50/nv50_context.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.h b/src/gallium/drivers/nv50/nv50_context.h
index a529bf3c3e3..e2656bd539b 100644
--- a/src/gallium/drivers/nv50/nv50_context.h
+++ b/src/gallium/drivers/nv50/nv50_context.h
@@ -11,10 +11,11 @@
#include "nouveau/nouveau_gldefs.h"
#define NOUVEAU_PUSH_CONTEXT(ctx) \
- struct nv50_context *ctx = nv50
+ struct nv50_screen *ctx = nv50->screen
#include "nouveau/nouveau_push.h"
#include "nv50_state.h"
+#include "nv50_screen.h"
#define NOUVEAU_ERR(fmt, args...) \
fprintf(stderr, "%s:%d - "fmt, __func__, __LINE__, ##args);
@@ -23,13 +24,11 @@
struct nv50_context {
struct pipe_context pipe;
- struct nouveau_winsys *nvws;
- struct draw_context *draw;
+ struct nv50_screen *screen;
+ unsigned pctx_id;
- int chipset;
- struct nouveau_grobj *tesla;
- struct nouveau_notifier *sync;
+ struct draw_context *draw;
};