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

Add epaint::Brush for controlling RectShape texturing #5565

Merged
merged 4 commits into from
Jan 2, 2025

Conversation

emilk
Copy link
Owner

@emilk emilk commented Jan 2, 2025

Also wraps Shape::Mesh in an Arc.

No new features, but decreases size of Shape from 72 bytes to 64.

@emilk emilk added performance Lower CPU/GPU usage (optimize) egui epaint labels Jan 2, 2025
Copy link

github-actions bot commented Jan 2, 2025

Preview available at https://egui-pr-preview.github.io/pr/5565-emilkshrink-shape
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

@emilk emilk merged commit aeea70d into master Jan 2, 2025
46 checks passed
@emilk emilk deleted the emilk/shrink-shape branch January 2, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
egui epaint performance Lower CPU/GPU usage (optimize)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant