mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 10:26:19 +02:00
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:
parent
1403c939db
commit
d1c8b331c5
60 changed files with 204 additions and 43 deletions
|
@ -78,6 +78,7 @@ const String kOptionScrollStyle = "scroll_style";
|
|||
const String kOptionImageQuality = "image_quality";
|
||||
const String kOptionOpenNewConnInTabs = "enable-open-new-connections-in-tabs";
|
||||
const String kOptionTextureRender = "use-texture-render";
|
||||
const String kOptionD3DRender = "allow-d3d-render";
|
||||
const String kOptionOpenInTabs = "allow-open-in-tabs";
|
||||
const String kOptionOpenInWindows = "allow-open-in-windows";
|
||||
const String kOptionForceAlwaysRelay = "force-always-relay";
|
||||
|
|
|
@ -496,6 +496,16 @@ class _GeneralState extends State<_General> {
|
|||
await bind.mainSetLocalOption(key: k, value: v ? 'Y' : 'N'),
|
||||
),
|
||||
),
|
||||
if (isWindows)
|
||||
Tooltip(
|
||||
message: translate('d3d_render_tip'),
|
||||
child: _OptionCheckBox(
|
||||
context,
|
||||
"Use D3D rendering",
|
||||
kOptionD3DRender,
|
||||
isServer: false,
|
||||
),
|
||||
),
|
||||
if (!isWeb && !bind.isCustomClient())
|
||||
_OptionCheckBox(
|
||||
context,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue