summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_screen.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_screen.h6
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 *);