linux: query window geometry for determining the surface extents

This commit is contained in:
Dzmitry Malyshau 2024-02-07 00:33:40 -08:00
parent d3562d4c9c
commit e3ae7c4fe0
2 changed files with 29 additions and 26 deletions

View file

@ -299,6 +299,10 @@ impl BladeRenderer {
self.viewport_size = size;
}
pub fn viewport_size(&self) -> gpu::Extent {
self.viewport_size
}
pub fn atlas(&self) -> &Arc<BladeAtlas> {
&self.atlas
}