CEF

3770
Mac OS X Setup

cd ~/code/chromium_git/chromium/src
ninja -C out/Release_GN_x64 cef
Build Settings
Entitlements
Command line arguments
const int argc = 4;
const char *argv[argc] = {[[[NSProcessInfo processInfo] arguments][0] UTF8String],"--use-mock-keychain","--enable-media-stream","--disable-gpu-compositing"};
CefSettings
CefSettings settings;
settings.windowless_rendering_enabled = true;
CefString(&settings.cache_path) = cache_path;
CefBrowserSettings
CefBrowserSettings browserSettings;
browserSettings.web_security = STATE_ENABLED;
browserSettings.webgl = STATE_ENABLED;
browserSettings.plugins = STATE_ENABLED;
browserSettings.javascript = STATE_ENABLED;
browserSettings.windowless_frame_rate = 30;
Code Signing

Using QtWebEngine on the Mac App Store
Even if work is done to bypass the App Store's restrictions, that would not guarantee correct behavior of the library.

Options
"ffmpeg_branding":"Chrome",
"proprietary_codecs":True

def GetRequiredArgs(): in /code/chromium/src/cef/tools/gn_args.py

Distribution
$ cd /Users/imfinity/-dir/chromium/src/cef/tools
$ ./make_distrib.sh --ninja-build --x64-build

/code/chromium_git/chromium/src/cef/binary_distrib/

Reference

課題

cef build from source : generate xcode project

WKWebView

Offscreen rendering is not supported.
Software snapshot will not capture elements rendered with hardware acceleration (WebGL, video, etc).