openage icon indicating copy to clipboard operation
openage copied to clipboard

Support Vulkan graphics API

Open TheJJ opened this issue 10 years ago • 8 comments

Required Skills: Vulkan, C++

Difficulty: Hard

Of course we want to support the new shit out there: https://www.khronos.org/vulkan

The Vulkan implementation should use the existing low-level renderer interface and provide an alternative to our existing OpenGL backend. The OpenGL code can be used as a guideline for the Vulkan stuff. Most things will be similar but we obviously want to take advantage of advanced Vulkan features wherever we can :)

Further Reading

TheJJ avatar Mar 03 '15 17:03 TheJJ

and drop sdl on the way there, or maintain both graphics backends?

franciscod avatar Mar 04 '15 19:03 franciscod

Is SDL used in openage to do software rendering? Anyway if you are considering to drop SDL you might want to have a look at SFML.

inakoll avatar Mar 04 '15 20:03 inakoll

I don't know if all we do with graphics is direct OpenGL or we use SDL methods (ignoring initializing the window and stuff)

franciscod avatar Mar 04 '15 20:03 franciscod

SDL just provides the glx window and input. We really shouldn't drop it as Valve is breathing in SDL's neck and SDL will surely get vulkan support very soon.

We render all things with regular opengl to the context sdl creates for us. With vulkan, we'd just have a different context.

TheJJ avatar Mar 04 '15 21:03 TheJJ

mfw valve hires every openage contributor because of vulkan support

(best viewed with this)

franciscod avatar Mar 04 '15 21:03 franciscod

Btw the preparations for this are happening in #287. We can do runtime switching between OpenGL and Vulkan then.

TheJJ avatar Aug 22 '15 14:08 TheJJ

https://www.khronos.org/vulkan/ the specification is finally released :dancers: https://www.khronos.org/registry/vulkan/specs/1.0/refguide/Vulkan-1.0-web.pdf https://www.khronos.org/registry/vulkan/specs/1.0/apispec.html

TheJJ avatar Feb 16 '16 14:02 TheJJ

I need the drivers now.

VelorumS avatar Feb 16 '16 17:02 VelorumS