Vulkan support

Milan Nikolic gen2brain at gmail.com
Sun Oct 13 13:25:39 BST 2024


I don't know much about Vulkan, all the heavy work here is done by a
third-party video plugin. I just need to provide QWindow with
the VulkanSurface type, that I have currently.  What is missing
is QVulkanInstance and QVulkanExtension. Then similar to how for e.g.
QOpenGLContext you can pass QWindow (with OpenGLSurface) to makeCurrent(),
here one needs to set QWindow::setVulkanInstance to instance and then
QVulkanInstance::surfaceForWindow() should be used with QWindow
(with VulkanSurface).

Thanks,
Milan

On Sun, Oct 13, 2024 at 12:49 PM Phil Thompson <phil at riverbankcomputing.com>
wrote:

> On 13/10/2024 07:33, Milan Nikolic wrote:
> > I noticed that there is no QVulkanInstance and related functions,
> > e.g. QVulkanExtension. Is there a plan to add these or maybe there are
> > some
> > blockers?
> > I need those for some emulator frontend, where plugins can use Vulkan
> > instead of OpenGL.
> >
> > Thanks,
> > Milan
>
> I'm not familiar with Vulkan so with things like that I usually wait for
> somebody (such as yourself) to ask so that I can pick your brains to
> understand exactly what's needed.
>
> So, what specific classes and methods do you need as a minimum?
>
> Thanks,
> Phil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20241013/262792a1/attachment.htm>


More information about the PyQt mailing list