diff options
author | Luca Barbieri <[email protected]> | 2010-02-23 11:14:28 +0100 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-04-12 12:13:16 +0200 |
commit | f5b6cc669961176d6464d20d27d842eda1844164 (patch) | |
tree | d239ccb6c381035dee844dc4efdc8be6a310b7fa /src/gallium/drivers/nvfx/nvfx_context.h | |
parent | c0341b22cab5444350032a2b6e2320ab36fcba16 (diff) |
nvfx: so->RING_3D: vbo
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_context.h')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_context.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_context.h b/src/gallium/drivers/nvfx/nvfx_context.h index 138f480560e..2022f6e5121 100644 --- a/src/gallium/drivers/nvfx/nvfx_context.h +++ b/src/gallium/drivers/nvfx/nvfx_context.h @@ -164,6 +164,9 @@ struct nvfx_context { struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; unsigned vtxbuf_nr; struct nvfx_vtxelt_state *vtxelt; + + unsigned vbo_bo; + unsigned hw_vtxelt_nr; }; static INLINE struct nvfx_context * @@ -248,6 +251,8 @@ extern void nvfx_state_emit(struct nvfx_context *nvfx); extern void nvfx_init_transfer_functions(struct nvfx_context *nvfx); /* nvfx_vbo.c */ +extern boolean nvfx_vbo_validate(struct nvfx_context *nvfx); +extern void nvfx_vbo_relocate(struct nvfx_context *nvfx); extern void nvfx_draw_arrays(struct pipe_context *, unsigned mode, unsigned start, unsigned count); extern void nvfx_draw_elements(struct pipe_context *pipe, |