[vlc-devel] GSoC 2018 Idea `libplacebo Improvement'

Steve Lhomme robux4 at ycbcr.xyz
Wed Mar 21 08:33:29 CET 2018


Le 20/03/2018 à 21:03, Thomas Guillem a écrit :
> Hello,
>
> Niklas, the creator of libplacebo will know how to respond.
>
> As far as Metal is concerned. We need to have a discussion about using 
> or not MoltenVk since the Vulkan support is quite advanced in 
> libplacebo now.
>
> The main goal of using a new vout for ios/macOS is to allow direct 
> rendering with SW decoders. For that you need to be able to 
> permanently map a GPU buffer to the CPU and give this buffer to the 
> decoder (avcodec).

I used to do that with D3D11. It was fine with an integrated (Intel) 
GPU. But with discrete GPU the SW decoders were really slow. Having to 
use memory via the PCI bus. To counter that I pretend to do direct 
rendering and provide CPU memory and during prepare() I copy back to the 
GPU. It's much faster for discrete GPUs and doesn't impact much the 
integrated ones.

>
> You'll need to check if it's possible with MoltenVk or Metal.
> For information, we can't do it with OpenGL since this feature was 
> added in OpenGL 4.4 and Apple stopped updating the OpenGL in macOS/iOS 
> (that is stuck to OpenGL 3 or so).
>
> On Tue, Mar 20, 2018, at 16:15, zhzhzoo zhang wrote:
>> Hello everybody,
>>
>> I am a first year graduate from Peking University major in math. I 
>> started to take part in algorithm competitions at grade 7, so I am 
>> very well trained in algorithms and data structures and of course 
>> coding.
>> I am especially interested in the idea `libplacebo Integration & 
>> Improvement', in the description it seems integration and improvement 
>> would be assigned to two students, and I want to do the improvement 
>> part. (possibly because I want to learn some graphics.) I 
>> successfully compiled libplacebo, and looked through its issues. 
>> There says its renderer needs more tests while other parts are fairly 
>> covered. So is this the reason why libplacebo isn't production-ready? 
>> I want to implement Metal support because I use a mac and hope my 
>> computer can be supported. Apart from these, what else features for 
>> libplacebo are needed? (i.e. what does the word `missing features' on 
>> the idea page refer to?) Thank you very much!
>>
>> Regards,
>> Zhang Shuai.
>> _________________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180321/9e7e3c26/attachment.html>


More information about the vlc-devel mailing list