diff options
author | Christoph Bumiller <[email protected]> | 2011-10-18 12:08:19 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-10-21 23:00:40 +0200 |
commit | 28271fd00dc5dd83f95b5cb890e0ab2c0ff6159d (patch) | |
tree | 56c6e2ed7a95fb66e0e813bd2016f189d948d0fa /src/gallium/drivers/nv50/nv50_resource.h | |
parent | 73ea0e7fd405af2866062492231c84580a306211 (diff) |
nvc0: add support for linear and buffer textures and RTs
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_resource.h')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_resource.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_resource.h b/src/gallium/drivers/nv50/nv50_resource.h index 66d21209be2..50cc2afdbe1 100644 --- a/src/gallium/drivers/nv50/nv50_resource.h +++ b/src/gallium/drivers/nv50/nv50_resource.h @@ -129,7 +129,12 @@ struct nv50_surface * nv50_surface_from_miptree(struct nv50_miptree *mt, const struct pipe_surface *templ); +struct pipe_surface * +nv50_surface_from_buffer(struct pipe_context *pipe, + struct pipe_resource *pt, + const struct pipe_surface *templ); + void -nv50_miptree_surface_del(struct pipe_context *, struct pipe_surface *); +nv50_surface_destroy(struct pipe_context *, struct pipe_surface *); #endif /* __NV50_RESOURCE_H__ */ |