CEF4Delphi/demos/Delphi_FMX_Windows/FMXSkiaBrowser/uFMXSkiaBrowser_sp.pas
salvadordf 688c68ab65 Added the FMXSkiaBrowser demo
Added the FMXSkiaBrowser demo. It uses Skia4Delphi to show the web contents.
https://github.com/skia4delphi/skia4delphi
2022-06-02 18:02:58 +02:00

28 lines
716 B
ObjectPascal

unit uFMXSkiaBrowser_sp;
interface
uses
uCEFApplicationCore, uCEFInterfaces, uCEFTypes, uCEFConstants;
procedure CreateGlobalCEFApp;
implementation
procedure CreateGlobalCEFApp;
begin
GlobalCEFApp := TCefApplicationCore.Create;
GlobalCEFApp.WindowlessRenderingEnabled := True;
GlobalCEFApp.EnableHighDPISupport := True;
GlobalCEFApp.ExternalMessagePump := True;
GlobalCEFApp.MultiThreadedMessageLoop := False;
GlobalCEFApp.EnableGPU := True;
{$IFDEF DEBUG}
//GlobalCEFApp.LogFile := 'debug.log';
//GlobalCEFApp.LogSeverity := LOGSEVERITY_INFO;
{$ENDIF}
GlobalCEFApp.StartSubProcess;
end;
end.