Table of Contents

Version 2.80.2

Bug-fix release with memory debugging and Uno GPU views · Released September 12, 2020 · NuGet · GitHub Release

Highlights

A stability-focused release fixing numerous bugs across image encoding, text rendering, interop, and native library loading. New memory debugging APIs (SKGraphics, SKTraceMemoryDump) help diagnose GPU memory usage. The Uno Platform views gain GPU support via SKSwapChainPanel and WASM CPU rendering. Two community contributors drove key fixes.

Breaking Changes

None in this release.

New Features

API Surface

  • Memory debugging APIs — Added SKGraphics and SKTraceMemoryDump types, plus memory debugging members on GRContext, for inspecting GPU resource usage.
  • SKColorF extension methods — New extension methods in SkiaSharp.Views to convert between native platform colors and SKColorF.
  • Xamarin.Forms SKColorF extensions — Convert between Xamarin.Forms Color and SKColorF.
  • Replacement methods for obsoleted members — Added new methods to replace previously obsoleted APIs.

Platform

  • Uno Platform WASM CPU views — CPU rendering views for WASM via Uno Platform. ❤️ @jeromelaban ❤️ @ghuntley ❤️ @MartinZikmund
  • Uno Platform GPU views — New SKSwapChainPanel GPU view for Android, iOS, macOS, and WASM.

Bug Fixes

  • SKSurface.Create origin ignored — Fixed the origin parameter being ignored when creating surfaces. ❤️ @Ziriax
  • SKData from non-seekable stream — Fixed exception when creating SKData from a non-seekable stream.
  • SKCanvas.DrawTextOnPath null reference — Fixed NullReferenceException in DrawTextOnPath. ❤️ @Ziriax
  • No-dependency builds using dependencies — Fixed Linux "no dependencies" builds that were still linking against dependencies.
  • Image subset encoding — Fixed an issue where encoding a subset of some images would encode the entire original image instead.
  • Text rendering crashes — Fixed several text rendering issues and crashes.
  • Transitive dependency native binaries — Fixed native binaries not reaching the final app when only referenced as a transitive dependency (also fixed for HarfBuzzSharp).
  • ASP.NET DllNotFoundException — Fixed DllNotFoundException when running in ASP.NET.
  • WASM interop — Fixed invalid interop on WASM for some methods.
  • SKCanvas.DrawPoint layering — Fixed an issue with layering in SKCanvas.DrawPoint.

Platform Support

Platform What's New
🐧 Linux Fixed no-dependency builds
🌐 WebAssembly WASM interop fixes, Uno CPU + GPU views
📦 General Transitive dependency fix for native binaries, ASP.NET loading fix

Community Contributors ❤️

Contributor What They Did
@Ziriax Fixed SKSurface.Create origin and DrawTextOnPath null reference
@jeromelaban Uno Platform WASM CPU views
@ghuntley Uno Platform WASM CPU views
@MartinZikmund Uno Platform WASM CPU views

Preview Build 36 (September 3, 2020)

Stabilization and final bug fixes before the stable release.

Full Changelog


Preview Build 33 (August 25, 2020)

Continued bug fixes and stability improvements.

Full Changelog


Preview Build 19 (August 4, 2020)

Bug fixes for image encoding, text rendering, and native library loading.

Full Changelog


Preview Build 18 (August 2, 2020)

Initial fixes for transitive dependency and ASP.NET loading issues.

Full Changelog


Preview Build 9 (July 27, 2020)

First preview of the 2.80.2 release cycle with early bug fixes.

Full Changelog