mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
Use Rgba (4xf32) instead of Color32 in all interfaces
This simplifies a few things, but some benchmarks gets worse, probably due to the increased memory use (and thus more cache misses). I don't plan to merge this, but leave it here as an experiment
This commit is contained in:
@@ -90,7 +90,7 @@ pub fn criterion_benchmark(c: &mut Criterion) {
|
||||
fonts.texture().size(),
|
||||
egui::Pos2::ZERO,
|
||||
&galley,
|
||||
egui::Color32::WHITE,
|
||||
egui::Rgba::WHITE,
|
||||
fake_italics,
|
||||
&mut mesh,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user