[vlc-devel] [PATCH] direct3d11: keep the surface buffer locked until we're finished writing

Steve Lhomme robux4 at gmail.com
Thu Oct 15 18:46:08 CEST 2015

On Thu, Oct 15, 2015 at 5:53 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2015-10-14 15:09, Steve Lhomme a écrit :
>> From: Steve Lhomme <robux4 at gmail.com>
> There is (currently) no signal for when "we are finished writing" though.
> unlock is invoked when the last reference to the picture buffer is dropped.
> Typically this is after rendering for non-ref frames and after decoding
> other referencing frames for ref frames.

Yes, I was going to reply to this patch saying it's not correct. Now
in other cases D3D11 complains that we're drawing a texture that's
still mapped. I'll submit a (hackish) fix.

This patch is no good.

> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

More information about the vlc-devel mailing list