You've already forked CEF4Delphi
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:
@@ -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
|
||||
|
@@ -2,7 +2,7 @@
|
||||
"UpdateLazPackages" : [
|
||||
{
|
||||
"ForceNotify" : true,
|
||||
"InternalVersion" : 398,
|
||||
"InternalVersion" : 399,
|
||||
"Name" : "cef4delphi_lazarus.lpk",
|
||||
"Version" : "102.0.9.0"
|
||||
}
|
||||
|
Reference in New Issue
Block a user