egui/crates/egui_glow
Red Artist be9b5a3641
polish glutin upgrade with glutin-winit crate (#2526)
* use glutin-winit for glow context creation

* added some tracing for easier debugging of glutin problems

* fmt

* add more debug logs

* more tracing

* fallback egl instead of prefer egl

* update pure glow example to use glutin_winit

* add more logging. ignore vsync option if not supported

* cranky lint

* add some logging for easier debugging

* drop window after glutin surface

* small changes based on pr review

* build fix

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2023-02-08 14:28:42 +01:00
..
examples polish glutin upgrade with glutin-winit crate (#2526) 2023-02-08 14:28:42 +01:00
src polish glutin upgrade with glutin-winit crate (#2526) 2023-02-08 14:28:42 +01:00
Cargo.toml polish glutin upgrade with glutin-winit crate (#2526) 2023-02-08 14:28:42 +01:00
CHANGELOG.md Remove native screen reader support (#2669) 2023-02-04 11:47:36 +01:00
README.md cargo update (#2671) 2023-02-04 13:41:34 +01:00

egui_glow

Latest version Documentation MIT Apache

This crates provides bindings between egui and glow which allows you to:

  • Render egui using glow on both native and web.
  • Write cross platform native egui apps (with the winit feature).

To write web apps using glow you can use eframe (which uses egui_glow for rendering).

To use on Linux, first run:

sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev

This crate optionally depends on egui-winit.

Text the example with:

cargo run -p egui_glow --example pure_glow --features=winit,egui/default_fonts