summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvc0/nvc0_context.h
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2010-12-22 23:36:31 +0100
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2010-12-23 15:19:22 +0100
commit2c20aae23393a3f6899f1775df47697ce65fc6ca (patch)
treea177e5e704de95a7391eaaf2889e69320b130082 /src/gallium/drivers/nvc0/nvc0_context.h
parent82e0a38eede3e628b6012900cbb8efce193370fd (diff)
nvc0: use most defs/decls from nouveau_pushbuf.h
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_context.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_context.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_context.h b/src/gallium/drivers/nvc0/nvc0_context.h
index df8a6da075..962a2c0cf2 100644
--- a/src/gallium/drivers/nvc0/nvc0_context.h
+++ b/src/gallium/drivers/nvc0/nvc0_context.h
@@ -143,22 +143,6 @@ nvc0_surface(struct pipe_surface *ps)
return (struct nvc0_surface *)ps;
}
-static INLINE void
-nvc0_make_bo_resident(struct nvc0_context *nvc0, struct nouveau_bo *bo,
- unsigned flags)
-{
- nouveau_reloc_emit(nvc0->screen->base.channel,
- NULL, 0, NULL, bo, 0, 0, flags, 0, 0);
-}
-
-static INLINE void
-nvc0_make_buffer_resident(struct nvc0_context *nvc0,
- struct nvc0_resource *res, unsigned flags)
-{
- nvc0_resource_validate(res, flags);
- nvc0_make_bo_resident(nvc0, res->bo, flags);
-}
-
/* nvc0_context.c */
struct pipe_context *nvc0_create(struct pipe_screen *, void *);