Replace glium/egui with dedicated wgpu renderer crate #20
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: canary/canary-rs#20
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, the glium crate (OpenGL) is used directly by Magpie for its rendering, and the sandbox is using egui's painting API to render Canary's graphics. This has a lot of shortcomings:
What I want to do instead is to use a single wgpu-based Canary renderer that can be used in egui, Magpie, and whatever other frontends we come up with. This opens the door to potential integrations with bevy and Cyborg, which both use wgpu, as well as many other Rust projects out there that use wgpu.
Steps needed:
canary-wgpu
atrenderer/wgpu
.canary-wgpu
crate.canary-wgpu
.canary-wgpu
, and render each panel's texture onto each panel's window as a quad with egui's painter API.