linux: work around the mutex locks for request_frame and resize

This commit is contained in:
Dzmitry Malyshau 2024-01-28 23:59:04 -08:00
parent 74fde5967b
commit 503ac7a251
4 changed files with 40 additions and 25 deletions

View file

@ -64,7 +64,7 @@ impl PlatformTextSystem for LinuxTextSystem {
Vec::new()
}
fn font_id(&self, descriptor: &Font) -> Result<FontId> {
unimplemented!()
Ok(FontId(0)) //TODO
}
fn font_metrics(&self, font_id: FontId) -> FontMetrics {
unimplemented!()
@ -89,7 +89,7 @@ impl PlatformTextSystem for LinuxTextSystem {
unimplemented!()
}
fn layout_line(&self, text: &str, font_size: Pixels, runs: &[FontRun]) -> LineLayout {
unimplemented!()
LineLayout::default() //TODO
}
fn wrap_line(
&self,