linux: create a hidden window inside the platform

It allows us to receive messages from the dispatcher,
which breaks us out of waiting and lets us execute
main thread runnables as a part of the main loop.
This commit is contained in:
Dzmitry Malyshau 2024-02-04 23:52:22 -08:00
parent 282cc71df9
commit 521b2b12e4
4 changed files with 80 additions and 39 deletions

View file

@ -76,7 +76,7 @@ impl PlatformTextSystem for LinuxTextSystem {
unimplemented!()
}
fn glyph_for_char(&self, font_id: FontId, ch: char) -> Option<GlyphId> {
unimplemented!()
None
}
fn glyph_raster_bounds(&self, params: &RenderGlyphParams) -> Result<Bounds<DevicePixels>> {
unimplemented!()