summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_context.h')
-rw-r--r--src/gallium/drivers/nv50/nv50_context.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.h b/src/gallium/drivers/nv50/nv50_context.h
index 818c3bb15fe..043ed898913 100644
--- a/src/gallium/drivers/nv50/nv50_context.h
+++ b/src/gallium/drivers/nv50/nv50_context.h
@@ -73,6 +73,10 @@
#define NV50_CB_AUX 127
+struct nv50_blitctx;
+
+boolean nv50_blitctx_create(struct nv50_context *);
+
struct nv50_context {
struct nouveau_context base;
@@ -151,6 +155,11 @@ struct nv50_context {
boolean vbo_push_hint;
+ struct pipe_query *cond_query;
+ uint cond_mode;
+
+ struct nv50_blitctx *blit;
+
#ifdef NV50_WITH_DRAW_MODULE
struct draw_context *draw;
#endif
@@ -233,6 +242,12 @@ void nv50_validate_textures(struct nv50_context *);
void nv50_validate_samplers(struct nv50_context *);
struct pipe_sampler_view *
+nv50_create_texture_view(struct pipe_context *,
+ struct pipe_resource *,
+ const struct pipe_sampler_view *,
+ uint32_t flags,
+ enum pipe_texture_target);
+struct pipe_sampler_view *
nv50_create_sampler_view(struct pipe_context *,
struct pipe_resource *,
const struct pipe_sampler_view *);