ArjunNair / egui_sdl2_gl

Egui backend for SDL2 + OpenGL
MIT License
52 stars 35 forks source link

Update Request to egui 0.18.1 #26

Closed d10sfan closed 1 year ago

d10sfan commented 2 years ago

0.18.1 was recently released, along with 0.17.0 a few months ago, which had some breaking changes. It looks like the main ones to worry about in that regard are (From the changelog - https://github.com/emilk/egui/blob/master/CHANGELOG.md)

For integrations:

Output has now been renamed PlatformOutput and Context::run now returns the new FullOutput (https://github.com/emilk/egui/pull/1292).
FontImage has been replaced by TexturesDelta (found in FullOutput), describing what textures were loaded and freed each frame (https://github.com/emilk/egui/pull/1110).
The painter must support partial texture updates (https://github.com/emilk/egui/pull/1149).
Added RawInput::max_texture_side which should be filled in with e.g. GL_MAX_TEXTURE_SIZE (https://github.com/emilk/egui/pull/1154).
ArjunNair commented 2 years ago

Working on this currently. Please be patient as there are many breaking changes. :)

darthdeus commented 2 years ago

@ArjunNair Is there a WIP branch somewhere? I've been thinking about tackling this myself, but probably doesn't make sense to start from scratch if you've already worked on it.

ArjunNair commented 2 years ago

@darthdeus I've created a branch named 'update_to_egui_0_18' with my current WIP. It's in a runnable state with some caveats:

pietervandermeer commented 1 year ago

First of all, let me say that this crate is wonderful! It allows us to run EGUI and high performance GL on any SBC without nasty X11, window managers, etc!!

It seems there are a couple of interesting add-on crates for EGUI these days, but they unfortunately don't support egui_sdl2_gl.. And I just don't have skills or time to port them.. Is there an effort to keep up with the latest EGUI 0.20? Sorry for asking.. I know this is all free software.

ArjunNair commented 1 year ago

Thanks for the kind words. I'm unfortunately not finding the time to keep up with the pace of egui releases. I do plan to take a look at it in more depth when I have some time on my hands but I can't say when that's likely to happen given my current work schedule.

pietervandermeer commented 1 year ago

Understood. Once again, thanks for your awesome work.