1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 13:20:05 -04:00

Commit Graph

  • a52d38312c MAIN -> ROOT Emil Ernerfeldt 2023-11-06 19:19:37 +01:00
  • 6a371e59cb Define a fast ViewportMap type Emil Ernerfeldt 2023-11-06 19:13:00 +01:00
  • 0ae7eebfd4 Clean up example code Emil Ernerfeldt 2023-11-06 18:35:27 +01:00
  • c29727f82c Fix docs Konkitoman 2023-11-06 13:27:28 +02:00
  • 39f13b4551 Hide close-button for child viewports by default Emil Ernerfeldt 2023-11-06 10:51:56 +01:00
  • 4cad978f80 Spelling Emil Ernerfeldt 2023-11-06 10:42:24 +01:00
  • 3cb8f49b46 ViewportId now wraps Id Emil Ernerfeldt 2023-11-03 14:18:15 +01:00
  • 47e7b9d2dc Minor naming cleanup Emil Ernerfeldt 2023-11-03 14:07:22 +01:00
  • f14fa1663e rename pair to id_pair Emil Ernerfeldt 2023-11-03 13:45:44 +01:00
  • 682db9cef6 create_viewport_sync: embed viewport if backend doesn't support them Emil Ernerfeldt 2023-11-03 13:44:05 +01:00
  • 256ad734b4 More cleanup Emil Ernerfeldt 2023-11-03 13:36:12 +01:00
  • 1f0fc7a005 format let-else statements Emil Ernerfeldt 2023-11-03 13:15:21 +01:00
  • 9fd65ad21e Rename render to viewport_ui_cb to avoid confusion Emil Ernerfeldt 2023-11-03 12:09:09 +01:00
  • 29e1c4d101 Spelling Emil Ernerfeldt 2023-11-03 11:43:02 +01:00
  • 51b083a896 Misc code cleanup Emil Ernerfeldt 2023-11-03 11:37:09 +01:00
  • 99417b45e3 Clean up viewports example slightly Emil Ernerfeldt 2023-11-03 11:36:36 +01:00
  • 0df4b493fb Better error reporting Emil Ernerfeldt 2023-11-03 11:36:07 +01:00
  • 75e6d3c85d Fix crash on eframe wgpu when rendering a sync viewport in a sync viewport Better names Konkitoman 2023-11-02 11:18:39 +02:00
  • 46febb4af1 Fix crash during shutdown Emil Ernerfeldt 2023-11-02 09:07:38 +01:00
  • 9749e1ea6d Move Rc<RefCell<……>> outside of struct Viewports Emil Ernerfeldt 2023-11-02 09:05:19 +01:00
  • 76d3873b47 Better names Konkitoman 2023-11-01 21:27:27 +02:00
  • 2b8e5b5896 Fix crash when rendering a sync viewport in a sync viewport Konkitoman 2023-11-01 21:00:14 +02:00
  • 72a7ee4606 fix typo Emil Ernerfeldt 2023-11-01 19:05:20 +01:00
  • e5dab1eec9 Less RefCell in parameters Emil Ernerfeldt 2023-11-01 19:04:16 +01:00
  • 7340acf7b3 Less RefCell in parameters Emil Ernerfeldt 2023-11-01 19:03:43 +01:00
  • 2eb1240648 Less RefCell in parameters Emil Ernerfeldt 2023-11-01 19:02:46 +01:00
  • 7c1af06cc9 Less RwLock Emil Ernerfeldt 2023-11-01 19:00:57 +01:00
  • 9fce858c5f Less RwLock in parameters Emil Ernerfeldt 2023-11-01 18:52:00 +01:00
  • 3d1ee1bafa Replace some Arc with Rc to make it clear what is thread-local Emil Ernerfeldt 2023-11-01 18:45:16 +01:00
  • 0c9673b75f Fix broken doclinks Emil Ernerfeldt 2023-11-01 18:44:06 +01:00
  • ec39563183 Use less RwLocks and Arcs in public interfaces Emil Ernerfeldt 2023-11-01 18:43:13 +01:00
  • 521678b5d9 Simplify another function signature Emil Ernerfeldt 2023-11-01 18:35:17 +01:00
  • f6c5e71870 Simplify function signature Emil Ernerfeldt 2023-11-01 18:27:02 +01:00
  • abc70ccf9c Misc code cleanup Emil Ernerfeldt 2023-11-01 18:19:19 +01:00
  • 678a3b035e Replace RwLock with RefCell in thread_local Emil Ernerfeldt 2023-11-01 18:19:01 +01:00
  • 9f926d4d03 Lint: vertical spacing Emil Ernerfeldt 2023-11-01 17:13:11 +01:00
  • 06af7490a6 Merge branch 'master' into multiples_viewports Emil Ernerfeldt 2023-11-01 17:04:59 +01:00
  • f218825d94 Update ahash 0.8.3 -> 0.8.6 (#3518) Emil Ernerfeldt 2023-11-01 17:04:48 +01:00
  • cc31695c03 Remove unused use statment Emil Ernerfeldt 2023-11-01 17:02:02 +01:00
  • a57a3d03e9 Add to semicolons to silence clippy Emil Ernerfeldt 2023-11-01 17:01:03 +01:00
  • 9b32dd7fb5 Refactor and update docs Konkitoman 2023-10-25 13:30:35 +03:00
  • d6c2f3e8f3 Fix pixels per point for multiples viewports Fix ./scripts/check.sh errors Konkitoman 2023-10-22 17:15:21 +03:00
  • b4224566ed Now all viewports repaint when pixels_per_point are changed Added zoom shortcuts for viewports example Konkitoman 2023-10-20 20:52:34 +03:00
  • 239a807a8f Fix default viewport size and added a range on pixels_per_point Konkitoman 2023-10-20 19:03:41 +03:00
  • 84ef02d9f5 eframe WGPU: * Fix msaa and depth textures for multiples viewports * Fix panic when the width or height was 0 Konkitoman 2023-10-20 18:40:11 +03:00
  • fb026298fe Added pixels per point in viewports example Konkitoman 2023-10-20 15:39:35 +03:00
  • cc78ecb7ba Fix X11 invalid outer_position, inner_position, outer_size, inner_size, set_outer_position, set_inner_position and is making resizing smooter Konkitoman 2023-10-20 15:07:56 +03:00
  • 9e89188ebe Fix trying to render not existent viewport resulting in 100% cpu usage Konkitoman 2023-10-19 20:05:21 +03:00
  • f5e1d0869e Fixing: * Fix web * Fix errors from ./scripts/check.sh Konkitoman 2023-10-19 18:50:48 +03:00
  • ec37d3861a Fix pure glow Konkitoman 2023-10-19 16:52:34 +03:00
  • 4f1696cf9c big refractor Konkitoman 2023-10-19 15:53:38 +03:00
  • b1e7fafe70 egui: * now every viewport has his own frame_nr Konkitoman 2023-10-18 18:47:16 +03:00
  • 701d31a887 Viewports example: * fix typo * fix == instead of != * added a spinner, to see if the redraw request are working as supposed to! Konkitoman 2023-10-18 15:20:21 +03:00
  • 7f1a1e3b2e Now in ViewportBuilder has close_button and drag_and_drop enabled by default! Fix Windows not rendering a sync viewport in a sync viewport Konkitoman 2023-10-18 14:50:42 +03:00
  • 954366ef7f eframe: refactor code to be more compact and faster Konkitoman 2023-10-11 21:08:07 +03:00
  • fd75adb3a0 migrate to mime_guess2 (#3456) Clement Rey 2023-10-11 14:24:55 +02:00
  • e21ed4ff1f refactored the viewports example I added drag and drop on every viewport, to make possible in the future to drag and drop between viewports Konkitoman 2023-10-09 21:21:46 +03:00
  • 751887b49f web fixup wgpu-try-arcanization Andreas Reich 2023-10-08 13:38:41 +02:00
  • 19a869ded0 update to latest Andreas Reich 2023-10-08 13:08:34 +02:00
  • a743adc8e1 update to latest Andreas Reich 2023-10-08 10:37:47 +02:00
  • 5ee920c216 add commented out latest wgpu line Andreas Reich 2023-10-08 10:15:58 +02:00
  • 17be4b1d4e point to arcanization branch Andreas Reich 2023-10-08 10:11:50 +02:00
  • 13a7bf34db general wgpu updates Andreas Reich 2023-10-08 10:11:24 +02:00
  • b5e3502067 Add link checking to CI (#3445) Emil Ernerfeldt 2023-10-08 09:30:54 +02:00
  • 4cbe930d9a Update ureq, plist, ron (#3446) Emil Ernerfeldt 2023-10-07 19:12:27 +02:00
  • 38b4234c32 Add #[inline] to all color-related function Emil Ernerfeldt 2023-10-07 18:11:16 +02:00
  • 2bc2fb9c39 Fix some lints found by clippy 1.73 Emil Ernerfeldt 2023-10-06 09:01:31 +02:00
  • 287f7041f6 Fix typos and expose Context::is_desktop Konkitoman 2023-09-30 10:22:17 +03:00
  • 424303650b Update ViewportBuilder, documentation and implementation Konkitoman 2023-09-30 10:11:22 +03:00
  • 7caa042b92 Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports Konkitoman 2023-09-30 09:39:45 +03:00
  • 73f14c9b0a Update crates/eframe/src/native/run.rs Konkitoman 2023-09-28 19:04:37 +03:00
  • 12b6f2c3a0 Fix doc-link to egui_extras::install_image_loaders Emil Ernerfeldt 2023-09-28 13:58:35 +02:00
  • d975c1a401 Fix HTTP web demo (#3407) Emil Ernerfeldt 2023-09-28 12:06:55 +02:00
  • 5a0186fa2b Release 0.23.0 - New image API 0.23.0 Emil Ernerfeldt 2023-09-27 16:46:56 +02:00
  • 9b2bcdb4a2 New web demo for 0.23 Emil Ernerfeldt 2023-09-27 16:43:53 +02:00
  • 9a947e5547 Final image API doc tweaks Emil Ernerfeldt 2023-09-27 16:40:26 +02:00
  • cfbad1f865 Update example screenshots Emil Ernerfeldt 2023-09-27 15:34:39 +02:00
  • a128b10ef4 Update Rerun.io logo and copy Emil Ernerfeldt 2023-09-27 15:27:51 +02:00
  • dbf3405597 Explain the purpose of the ImageSource::Bytes URI (#3402) Emil Ernerfeldt 2023-09-27 13:53:33 +02:00
  • a9272e0e55 Update dependencies in Cargo.lock (#3401) Emil Ernerfeldt 2023-09-27 12:49:24 +02:00
  • f138131bc8 Improve top-level crate docs, and sort features is Cargo.toml Emil Ernerfeldt 2023-09-27 11:40:28 +02:00
  • 8ef443948f Improve the About windows in the demo library (#3400) Emil Ernerfeldt 2023-09-27 11:38:52 +02:00
  • 35945dea46 Misc code cleanup (#3398) Emil Ernerfeldt 2023-09-27 09:06:17 +02:00
  • 4986b35701 Add NativeOptions::window_builder for more customization (#3390) Simon 2023-09-27 02:52:49 -04:00
  • b3e19f5b7d Move App::persist_window to NativeOptions and App::max_size_points to WebOptions (#3397) Emil Ernerfeldt 2023-09-27 08:48:48 +02:00
  • 1b18f8e266 Add Area::constrain_to and Window::constrain_to (#3396) Emil Ernerfeldt 2023-09-27 08:40:24 +02:00
  • 1911248ade Fix interaction with moved color-picker (#3395) Emil Ernerfeldt 2023-09-27 08:20:04 +02:00
  • 8fad6b761d Now we use egui::ColorImage insted of (u32, u32, Vec<u8>) Konkitoman 2023-09-27 01:06:56 +03:00
  • 449f38adf2 This is a temporary fix to not unsafe impl Sync + Send for backends The problem is that when we call Context::create_viewport_sync can be on any thread because egui::Context is Sync + Send but the backend is not! So we want the callback to the backend to be thread local! Konkitoman 2023-09-27 00:21:06 +03:00
  • f001f06567 Restore from master egui_demo_app.js and egui_demo_app_bg.wasm Konkitoman 2023-09-26 23:42:51 +03:00
  • 38e00e2ea2 refactor eframe viewport sync rendering for glow and wgpu Konkitoman 2023-09-26 22:56:46 +03:00
  • 1b830bbcb4 Less loud warning when loading old memories Emil Ernerfeldt 2023-09-26 21:29:04 +02:00
  • dff52eddfd README.md: new images, better text (#3392) Emil Ernerfeldt 2023-09-26 21:17:43 +02:00
  • 1930d69ae3 Fix the change that change from a Vec to HashMap braked web and pure_glow Konkitoman 2023-09-26 20:34:09 +03:00
  • f3686e2459 now using a HashMap insted of a Vec to store repaint_after Konkitoman 2023-09-26 20:18:50 +03:00
  • 5c8c56c1b8 rename the events that are result of events event_result Konkitoman 2023-09-26 19:50:11 +03:00
  • e5783127f4 Fix max_texture_side for the main viewport was alwats set to 0 Konkitoman 2023-09-26 19:45:12 +03:00
  • 43ad25a4d9 Renamed gl_window to glutin_ctx in init_run_state and initializate max_texture_side, and now on any egui_winit has max_texture_side set Konkitoman 2023-09-26 18:59:42 +03:00
  • 6a5838c119 Now all sizes are in Vec2 insted of Pos2 Konkitoman 2023-09-26 18:33:57 +03:00
  • b719e1c030 eframe fix android build Konkitoman 2023-09-26 18:23:37 +03:00