Browse Source
Merge pull request #4056 from AvaloniaUI/use-gpu-by-default
use gpu by default on all platforms.
pull/4073/head
Nikita Tsukanov
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
2 deletions
-
src/Windows/Avalonia.Win32/Avalonia.Win32.csproj
-
src/Windows/Avalonia.Win32/Win32Platform.cs
|
|
@ -6,6 +6,7 @@ |
|
|
</PropertyGroup> |
|
|
</PropertyGroup> |
|
|
<ItemGroup> |
|
|
<ItemGroup> |
|
|
<ProjectReference Include="..\..\..\packages\Avalonia\Avalonia.csproj" /> |
|
|
<ProjectReference Include="..\..\..\packages\Avalonia\Avalonia.csproj" /> |
|
|
|
|
|
<PackageReference Include="Avalonia.Angle.Windows.Natives" Version="2.1.0.2019013001" /> |
|
|
</ItemGroup> |
|
|
</ItemGroup> |
|
|
<Import Project="$(MSBuildThisFileDirectory)\..\..\..\build\System.Drawing.Common.props" /> |
|
|
<Import Project="$(MSBuildThisFileDirectory)\..\..\..\build\System.Drawing.Common.props" /> |
|
|
</Project> |
|
|
</Project> |
|
|
|
|
|
@ -36,7 +36,7 @@ namespace Avalonia |
|
|
public class Win32PlatformOptions |
|
|
public class Win32PlatformOptions |
|
|
{ |
|
|
{ |
|
|
public bool UseDeferredRendering { get; set; } = true; |
|
|
public bool UseDeferredRendering { get; set; } = true; |
|
|
public bool AllowEglInitialization { get; set; } |
|
|
public bool AllowEglInitialization { get; set; } = true; |
|
|
public bool? EnableMultitouch { get; set; } |
|
|
public bool? EnableMultitouch { get; set; } |
|
|
public bool OverlayPopups { get; set; } |
|
|
public bool OverlayPopups { get; set; } |
|
|
} |
|
|
} |
|
|
|