aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-07-15 17:54:06 +0200
committerChristian König <[email protected]>2011-07-15 17:54:06 +0200
commit0d082390d903e0a6908e1d444e762a23de14174a (patch)
tree716a1dda61c302330971c5710934898c6af5461b /src/gallium/auxiliary
parent2cbf532ae13513c3cbc7dad8ae41beeff931529e (diff)
g3dvl: no need for flushing inside the compositor any more
Move that also inside the state tracker where needed.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/vl/vl_compositor.c5
-rw-r--r--src/gallium/auxiliary/vl/vl_compositor.h3
2 files changed, 2 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c
index 8018d061d54..3bd4af2e3e0 100644
--- a/src/gallium/auxiliary/vl/vl_compositor.c
+++ b/src/gallium/auxiliary/vl/vl_compositor.c
@@ -651,8 +651,7 @@ vl_compositor_render(struct vl_compositor *c,
enum pipe_mpeg12_picture_type picture_type,
struct pipe_surface *dst_surface,
struct pipe_video_rect *dst_area,
- struct pipe_video_rect *dst_clip,
- struct pipe_fence_handle **fence)
+ struct pipe_video_rect *dst_clip)
{
struct pipe_scissor_state scissor;
@@ -706,8 +705,6 @@ vl_compositor_render(struct vl_compositor *c,
c->pipe->bind_rasterizer_state(c->pipe, c->rast);
draw_layers(c);
-
- c->pipe->flush(c->pipe, fence);
}
bool
diff --git a/src/gallium/auxiliary/vl/vl_compositor.h b/src/gallium/auxiliary/vl/vl_compositor.h
index 08ddc672b3b..87ad39be1be 100644
--- a/src/gallium/auxiliary/vl/vl_compositor.h
+++ b/src/gallium/auxiliary/vl/vl_compositor.h
@@ -158,8 +158,7 @@ vl_compositor_render(struct vl_compositor *compositor,
enum pipe_mpeg12_picture_type picture_type,
struct pipe_surface *dst_surface,
struct pipe_video_rect *dst_area,
- struct pipe_video_rect *dst_clip,
- struct pipe_fence_handle **fence);
+ struct pipe_video_rect *dst_clip);
/**
* destroy this compositor