-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
Adds context sharing support for the X11 & Wayland backends #1045
Conversation
d2b84ce
to
4f119fe
Compare
Oh, I've implemented context sharing for the X11 today. I looked here after (bad luck). My change is much simpler (and it isn't API breaking) but I believe it's because I do not support Wayland. I think it makes no sense to create pull request now, but if someone wants to look, it's here: |
@marek-g From a cursory glance, your changes won't work with X11 + egl. My PR implements context sharing for X11 + Egl/Glx & Wayland in 54 line additions. |
@zegentzy You may be right. I've only tested it with X11/GLX. I can't wait for your changes to be merged :) |
4f119fe
to
0b9b653
Compare
42e03c3
to
a76127b
Compare
7cd8dd9
to
72af1ec
Compare
Signed-off-by: Hal Gentz <[email protected]>
Signed-off-by: Hal Gentz <[email protected]>
Signed-off-by: Hal Gentz <[email protected]>
non-`shareable_with_windowed_contexts` fallback to being shareable if unsupported. Updated docs. Signed-off-by: Hal Gentz <[email protected]>
Signed-off-by: Hal Gentz <[email protected]>
72af1ec
to
ae73fd2
Compare
Signed-off-by: Hal Gentz <[email protected]>
ae73fd2
to
c89e0e9
Compare
Signed-off-by: Hal Gentz <[email protected]>
c89e0e9
to
e7833d9
Compare
Signed-off-by: Hal Gentz <[email protected]>
e7833d9
to
306aa6e
Compare
Signed-off-by: Hal Gentz <[email protected]>
Signed-off-by: Hal Gentz <[email protected]>
306aa6e
to
26fe315
Compare
Merged with #1058 |
Depends on: rust-windowing/winit#572 #1029
Now both backends support shared contexts, however the wayland backend requires that shared contexts are made with the same events loop.
Signed-off-by: Hal Gentz [email protected]