x11: create window and route events

This commit is contained in:
Dzmitry Malyshau 2024-01-28 01:19:22 -08:00
parent cefc98258f
commit aed363d3c7
5 changed files with 194 additions and 52 deletions

View file

@ -0,0 +1,11 @@
use std::sync::Arc;
pub struct BladeRenderer {
gpu: Arc<blade::Context>,
}
impl BladeRenderer {
pub fn new(gpu: Arc<blade::Context>) -> Self {
Self { gpu }
}
}