Skip to content

Commit

Permalink
include windows gpu support
Browse files Browse the repository at this point in the history
  • Loading branch information
Yatao Li committed May 6, 2019
1 parent a7761cb commit 2a0148c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Editor.xaml.fs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ open Avalonia.Threading
open Avalonia.Platform
open System.Text
open Avalonia.Utilities
open Avalonia.Skia
open FSharp.Control.Reactive

[<Struct>]
Expand Down Expand Up @@ -147,6 +148,7 @@ type Editor() as this =
Point(Math.Ceiling px.X, Math.Ceiling px.Y) / grid_scale

let drawBuffer (ctx: IDrawingContextImpl) row col colend hlid (str: string list) =

let fg, bg, sp, typeface, attrs = getDrawAttrs hlid

let topLeft = getPoint row col |> rounding
Expand Down
1 change: 1 addition & 0 deletions fvim.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

<ItemGroup>
<PackageReference Include="Avalonia" Version="0.8.0" />
<PackageReference Include="Avalonia.Angle.Windows.Natives" Version="2.1.0.2019013001" />
<PackageReference Include="Avalonia.Desktop" Version="0.8.0" />
<PackageReference Include="FSharp.Control.Reactive" Version="4.2.0" />
<PackageReference Include="MessagePack" Version="1.7.3.4" />
Expand Down

0 comments on commit 2a0148c

Please sign in to comment.