1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-08-04 21:32:54 +02:00

Set the GlobalUseSkiaRasterWhenAvailable and GlobalUseMetal values in FMXSkiaBrowser

This commit is contained in:
salvadordf
2022-06-08 16:29:01 +02:00
parent 688c68ab65
commit e470e8a535
2 changed files with 5 additions and 2 deletions

View File

@@ -42,6 +42,7 @@ uses
System.StartUpCopy,
{$ENDIF }
FMX.Forms,
FMX.Types,
Skia.FMX, // This unit comes from the Skia4Delphi project
uCEFApplication,
uCEFFMXWorkScheduler,
@@ -56,7 +57,9 @@ uses
{$ENDIF}
begin
// Enable Skia usage.
// Enable Skia usage.
GlobalUseMetal := True;
GlobalUseSkiaRasterWhenAvailable := False;
GlobalUseSkia := True;
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

View File

@@ -2,7 +2,7 @@
"UpdateLazPackages" : [
{
"ForceNotify" : true,
"InternalVersion" : 398,
"InternalVersion" : 399,
"Name" : "cef4delphi_lazarus.lpk",
"Version" : "102.0.9.0"
}