diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2008-04-04 12:39:45 +1000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-04-04 12:55:57 +1000 |
commit | fbb6cc7842ec8a59b60018233275babc4deb6765 (patch) | |
tree | 99ca4056f59f2e8b4366dd47650edb0fb17e5979 /src/gallium/winsys/dri/nouveau/nouveau_context.h | |
parent | 0b57662fa6feb3d4571e4a3bc3a2243547595816 (diff) |
nouveau: in some cases don't create the buffer in local mem initially.
Diffstat (limited to 'src/gallium/winsys/dri/nouveau/nouveau_context.h')
-rw-r--r-- | src/gallium/winsys/dri/nouveau/nouveau_context.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/winsys/dri/nouveau/nouveau_context.h b/src/gallium/winsys/dri/nouveau/nouveau_context.h index 92f551855a..acb58fab44 100644 --- a/src/gallium/winsys/dri/nouveau/nouveau_context.h +++ b/src/gallium/winsys/dri/nouveau/nouveau_context.h @@ -56,6 +56,11 @@ struct nouveau_context { struct nouveau_screen *nv_screen; struct pipe_surface *frontbuffer; + struct { + int hw_vertex_buffer; + int hw_index_buffer; + } cap; + /* Hardware context */ struct nouveau_channel_context *nvc; int pctx_id; |