delphiskiadelphi-12-athensskia4delphitpaintbox

Does GlobalUseSkia activate Skia for everything or only Skia components in Delphi FMX?


I found that I can do GlobalUseSkia := True to use Skia that is a lot better for performance, but is this for everything on my form or only Skia components?

Will my TPaintBox and other standard components also benefit from this?


Solution

  • is this for everything on my form

    Yes.

    GlobalUseSkia := True works for most components.

    Will my TPaintBox and other standard components also benefit from this?

    Enabling Skia will replace FireMonkey’s default canvas with Skia's canvas implementation. This applies to all FMX controls that use the standard TCanvas API, not just Skia controls. That means your TPaintBox and other standard FMX controls will also render through Skia once this flag is set.


    Longer explanation: