Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing xlib support #26

Open
DominikWitczakAMD opened this issue May 25, 2017 · 2 comments
Open

Missing xlib support #26

DominikWitczakAMD opened this issue May 25, 2017 · 2 comments

Comments

@DominikWitczakAMD
Copy link
Contributor

Anvil does not currently provide support for xlib which would be a nice-to-have.

@jhasse
Copy link

jhasse commented Jun 26, 2017

Wouldn't it be better to use SDL2 instead?

I can tell you that Xlib is a nightmare to work with.

@DominikWitczakAMD
Copy link
Contributor Author

Thanks for the suggestion.

Our library is designed to act as a bottom-most interface binding the system and the app, so adding another layer of abstraction should only happen if really necessary. It adds additional project maintenance burden which we would like to strongly avoid.

Another reason for the fact we're going to need Xlib support built-in directly ijnto Anvil is the fact that, for Vulkan, we're going to need to have the render surface wrapper extended to make use of the VK_KHR_xlib_surface extension. I'm not sure if SDL2 exposes all the handles we need to make that happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants