diff options
author | Christoph Bumiller <[email protected]> | 2011-09-14 18:30:37 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-09-14 18:30:53 +0200 |
commit | 7744e867b7f45f3f9d763b61d7219dc28ca39c45 (patch) | |
tree | c465b6423fd6b54f268b00146383f989e10a106e /src/gallium/drivers/nvc0/nvc0_screen.h | |
parent | 9cae933f4abcad46d8a965b34aa79801663e0818 (diff) |
nvc0: implement resource_resolve
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_screen.h')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_screen.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_screen.h b/src/gallium/drivers/nvc0/nvc0_screen.h index 6780e32e302..cad91737f51 100644 --- a/src/gallium/drivers/nvc0/nvc0_screen.h +++ b/src/gallium/drivers/nvc0/nvc0_screen.h @@ -19,6 +19,8 @@ struct nvc0_context; #define NVC0_SCREEN_RESIDENT_BO_COUNT 5 +struct nvc0_blitctx; + struct nvc0_screen { struct nouveau_screen base; struct nouveau_winsys *nvws; @@ -36,6 +38,8 @@ struct nvc0_screen { struct nouveau_resource *text_heap; struct nouveau_resource *lib_code; /* allocated from text_heap */ + struct nvc0_blitctx *blitctx; + struct { struct nouveau_bo *bo[NVC0_SCRATCH_NR_BUFFERS]; uint8_t *buf; @@ -73,6 +77,8 @@ nvc0_screen(struct pipe_screen *screen) return (struct nvc0_screen *)screen; } +boolean nvc0_blitctx_create(struct nvc0_screen *); + void nvc0_screen_make_buffers_resident(struct nvc0_screen *); int nvc0_screen_tic_alloc(struct nvc0_screen *, void *); |