Browse Source

Remove references to old, fixed Firefox WebGL bug

pull/2445/head
Emil Ernerfeldt 2 years ago
parent
commit
26eb002270
  1. 1
      crates/eframe/README.md
  2. 3
      crates/eframe/src/epi.rs

1
crates/eframe/README.md

@ -45,7 +45,6 @@ You can also use `egui_glow` and [`winit`](https://github.com/rust-windowing/win
* Mobile text editing is not as good as for a normal web app. * Mobile text editing is not as good as for a normal web app.
* Accessibility: There is an experimental screen reader for `eframe`, but it has to be enabled explicitly. There is no JS function to ask "Does the user want a screen reader?" (and there should probably not be such a function, due to user tracking/integrity concerns). * Accessibility: There is an experimental screen reader for `eframe`, but it has to be enabled explicitly. There is no JS function to ask "Does the user want a screen reader?" (and there should probably not be such a function, due to user tracking/integrity concerns).
* No integration with browser settings for colors and fonts. * No integration with browser settings for colors and fonts.
* On Linux and Mac, Firefox will copy the WebGL render target from GPU, to CPU and then back again (https://bugzilla.mozilla.org/show_bug.cgi?id=1010527#c0), slowing down egui.
In many ways, `eframe` is trying to make the browser do something it wasn't designed to do (though there are many things browser vendors could do to improve how well libraries like egui work). In many ways, `eframe` is trying to make the browser do something it wasn't designed to do (though there are many things browser vendors could do to improve how well libraries like egui work).

3
crates/eframe/src/epi.rs

@ -145,9 +145,6 @@ pub trait App {
/// The size limit of the web app canvas. /// The size limit of the web app canvas.
/// ///
/// By default the max size is [`egui::Vec2::INFINITY`], i.e. unlimited. /// By default the max size is [`egui::Vec2::INFINITY`], i.e. unlimited.
///
/// A large canvas can lead to bad frame rates on some older browsers on some platforms
/// (see <https://bugzilla.mozilla.org/show_bug.cgi?id=1010527#c0>).
fn max_size_points(&self) -> egui::Vec2 { fn max_size_points(&self) -> egui::Vec2 {
egui::Vec2::INFINITY egui::Vec2::INFINITY
} }

Loading…
Cancel
Save