Discussion:
[SDL] Patches to add support for Vulkan
Jacob Lifshay
2017-03-10 08:36:39 UTC
Permalink
I've implemented support for Vulkan by emulating Tizen's interface. The
patches are too big to send to this mailing list, so I've created a github
gist instead:
https://gist.github.com/programmerjake/71ae02e439ff20dca3b1bca6779211f8

I've implemented the driver for X11 using both XCB and Xlib. I also added a
test for Vulkan.
Jacob Lifshay
Jacob Lifshay
2017-03-19 23:32:57 UTC
Permalink
Any suggestions for how to improve this, why libsdl won't support vulkan,
or anything I forgot to do that's necessary to commit this?
Jacob Lifshay
Post by Jacob Lifshay
I've implemented support for Vulkan by emulating Tizen's interface. The
patches are too big to send to this mailing list, so I've created a github
gist instead: https://gist.github.com/programmerjake/
71ae02e439ff20dca3b1bca6779211f8
I've implemented the driver for X11 using both XCB and Xlib. I also added
a test for Vulkan.
Jacob Lifshay
Daniel Gibson
2017-03-19 23:49:52 UTC
Permalink
No idea what the official stance regarding Vulkan is, but to ensure
patches aren't "lost" it's a good idea to create an issue at
https://bugzilla.libsdl.org/ and attach the patch there.

I don't know why you didn't get feedback, but probably the relevant
people (Sam and Ryan mostly?) are just busy - and this mailing list
hasn't been very active in the last weeks, so don't worry, it's not
specific to your patch :)

Anyway, I don't know much about Vulkan so I can't judge your code, but I
think SDL should support it, as it seems to gain traction, especially on
Linux.

Cheers,
Daniel
Post by Jacob Lifshay
Any suggestions for how to improve this, why libsdl won't support
vulkan, or anything I forgot to do that's necessary to commit this?
Jacob Lifshay
I've implemented support for Vulkan by emulating Tizen's interface.
The patches are too big to send to this mailing list, so I've
created a github gist
instead: https://gist.github.com/programmerjake/71ae02e439ff20dca3b1bca6779211f8
<https://gist.github.com/programmerjake/71ae02e439ff20dca3b1bca6779211f8>
I've implemented the driver for X11 using both XCB and Xlib. I also
added a test for Vulkan.
Jacob Lifshay
_______________________________________________
SDL mailing list
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Ryan C. Gordon
2017-03-23 05:45:48 UTC
Permalink
Post by Daniel Gibson
I don't know why you didn't get feedback, but probably the relevant
people (Sam and Ryan mostly?) are just busy - and this mailing list
hasn't been very active in the last weeks, so don't worry, it's not
specific to your patch :)
Very busy over here; I saw that the patch exists but I haven't had a
chance to look at it further, so I don't know what concerns I might have
with it yet, but getting _some_ sort of Vulkan support into SDL is on
the TODO list, so it's likely we'll at least start from your work if we
don't take it as-is.

--ryan.

Loading...