A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cztomczak/cefpython/issues/419 below:

GPUCache/ folder is created when using in-memory cache · Issue #419 · cztomczak/cefpython · GitHub

When ApplicationSettings.cache_path is not set, CEF uses in-memory cache. In such case applications should specify --disable-gpu-shader-disk-cache flag, as in cefclient sample application in upstream.

Code:

    if (!command_line->HasSwitch(switches::kCachePath) &&
        !command_line->HasSwitch("disable-gpu-shader-disk-cache")) {
      // Don't create a "GPUCache" directory when cache-path is unspecified.
      command_line->AppendSwitch("disable-gpu-shader-disk-cache");
    }

Such flag should be added automatically by CEF Python core when it detects that cache_path is not set.

Ref: https://bitbucket.org/chromiumembedded/cef/src/b220672c420ab93a53607d6b213f5e940e0594ed/tests/shared/browser/client_app_browser.cc?at=master&fileviewer=file-view-default


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4