mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-16 16:25:57 +01:00
27 lines
665 B
ObjectPascal
27 lines
665 B
ObjectPascal
|
unit uFMXSkiaBrowser_sp;
|
||
|
|
||
|
interface
|
||
|
|
||
|
uses
|
||
|
uCEFApplicationCore, uCEFInterfaces, uCEFTypes, uCEFConstants;
|
||
|
|
||
|
procedure CreateGlobalCEFApp;
|
||
|
|
||
|
implementation
|
||
|
|
||
|
procedure CreateGlobalCEFApp;
|
||
|
begin
|
||
|
GlobalCEFApp := TCefApplicationCore.Create;
|
||
|
GlobalCEFApp.WindowlessRenderingEnabled := 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.
|