diff options
author | Christoph Bumiller <[email protected]> | 2012-09-26 23:06:40 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-09-30 21:31:45 +0200 |
commit | 36ea744f58e5b436c45ed857bd92bbb472e641d5 (patch) | |
tree | 7761199ded45e851fe78039fd6cfa53bb76b8817 /src/gallium/drivers/nv50/nv50_screen.c | |
parent | de80660c2bd43db112b6c82d970660ed9806cd33 (diff) |
nv50,nvc0: implement blit
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_screen.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_screen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c index e13c29427d8..ec61e36cb14 100644 --- a/src/gallium/drivers/nv50/nv50_screen.c +++ b/src/gallium/drivers/nv50/nv50_screen.c @@ -268,7 +268,8 @@ nv50_screen_destroy(struct pipe_screen *pscreen) if (screen->base.pushbuf) screen->base.pushbuf->user_priv = NULL; - FREE(screen->blitctx); + if (screen->blitter) + nv50_blitter_destroy(screen); nouveau_bo_ref(NULL, &screen->code); nouveau_bo_ref(NULL, &screen->tls_bo); @@ -750,7 +751,7 @@ nv50_screen_create(struct nouveau_device *dev) screen->tic.entries = CALLOC(4096, sizeof(void *)); screen->tsc.entries = screen->tic.entries + 2048; - if (!nv50_blitctx_create(screen)) + if (!nv50_blitter_create(screen)) goto fail; nv50_screen_init_hwctx(screen); |