-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Cherry pick upstream bgfx commits needed to get wayland working #11539
Conversation
* allow headless context creation using EGL * Fixed dynamic lib import --------- Co-authored-by: Dahmen issam <issam.dahmen@fittingbox.com>
Co-authored-by: Dahmen issam <issam.dahmen@fittingbox.com>
* Fixed EGL library name on Linux * Cleanup. --------- Co-authored-by: Dahmen issam <issam.dahmen@fittingbox.com> Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
* Initial proof-of-concept of vulkan renderer working on wayland * Get wayland surface from the window handle
* Allow simultaneous X11 and Wayland support * Add NativeWindowHandleType * Set default value for g_platformData.type * Use g_platformData.type to check for a native Wayland window * Stub getNativeWindowHandleType on platform where Wayland is not an option * Implement getNativeWindowHandleType for GLFW * Add getNativeWindowHandleType to the remaining C++ examples * Add getNativeWindowHandleType to the C example
No immediate crashes on Fedora 38 running 535.xx nvidia driver or on windows 11. |
No crashes with normal shaders on Fedora 37 running 470.xx driver on a system with GeForce 680M either. |
I’ve read the diff, and I think this is relatively safe. I’m still going to hold off until after freeze to merge it as we’re no longer early in a release cycle. |
As full upstream sync has resulted in numerous issues, particularly with macOS (see #11493), cherry-pick the commits needed for wayland support (#11451) instead.
I have tested this on AMD opensource driver for now. I will test a few more configs and remove the draft status when done.