Zicklag
1d9524cc59
Re-implement PaintCallbacks With Support for WGPU ( #1684 )
...
* Re-implement PaintCallbacks With Support for WGPU
This makes breaking changes to the PaintCallback system, but makes it
flexible enough to support both the WGPU and glow backends with custom
rendering.
Also adds a WGPU equivalent to the glow demo for custom painting.
2022-05-28 17:52:36 +02:00
Emil Ernerfeldt
fff2008255
Move three-d patch into example Cargo.tom
2022-05-22 18:14:00 +02:00
Sebastian Urban
b2510676b9
Take Glow context using Arc. ( #1640 )
...
This allows usage with a Glow context that is passed between threads.
2022-05-22 17:43:30 +02:00
Sebastian Urban
5687aa6b50
Request GLSL version 3.30. ( #1639 )
2022-05-21 12:52:20 +02:00
Emil Ernerfeldt
931e716b97
Add egui_wgpu crate ( #1564 )
...
Based on https://github.com/hasenbanck/egui_wgpu_backend
`egui-wgpu` is now an official backend for `eframe` (opt-in).
Use the `wgpu` feature flag on `eframe` and the `NativeOptions::renderer` settings to pick it.
Co-authored-by: Nils Hasenbanck <nils@hasenbanck.de >
Co-authored-by: Sven Niederberger <niederberger@embotech.com >
Co-authored-by: Sven Niederberger <73159570+s-nie@users.noreply.github.com >
2022-05-12 09:02:28 +02:00
Emil Ernerfeldt
c869f67066
Simplify file_dialog example
2022-04-30 15:49:22 +02:00
Emil Ernerfeldt
8a2470b45e
example hello_world: remove frame.set_window_size
...
it doesn't work very well
2022-04-30 15:47:55 +02:00
Emil Ernerfeldt
e1bcaeebe5
App::clear_color: give egui::Visuals as argument
2022-04-30 15:41:43 +02:00
Emil Ernerfeldt
f3e31391e0
Pass clip rectangle to PaintCallback
2022-04-15 10:31:33 +02:00
Stanisław Jelnicki
2745699bd6
Add Ui::spinner shortcut method ( #1494 )
2022-04-15 07:39:08 +02:00
tami5
b738418243
New example 'custom_font_style' + improve docs ( #1476 )
2022-04-14 07:54:01 +02:00
Emil Ernerfeldt
2ae93c40ab
Move examples out of eframe/examples into examples/ ( #1486 )
...
* Move examples out of eframe/examples into examples/
Give each example a `Cargo.toml` and `src/main.rs`.
This makes it easier for people to use as templates.
* Update README.md with more deps needed on vanilla Ubuntu
* Install libgtk-3-dev on CI, hoping that will fix something
2022-04-13 16:13:24 +02:00
Emil Ernerfeldt
170b21b63e
Add opt-in support for the 'puffin' profiler in eframe ( #1483 )
2022-04-13 11:06:13 +02:00