<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Le 20/03/2018 à 21:03, Thomas Guillem a écrit :<br>
    <blockquote type="cite"
cite="mid:1521576228.936273.1310085208.6C04A2D0@webmail.messagingengine.com">
      <title></title>
      <style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
      <div>Hello,<br>
      </div>
      <div><br>
      </div>
      <div>Niklas, the creator of libplacebo will know how to respond.<br>
      </div>
      <div><br>
      </div>
      <div>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.<br>
      </div>
      <div><br>
      </div>
      <div>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).<br>
      </div>
    </blockquote>
    <br>
    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.<br>
    <br>
    <blockquote type="cite"
cite="mid:1521576228.936273.1310085208.6C04A2D0@webmail.messagingengine.com">
      <div><br>
      </div>
      <div>You'll need to check if it's possible with MoltenVk or Metal.<br>
      </div>
      <div>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).<br>
      </div>
      <div><br>
      </div>
      <div>On Tue, Mar 20, 2018, at 16:15, zhzhzoo zhang wrote:<br>
      </div>
      <blockquote type="cite">
        <div dir="ltr">
          <div>Hello everybody,<br>
          </div>
          <div><br>
          </div>
          <div>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. <br>
          </div>
          <div>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 `<span class="highlight"
              style="background-color:rgb(255, 255, 255)"><span
                class="colour" style="color:rgb(0, 0, 0)"><span
                  class="font" style="font-family:sans-serif"><span
                    class="size" style="font-size:12.8px">missing
                    features' on the idea page refer to?</span></span></span></span>)
            Thank you very much!<br>
          </div>
          <div><br>
          </div>
          <div>Regards,<br>
          </div>
          <div>Zhang Shuai.<br>
          </div>
        </div>
        <div><u>_______________________________________________</u><br>
        </div>
        <div>vlc-devel mailing list<br>
        </div>
        <div>To unsubscribe or modify your subscription options:<br>
        </div>
        <div><a href="https://mailman.videolan.org/listinfo/vlc-devel"
            moz-do-not-send="true">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
        </div>
      </blockquote>
      <div><br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
<a class="moz-txt-link-freetext" href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre>
    </blockquote>
    <br>
  </body>
</html>