fn render_thread( shared: Arc<Shared>, rx: Receiver<Cmd>, ctx: Context, backend: Backend, text: Arc<Mutex<TextRasterizer>>, )