[Mesa-dev] [PATCH] st/vdpau: resolve delayed rendering for GL interop

Christian König deathsimple at vodafone.de
Wed Nov 6 06:08:58 PST 2013


We need to take/release the driver lock around this as well.

I've fixed this and pushed the result upstream. Any idea when your 
deinterlacer is ready to hit the list as a patch?

Thanks for the help,
Christian.

Am 06.11.2013 00:35, schrieb Grigori Goronzy:
> 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;
>   }



More information about the mesa-dev mailing list