Skip to content

Commit

Permalink
Update skia to m116 (#2829)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Apr 15, 2024
1 parent bef2eab commit a0f3767
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 27 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ However, these are easy to install as they are found on the various websites. If

Here are some links to show the differences in our code as compared to Google's code.

What version are we on? [**m115**](https://github.com/google/skia/tree/chrome/m115)
Are we up-to-date with Google? [Compare](https://github.com/mono/skia/compare/skiasharp...google:chrome/m115)
What have we added? [Compare](https://github.com/google/skia/compare/chrome/m115...mono:skiasharp)
What version are we on? [**m116**](https://github.com/google/skia/tree/chrome/m116)
Are we up-to-date with Google? [Compare](https://github.com/mono/skia/compare/skiasharp...google:chrome/m116)
What have we added? [Compare](https://github.com/google/skia/compare/chrome/m116...mono:skiasharp)
20 changes: 0 additions & 20 deletions binding/SkiaSharp/SKImageFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,6 @@ public static SKImageFilter CreateMatrix (in SKMatrix matrix, SKSamplingOptions
return GetObject (SkiaApi.sk_imagefilter_new_matrix_transform (m, &sampling, input?.Handle ?? IntPtr.Zero));
}


// CreateAlphaThreshold

[Obsolete("Use CreateAlphaThreshold(SKRegion, float, float, SKImageFilter) instead.", true)]
public static SKImageFilter CreateAlphaThreshold(SKRectI region, float innerThreshold, float outerThreshold, SKImageFilter? input)
{
var reg = new SKRegion ();
reg.SetRect (region);
return CreateAlphaThreshold (reg, innerThreshold, outerThreshold, input);
}

public static SKImageFilter CreateAlphaThreshold (SKRegion region, float innerThreshold, float outerThreshold) =>
CreateAlphaThreshold (region, innerThreshold, outerThreshold, null);

public static SKImageFilter CreateAlphaThreshold (SKRegion region, float innerThreshold, float outerThreshold, SKImageFilter? input)
{
_ = region ?? throw new ArgumentNullException (nameof (region));
return GetObject (SkiaApi.sk_imagefilter_new_alpha_threshold (region.Handle, innerThreshold, outerThreshold, input?.Handle ?? IntPtr.Zero));
}

// CreateBlur

public static SKImageFilter CreateBlur (float sigmaX, float sigmaY) =>
Expand Down
2 changes: 1 addition & 1 deletion externals/skia
Submodule skia updated 1306 files
6 changes: 3 additions & 3 deletions scripts/VERSIONS.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# dependencies
mdoc release 5.8.9
harfbuzz release 8.3.0
skia release m115
skia release m116
xunit release 2.4.2
xunit.runner.console release 2.4.2
OpenTK release 3.1.0
Expand All @@ -23,12 +23,12 @@ ANGLE release chromium/6275
# this is related to the API versions, not the library versions
# - milestone: the skia milestone determined by Google/Chromium
# - increment: the C API version increment caused by new APIs (externals\skia\include\c\sk_types.h)
libSkiaSharp milestone 115
libSkiaSharp milestone 116
libSkiaSharp increment 0

# native sonames
# <milestone>.<increment>.0
libSkiaSharp soname 115.0.0
libSkiaSharp soname 116.0.0
# 0.<60000 + major*100 + minor*10 + micro>.0
HarfBuzz soname 0.60830.0

Expand Down

0 comments on commit a0f3767

Please sign in to comment.