summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_screen.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-02-20 17:57:47 +0100
committerChristoph Bumiller <[email protected]>2011-02-24 17:35:35 +0100
commita6ea37da4bd02241ce3bf522b93dd7ff0757f959 (patch)
treef1a13e36013b1d0e99c9b2505f59810f245adec9 /src/gallium/drivers/nvc0/nvc0_screen.h
parent410a13c5ce799fe97a4e4503190d0f66fb2559a3 (diff)
nvc0: improve userspace fencing
Before, there were situations in which we never checked the fences for completion (some loading screens for example) and thus never released memory.
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_screen.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_screen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_screen.h b/src/gallium/drivers/nvc0/nvc0_screen.h
index 3b676fd21a1..5af96cbacea 100644
--- a/src/gallium/drivers/nvc0/nvc0_screen.h
+++ b/src/gallium/drivers/nvc0/nvc0_screen.h
@@ -138,9 +138,10 @@ nvc0_resource_validate(struct nvc0_resource *res, uint32_t flags)
boolean
nvc0_screen_fence_new(struct nvc0_screen *, struct nvc0_fence **, boolean emit);
-
void
nvc0_screen_fence_next(struct nvc0_screen *);
+void
+nvc0_screen_fence_update(struct nvc0_screen *, boolean flushed);
static INLINE boolean
nvc0_screen_fence_emit(struct nvc0_screen *screen)