tauri-apps / wry

Cross-platform WebView library in Rust for Tauri.
Apache License 2.0
3.72k stars 284 forks source link

Offscreen rendering feature #391

Open PooyaEimandar opened 3 years ago

PooyaEimandar commented 3 years ago

Hello Thank you for contributing to this amazing project. Does wry support render to texture? I mean something like offscreen rendering?

wusyong commented 3 years ago

It's possible to do it but you would need to do it yourself with tao window creation. But I suppose it will render offscreen by default.

wusyong commented 2 years ago

After searching a bit, I think this feature is possible on Linux, and macOS which both use webkit underneath. Windows, however, is still an open issue.

anlumo commented 2 years ago

It's possible on Windows 10 and 11: https://github.com/jnschulze/flutter-webview-windows

TrueDoctor commented 7 months ago

Could this workaround be integrated? @wusyong https://github.com/MicrosoftEdge/WebView2Feedback/issues/547#issuecomment-1925031256