[Mesa-dev] [PATCH] st/vdpau: resolve delayed rendering for GL interop
Grigori Goronzy
greg at chown.ath.cx
Tue Nov 5 15:35:31 PST 2013
Otherwise OutputSurface interop has funny results sometimes.
This fixes interop with the mpv media player.
---
src/gallium/state_trackers/vdpau/output.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/state_trackers/vdpau/output.c b/src/gallium/state_trackers/vdpau/output.c
index def01c8..76c7312 100644
--- a/src/gallium/state_trackers/vdpau/output.c
+++ b/src/gallium/state_trackers/vdpau/output.c
@@ -734,5 +734,6 @@ struct pipe_resource *vlVdpOutputSurfaceGallium(VdpOutputSurface surface)
if (!vlsurface || !vlsurface->surface)
return NULL;
+ vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL);
return vlsurface->surface->texture;
}
--
1.8.1.2
More information about the mesa-dev
mailing list