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

Update to egui 0.17 #78

Merged
merged 7 commits into from
Mar 12, 2022
Merged

Update to egui 0.17 #78

merged 7 commits into from
Mar 12, 2022

Conversation

emilk
Copy link
Contributor

@emilk emilk commented Mar 7, 2022

TODO:

  • Partial texture updates

Closes #74
Closes #75

I haven't yet figured out how to do a partial texture update (using https://docs.rs/wgpu/0.12.0/wgpu/struct.CommandEncoder.html#method.copy_buffer_to_texture), so instead I opted to store the full image, update part of it, and then recreate the full texture.

It works _sometimes_, but sometimes `EguiRenderOutput` is empty
when it shouldn't be.

Also partial texture updates hasn't been implemented yet.

And I left some log output that needs removing.
@emilk emilk marked this pull request as ready for review March 7, 2022 14:10
@emilk emilk changed the title Begin update to egui 0.17 Update to egui 0.17 Mar 7, 2022
@aevyrie aevyrie mentioned this pull request Mar 8, 2022
@mvlabat
Copy link
Owner

mvlabat commented Mar 8, 2022

Thank you so much for the PR. I'm currently somewhat overwhelmed due to the war in Ukraine, and I'm planning to move to a safer place soon. Hopefully, I'll find some time to merge all the pending PRs and make a release by the end of this week.

@emilk
Copy link
Contributor Author

emilk commented Mar 8, 2022

@mvlabat Please prioritize your safety over any GitHub stuff!

@mvlabat
Copy link
Owner

mvlabat commented Mar 12, 2022

I pushed some minor changes, mostly related to naming and cleaning up unused stuff (also found some unused stuff from previously merged PRs).

The PR looks great! Thanks again @emilk

@mvlabat mvlabat merged commit 6008478 into mvlabat:main Mar 12, 2022
@BrettWitty BrettWitty mentioned this pull request Mar 26, 2022
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.

Upgrade to egui 0.17
2 participants