openxr: configurable screen downscale

This commit is contained in:
galister
2024-07-29 22:14:25 +09:00
parent 57ff3ec3bc
commit dcc2cd0575
7 changed files with 58 additions and 17 deletions

View File

@@ -370,6 +370,10 @@ impl<D, S> OverlayRenderer for Canvas<D, S> {
fn view(&mut self) -> Option<Arc<ImageView>> {
Some(self.view_final.clone())
}
fn extent(&mut self) -> Option<[u32; 3]> {
Some(self.view_final.image().extent())
}
}
impl<D, S> OverlayBackend for Canvas<D, S> {