summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xvmc
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-02-29 15:54:56 +0100
committerChristian König <[email protected]>2012-03-02 13:14:21 +0100
commit74a4e9089488e7f341d21053bbf2d4aa52b99b70 (patch)
tree5a37679f47672bf0e8798b15bbd9dd6513dc5f37 /src/gallium/state_trackers/xvmc
parentb90727bb241e4a04158d34aad078cb18e478fea7 (diff)
vl/compositor: add support for per layer dst areas
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/xvmc')
-rw-r--r--src/gallium/state_trackers/xvmc/surface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xvmc/surface.c b/src/gallium/state_trackers/xvmc/surface.c
index fcf6e619166..615fd08d2a1 100644
--- a/src/gallium/state_trackers/xvmc/surface.c
+++ b/src/gallium/state_trackers/xvmc/surface.c
@@ -432,7 +432,8 @@ 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_set_dst_area(cstate, &dst_rect);
+ vl_compositor_set_layer_dst_area(cstate, 0, &dst_rect);
+ vl_compositor_set_layer_dst_area(cstate, 1, &dst_rect);
vl_compositor_render(cstate, compositor, surf, dirty_area);
pipe->flush(pipe, &surface_priv->fence);