Skip to content

6.0.0

Compare
Choose a tag to compare
@viniciusfbb viniciusfbb released this 12 Nov 02:16
· 21 commits to main since this release

v6.0.0

  • Added official support for RAD 12 Athens; Library

From Beta 5

  • Updated to latest libwebp (v1.3.2); API
  • Improved performance of FMX texts; FMX Render
  • Fixed memory leak using Skia Metal; FMX Render
  • Fixed tab character as a square on Skia render and on TSkLabel control; #270 FMX Render Controls
  • Fixed TSkSvgBrush.WrapMode=Stretch; #228 Controls
  • Fixed autosize of TSkLabel and improve draw quality using default FMX render; #229 Controls
  • Fixed TSkImage.MakeFromPicture; #226 API
  • Fixed property editor of text/caption of TSkLabel; Controls
  • Fixed macOS warning using Skia Metal; FMX Render
  • Fixed code of documentation; Documentation
  • Replaced assets of demo with similar ones with permissive licenses; Samples
  • Replaced DisposeOf by Free to ensure compatibility with RAD 12; Library

From Beta 4

  • Added "GlobalSkiaBitmapsInParallel" as experimental for RAD Studio 12 Beta; FMX Render
  • Fixed vulnerability on libwebp (CVE-2023-4863); Library
  • Fixed startup exception with OpenGL on VirtualBox and Hyper-V; Library
  • Fixed Linux pixel format (thanks to @eugenekryukov); FMX Render
  • Fixed trailing horizontal align; FMX Render
  • Fixed TSkImage.MakeFromRaster, TSkImage.MakeFromTexture and TSkSurface.MakeRasterDirect (thanks to Dmitry Arefiev); #252 API
  • Fixed TSkLabel.TCustomWordsItem.OnClick; #262 Controls
  • Fixed lines performance on Windows raster; FMX Render
  • Fixed compatibility with RAD Studio 12 Beta; Library

From Beta 3

  • Added workflows on Github Actions to compile and test each commit and to build the production setup; CI
  • Added basic support for FPC (thanks to Mattias Gaertner); Library
  • Improved iOS/iOSSimulator static linkage; API
  • Fixed SkPath.IsLine; API
  • Fixed TSkSamplingOptions consts; API
  • Fixed SkUnicode.GetBreaks; API
  • Fixed TSkImageInfo.IsValid; API
  • Fixed FMX support for RAD 10 Seattle and older; FMX Render
  • Fixed unit tests on RAD 10.3 Rio and older; Tests
  • Minor fixes and improvements on API side; API

From Beta 2

  • Fixed AV at app startup with metal on iOS and macOS; #242 FMX Render
  • Fixed Android crash when restored from background; #225 FMX Render
  • Fixed macOS universal binary; Library
  • Added Mac App Store manual signature instructions; #233 Documentation

From Beta 1

  • Renamed units (Skia.pas -> System.Skia, Skia.FMX.* -> FMX.Skia.*, Skia.Vcl.pas -> Vcl.Skia.pas); Library
  • Added skia render to FMXLinux (only raster) (thanks @eugenekryukov); #221 FMX Render
  • Rewritted the SkRuntimeEffects to have the same structure as the original API, with the new classes SkRuntimeShaderBuilder and SkRuntimeBlenderBuilder; API
  • Fixed bitmap draws; FMX Render #217
  • Fixed performance issue with bitmaps in TBrush; FMX Render
  • Fixed Linux compilation; #216 #238 Library
  • Fixed crash deleting text of TEdit or TMemo; #214 FMX Render
  • Fixed text decoration color using TTextAttribute; FMX Render
  • Fixed linear gradient; #224 FMX Render
  • Fixed SkRuntimeEffect.GetUniformName; API
  • Fixed path tests; Tests
  • Minor improvements.

Skia version: 107.3.2

RAD Studio 12.0 Athens

Embarcadero has integrated Skia4Delphi into RAD Studio in its new release RAD Studio 12.0 Athens introducing this version of Skia4Delphi, v6.0.0, and adding some extra units with exclusive Embarcadero features.

Compatibility break

  1. Units renamed
    Embarcadero integrated Skia4Delphi into RAD Studio 12 Athens and to improve the integration of the opensource project with the integrated version of the RAD Studio 12 Athens, we decided to keep the new unit names adopted by Embarcadero:

    • Skia.pas ➜ System.Skia.pas
    • Skia.API.pas ➜ System.Skia.API.pas
    • Skia.FMX.pas ➜ FMX.Skia.pas
    • Skia.FMX.Graphics.pas ➜ FMX.Skia.Canvas.pas
    • Skia.FMX.Canvas.GL.pas ➜ FMX.Skia.Canvas.GL.pas
    • Skia.FMX.Canvas.Metal.pas ➜ FMX.Skia.Canvas.Metal.pas
    • Skia.Vcl.pas ➜ Vcl.Skia.pas
  2. SkRuntimeEffect rewritted
    The SkRuntimeEffect structure was rewritten following the same structure as the original Google Skia API, to facilitate future updates and allow better integration with other APIs (such as SkImageFilter for example). Now the SkRuntimeEffect just loads the SKSL code, then the SkRuntimeShaderBuilder must be used to allocate and change the uniforms and then create the shader. See examples of the new functionality in our demos.

Installation

Just download and run the Skia4Delphi_6.0.0_Setup.exe attached.