Option allow-d3d-render and fix ios ci (#11107)

* option `allow-d3d-render`, default false

Add this option because it fails on some machines

Signed-off-by: 21pages <sunboeasy@gmail.com>

* only add nokhwa to windows and linux dependencies

Signed-off-by: 21pages <sunboeasy@gmail.com>

---------

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages
2025-03-13 09:34:13 +08:00
committed by GitHub
parent 1403c939db
commit d1c8b331c5
60 changed files with 204 additions and 43 deletions

View File

@@ -488,14 +488,14 @@ impl<T: InvokeUiSession> Session<T> {
(vp8, av1, h264, h265)
}
pub fn change_prefer_codec(&self) {
pub fn update_supported_decodings(&self) {
let msg = self.lc.write().unwrap().update_supported_decodings();
self.send(Data::Message(msg));
}
pub fn use_texture_render_changed(&self) {
self.send(Data::ResetDecoder(None));
self.change_prefer_codec();
self.update_supported_decodings();
self.send(Data::Message(LoginConfigHandler::refresh()));
}