2022-05-21 10:49:37 +00:00
# Changelog for egui-wgpu
All notable changes to the `egui-wgpu` integration will be noted in this file.
2022-05-15 18:17:48 +00:00
## Unreleased
2023-02-08 18:36:33 +00:00
* Update to `wgpu` 0.15 ([#2629](https://github.com/emilk/egui/pull/2629))
2022-12-12 14:16:32 +00:00
* Return `Err` instead of panic if we can't find a device ([#2428](https://github.com/emilk/egui/pull/2428)).
2022-12-12 14:37:55 +00:00
* `winit::Painter::set_window` is now `async` ([#2434](https://github.com/emilk/egui/pull/2434)).
2022-12-12 16:25:00 +00:00
* `egui-wgpu` now only depends on `epaint` instead of the entire `egui` ([#2438](https://github.com/emilk/egui/pull/2438)).
2023-02-06 13:16:17 +00:00
* `winit::Painter` now supports transparent backbuffer ([#2684](https://github.com/emilk/egui/pull/2684)).
2022-12-08 14:11:54 +00:00
2022-12-09 07:29:44 +00:00
## 0.20.0 - 2022-12-08 - web support
2022-09-24 15:53:11 +00:00
* Renamed `RenderPass` to `Renderer` .
* Renamed `RenderPass::execute` to `RenderPass::render` .
2022-10-12 12:27:24 +00:00
* Renamed `RenderPass::execute_with_renderpass` to `Renderer::render` (replacing existing `Renderer::render` )
2022-09-24 15:53:11 +00:00
* Reexported `Renderer` .
2022-12-08 14:11:54 +00:00
* You can now use `egui-wgpu` on web, using WebGL ([#2107](https://github.com/emilk/egui/pull/2107)).
2022-10-12 12:27:24 +00:00
* `Renderer` no longer handles pass creation and depth buffer creation ([#2136](https://github.com/emilk/egui/pull/2136))
* `PrepareCallback` now passes `wgpu::CommandEncoder` ([#2136](https://github.com/emilk/egui/pull/2136))
2022-11-04 08:54:29 +00:00
* `PrepareCallback` can now returns `wgpu::CommandBuffer` that are bundled into a single `wgpu::Queue::submit` call ([#2230](https://github.com/emilk/egui/pull/2230))
2022-10-14 08:53:19 +00:00
* Only a single vertex & index buffer is now created and resized when necessary (previously, vertex/index buffers were allocated for every mesh) ([#2148](https://github.com/emilk/egui/pull/2148)).
2022-10-30 14:14:45 +00:00
* `Renderer::update_texture` no longer creates a new `wgpu::Sampler` with every new texture ([#2198](https://github.com/emilk/egui/pull/2198))
2022-10-31 16:57:32 +00:00
* `Painter` 's instance/device/adapter/surface creation is now configurable via `WgpuConfiguration` ([#2207](https://github.com/emilk/egui/pull/2207))
2022-11-21 09:08:24 +00:00
* Fix panic on using a depth buffer ([#2316](https://github.com/emilk/egui/pull/2316))
2022-08-20 14:44:05 +00:00
2022-12-08 14:11:54 +00:00
2022-08-20 14:44:05 +00:00
## 0.19.0 - 2022-08-20
2022-08-03 07:26:16 +00:00
* Enables deferred render + surface state initialization for Android ([#1634](https://github.com/emilk/egui/pull/1634)).
* Make `RenderPass` `Send` and `Sync` ([#1883](https://github.com/emilk/egui/pull/1883)).
2022-05-15 18:17:48 +00:00
2022-08-20 14:44:05 +00:00
2022-05-15 18:17:48 +00:00
## 0.18.0 - 2022-05-15
First published version since moving the code into the `egui` repository from < https: // github . com / LU15W1R7H / eww > .