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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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(); |
|
|
|
|