summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_screen.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-06-26 16:34:31 +0200
committerMarek Olšák <[email protected]>2015-07-05 15:08:59 +0200
commit5a69929683b15d48e4f2fd47e2c816e716ab60ef (patch)
tree5d8a5cba2b329dc3ad476f0269dea3db50977fde /src/gallium/drivers/i915/i915_screen.c
parentbd214f030f1cb102a7fe41f40f140d4de2b304c0 (diff)
gallium: remove redundant pipe_context::fence_signalled
fence_finish(timeout=0) does the same thing Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_screen.c')
-rw-r--r--src/gallium/drivers/i915/i915_screen.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index 10508ced2be..dc0004366b1 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -463,15 +463,6 @@ i915_fence_reference(struct pipe_screen *screen,
}
static boolean
-i915_fence_signalled(struct pipe_screen *screen,
- struct pipe_fence_handle *fence)
-{
- struct i915_screen *is = i915_screen(screen);
-
- return is->iws->fence_signalled(is->iws, fence) == 1;
-}
-
-static boolean
i915_fence_finish(struct pipe_screen *screen,
struct pipe_fence_handle *fence,
uint64_t timeout)
@@ -568,7 +559,6 @@ i915_screen_create(struct i915_winsys *iws)
is->base.context_create = i915_create_context;
is->base.fence_reference = i915_fence_reference;
- is->base.fence_signalled = i915_fence_signalled;
is->base.fence_finish = i915_fence_finish;
i915_init_screen_resource_functions(is);