How to render to OpenGL from Vulkan?

后端 未结 3 1447
既然无缘
既然无缘 2021-01-02 08:04

Is it possible to render to OpenGL from Vulkan?

It seems nVidia has something: https://lunarg.com/faqs/mix-opengl-vulkan-rendering/

Can it be done for other

3条回答
  •  猫巷女王i
    2021-01-02 08:48

    There is some more information in this more recent slide deck from SIGGRAPH 2016. Slides 63-65 describe how to blit a Vulkan image to an OpenGL backbuffer. My opinion is that it may have been pretty easy for NVIDIA to support this since the Vulkan driver is contained in libGL.so (on Linux). So it may not have been that hard to give the Vulkan image handle to the GL side of the driver and have it be useful.

    As another answer pointed out, there are still no official registered multi-vendor interop extensions. This approach just works on NVIDIA.

提交回复
热议问题