summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_context.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-09-26 23:06:40 +0200
committerChristoph Bumiller <[email protected]>2012-09-30 21:31:45 +0200
commit36ea744f58e5b436c45ed857bd92bbb472e641d5 (patch)
tree7761199ded45e851fe78039fd6cfa53bb76b8817 /src/gallium/drivers/nv50/nv50_context.h
parentde80660c2bd43db112b6c82d970660ed9806cd33 (diff)
nv50,nvc0: implement blit
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 *);