summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_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/nvc0/nvc0_context.h
parentde80660c2bd43db112b6c82d970660ed9806cd33 (diff)
nv50,nvc0: implement blit
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_context.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_context.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_context.h b/src/gallium/drivers/nvc0/nvc0_context.h
index ef792227b34..8e2aaff08a7 100644
--- a/src/gallium/drivers/nvc0/nvc0_context.h
+++ b/src/gallium/drivers/nvc0/nvc0_context.h
@@ -71,6 +71,11 @@
#define NVC0_BIND_M2MF 0
#define NVC0_BIND_FENCE 1
+
+struct nvc0_blitctx;
+
+boolean nvc0_blitctx_create(struct nvc0_context *);
+
struct nvc0_context {
struct nouveau_context base;
@@ -159,6 +164,11 @@ struct nvc0_context {
struct pipe_stream_output_target *tfbbuf[4];
unsigned num_tfbbufs;
+ struct pipe_query *cond_query;
+ uint cond_mode;
+
+ struct nvc0_blitctx *blit;
+
#ifdef NVC0_WITH_DRAW_MODULE
struct draw_context *draw;
#endif
@@ -241,6 +251,12 @@ void nvc0_validate_samplers(struct nvc0_context *);
void nve4_set_tex_handles(struct nvc0_context *);
struct pipe_sampler_view *
+nvc0_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 *
nvc0_create_sampler_view(struct pipe_context *,
struct pipe_resource *,
const struct pipe_sampler_view *);