linux: work around the mutex locks for request_frame and resize
This commit is contained in:
parent
74fde5967b
commit
503ac7a251
4 changed files with 40 additions and 25 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue