diff --git a/src/Avalonia.Native/AvaloniaNativePlatform.cs b/src/Avalonia.Native/AvaloniaNativePlatform.cs index 0b5d71039d..091a4ad285 100644 --- a/src/Avalonia.Native/AvaloniaNativePlatform.cs +++ b/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(); diff --git a/src/Gtk/Avalonia.Gtk3/Gtk3Platform.cs b/src/Gtk/Avalonia.Gtk3/Gtk3Platform.cs index 8444e509fd..7bb8facaf5 100644 --- a/src/Gtk/Avalonia.Gtk3/Gtk3Platform.cs +++ b/src/Gtk/Avalonia.Gtk3/Gtk3Platform.cs @@ -148,8 +148,8 @@ namespace Avalonia.Gtk3 public class Gtk3PlatformOptions { - public bool? UseDeferredRendering { get; set; } - public bool? UseGpuAcceleration { get; set; } + public bool? UseDeferredRendering { get; set; } = true; + public bool? UseGpuAcceleration { get; set; } = true; public ICustomGtk3NativeLibraryResolver CustomResolver { get; set; } } }