diff options
author | Christian König <[email protected]> | 2011-07-15 17:54:06 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-07-15 17:54:06 +0200 |
commit | 0d082390d903e0a6908e1d444e762a23de14174a (patch) | |
tree | 716a1dda61c302330971c5710934898c6af5461b /src/gallium/state_trackers/xorg | |
parent | 2cbf532ae13513c3cbc7dad8ae41beeff931529e (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/state_trackers/xorg')
-rw-r--r-- | src/gallium/state_trackers/xorg/xvmc/surface.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/xorg/xvmc/surface.c b/src/gallium/state_trackers/xorg/xvmc/surface.c index 0e8b4f8f2be..0c53b730287 100644 --- a/src/gallium/state_trackers/xorg/xvmc/surface.c +++ b/src/gallium/state_trackers/xorg/xvmc/surface.c @@ -567,8 +567,9 @@ Status XvMCPutSurface(Display *dpy, XvMCSurface *surface, Drawable drawable, // Workaround for r600g, there seems to be a bug in the fence refcounting code pipe->screen->fence_reference(pipe->screen, &surface_priv->fence, NULL); - vl_compositor_render(compositor, PictureToPipe(flags), context_priv->drawable_surface, - &dst_rect, NULL, &surface_priv->fence); + vl_compositor_render(compositor, PictureToPipe(flags), context_priv->drawable_surface, &dst_rect, NULL); + + pipe->flush(pipe, &surface_priv->fence); XVMC_MSG(XVMC_TRACE, "[XvMC] Submitted surface %p for display. Pushing to front buffer.\n", surface); |