Skip to content

Conversation

tonitch
Copy link
Contributor

@tonitch tonitch commented Aug 24, 2025

As previously discussed on discord, switching to using cimgui instead of wrapping every function of imgui manually might be a good idea.

By doing so, updating to the last imgui version should only be a matter of updating the commit hash in build.zig.zon while every single method is already wrapped and can be exposed to the users that would need really specific needs without having to make a pr.

Currently, this PR is not in a usable state at all. I put it here as a WIP (it compiles tho) so that if people want to have a look and give opinions they are welcome to do so.

My current thought is, to go in two steps to avoid defacing the whole project.

  1. keeping the api and replacing all the previously wrapped function by cimgui functions. This should not break any previous project and allow to extensively test if there is no problems included by this change.
  2. as time goes on. Some functions will obviously be obsolete. I noticed quite a lot already. I would do a brand new wrapper mimicking the one from zopengl while depreciating the current one as time goes on.

Any comments are welcome. I'll work on that at my own pace, as I might not have so much time.

Anthony Debucquoy added 6 commits September 1, 2025 22:12
there muse be a lot of problem now but it requires test. it's also way
faster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant