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

Linux X11 backend? #4224

Closed
Nemirtingas opened this issue Jun 13, 2021 · 5 comments
Closed

Linux X11 backend? #4224

Nemirtingas opened this issue Jun 13, 2021 · 5 comments

Comments

@Nemirtingas
Copy link

Hi,

As I'm developping my game overlay (windows/linux and probably macos if someday I understand how it works), I built a X11 backend. The code is here: https://github.com/Nemirtingas/imgui/tree/Linux_X11_backend

Would it be worth it to add it to Dear ImGui ?

@rokups
Copy link
Contributor

rokups commented Jun 14, 2021

Great effort 👍🏻 Though merging it wont be easy. At very least an example showcasing this backend should exist. But more importantly, we would also like to support docking branch and things get quite complicated there.

@ocornut
Copy link
Owner

ocornut commented Jun 14, 2021

Hello,

There is already a x11 native backend PR here #3372
It would be good to compare both and decide where we'd like to go.

@ocornut ocornut changed the title [Question] Linux X11 backend. Linux X11 backend? Jun 14, 2021
@Nemirtingas
Copy link
Author

I didn't see it as I searched in the issues and not in the pull requests.

My implementation is pure X11, I'm not using Xcb. For what I needed, it works fine. I didn't test it much as I don't go often on Linux to try it. I never triied the Docking branch either.

#3372 seems more advanced than mine.

@Nemirtingas
Copy link
Author

Nemirtingas commented Jul 22, 2022

Great effort 👍🏻 Though merging it wont be easy. At very least an example showcasing this backend should exist. But more importantly, we would also like to support docking branch and things get quite complicated there.

Hi, its been a while since I worked on this. I decided to create that example in case someone needs a pure X11/OpenGL3, its available here:
Nemirtingas@b51c951

@ocornut
Copy link
Owner

ocornut commented Jan 24, 2024

Linking to #3372 and #7262 and closing this.

@ocornut ocornut closed this as completed Jan 24, 2024
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

3 participants