enable gpu rendering on osx.
MODIFY
WalletWasabi.Gui/Program.cs
WalletWasabi.Gui/Program.cs
@@ -76,7 +76,11 @@ namespace WalletWasabi.Gui
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{
- builder.UseAvaloniaNative().UseSkia();
+ builder.UseAvaloniaNative(null, opts=>{
+ opts.UseDeferredRendering = true;
+ opts.UseGpu = true;
+ opts.MacOptions.ShowInDock = true;
+ }).UseSkia();
}
else
{

MODIFY
WalletWasabi.Gui/WalletWasabi.Gui.csproj
WalletWasabi.Gui/WalletWasabi.Gui.csproj
<ItemGroup>
<PackageReference Include="Avalonia.Desktop" />
- <PackageReference Include="Avalonia.Native" Version="0.7.0-build4201810154" />
+ <PackageReference Include="Avalonia.Native" Version="0.7.0-build42018101611" />
</ItemGroup>
<ItemGroup>

enable gpu rendering on osx.