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,
|
System.StartUpCopy,
|
||||||
{$ENDIF }
|
{$ENDIF }
|
||||||
FMX.Forms,
|
FMX.Forms,
|
||||||
|
FMX.Types,
|
||||||
Skia.FMX, // This unit comes from the Skia4Delphi project
|
Skia.FMX, // This unit comes from the Skia4Delphi project
|
||||||
uCEFApplication,
|
uCEFApplication,
|
||||||
uCEFFMXWorkScheduler,
|
uCEFFMXWorkScheduler,
|
||||||
@@ -56,7 +57,9 @@ uses
|
|||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
begin
|
begin
|
||||||
// Enable Skia usage.
|
// Enable Skia usage.
|
||||||
|
GlobalUseMetal := True;
|
||||||
|
GlobalUseSkiaRasterWhenAvailable := False;
|
||||||
GlobalUseSkia := True;
|
GlobalUseSkia := True;
|
||||||
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
|
// 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
|
// https://github.com/salvadordf/CEF4Delphi/issues/89
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"UpdateLazPackages" : [
|
"UpdateLazPackages" : [
|
||||||
{
|
{
|
||||||
"ForceNotify" : true,
|
"ForceNotify" : true,
|
||||||
"InternalVersion" : 398,
|
"InternalVersion" : 399,
|
||||||
"Name" : "cef4delphi_lazarus.lpk",
|
"Name" : "cef4delphi_lazarus.lpk",
|
||||||
"Version" : "102.0.9.0"
|
"Version" : "102.0.9.0"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user