Browse Source

Merge pull request #2028 from AvaloniaUI/features/enable-gpu-rendering-default

gpu rendering is the defaults on avalonia native
pull/2037/head
danwalmsley 7 years ago
committed by GitHub
parent
commit
be4f1a837e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.Native/AvaloniaNativePlatform.cs

2
src/Avalonia.Native/AvaloniaNativePlatform.cs

@ -120,7 +120,7 @@ namespace Avalonia.Native
{
public AvaloniaNativeMacOptions MacOptions { get; set; }
public bool UseDeferredRendering { get; set; } = true;
public bool UseGpu { get; set; } = false;
public bool UseGpu { get; set; } = true;
internal AvaloniaNativeOptions(IAvaloniaNativeFactory factory)
{
var mac = factory.GetMacOptions();

Loading…
Cancel
Save