documentation/docfx/releases/1.68.0.md
Major Skia engine upgrade · Released December 4, 2018 · NuGet · GitHub Release
This release upgrades SkiaSharp to Skia milestone 68, bringing a completely rewritten GPU surface creation pipeline, significant text API improvements, and major file I/O performance gains. The GPU backend changes modernize hardware-accelerated rendering across all platforms, while new SKTextBlob support lays the groundwork for advanced text layout. Linux users gain first-class NuGet packaging, and Windows Classic apps no longer require a separate Visual C++ Runtime install.
GRBackendRenderTargetDesc deprecated — Replaced by GRBackendRenderTarget. The new type provides a cleaner, more explicit API for describing render targets. See the GPU migration guide for details.GRBackendTextureDesc deprecated — Replaced by GRBackendTexture. Update all GPU texture creation code to use the new type.SKPaintGLSurfaceEventArgs updated — Event args now surface the new GPU types. Existing handlers should migrate to the new properties.Index8) removed — Skia m68 dropped support for indexed color. Convert indexed images to a full-color type (Rgba8888, Bgra8888, etc.) before use.SKColorTable removed — Color tables are no longer supported. Any code referencing SKColorTable must be updated to use direct pixel formats.SKSurfaceProps struct superseded — Use the new SKSurfaceProperties class instead. The class provides the same functionality with a richer API.OnPaintSurface instead.OnPaintSurface instead.GRBackendRenderTarget and GRBackendTexture, providing better device compatibility and clearer semantics. See the GPU migration guide.SKPixmap, SKImage, and SKBitmap all support ScalePixels for high-quality image resizing.SKTextBlob and SKTextBlobBuilder — First-class text blob support, enabling efficient batched text rendering and laying the foundation for advanced text layout.SKPaint text API — New methods: BreakText, GetGlyphs, CountGlyphs, ContainsGlyphs, GetGlyphWidths, GetTextIntercepts, GetPositionedTextIntercepts, GetHorizontalTextIntercepts.SKTypeface text API — New methods: GetGlyphs, CountGlyphs.SKFontManager enhancements — Load entire font family sets via SKFontStyleSet and match characters more precisely.SKImage creation — New overloads simplify image decoding and creation from various sources.SKDocumentPdfMetadata — New creation options for PDF document metadata (title, author, subject, etc.).SkiaSharp.NativeAssets.Linux package ships pre-built Ubuntu 16.04 amd64 binaries, with support for most Debian-based distributions. (#312)SKGLView transparency — The Xamarin.Forms SKGLView on Android is now a transparent view.OnPaintSurface pattern — All views now prefer OnPaintSurface as the primary override point for drawing.Release candidate build containing all features and fixes that shipped in the stable 1.68.0 release.