Skip to content

Commit 0db36b2

Browse files
committed
CefSettings - Update GPU Disabled comments regarding WebGl
Swiftshader will be used for CPU based software rendering
1 parent 96ab749 commit 0db36b2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

CefSharp.Core/AbstractCefSettings.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,8 @@ namespace CefSharp
404404
}
405405

406406
/// <summary>
407-
/// Set command line argument to disable GPU Acceleration, this will disable WebGL.
407+
/// Set command line argument to disable GPU Acceleration. WebGL will use
408+
/// software rendering via Swiftshader (https://swiftshader.googlesource.com/SwiftShader#introduction)
408409
/// </summary>
409410
void DisableGpuAcceleration()
410411
{
@@ -427,14 +428,14 @@ namespace CefSharp
427428
}
428429

429430
/// <summary>
430-
/// Set command line arguments for best OSR (Offscreen and WPF) Rendering performance This will disable WebGL, look at the source
431-
/// to determine which flags best suite your requirements.
431+
/// Set command line arguments for best OSR (Offscreen and WPF) Rendering performance Swiftshader will be used for WebGL, look at the source
432+
/// to determine which flags best suite your requirements. See https://swiftshader.googlesource.com/SwiftShader#introduction for
433+
/// details on Swiftshader
432434
/// </summary>
433435
void SetOffScreenRenderingBestPerformanceArgs()
434436
{
435437
// Use software rendering and compositing (disable GPU) for increased FPS
436-
// and decreased CPU usage. This will also disable WebGL so remove these
437-
// switches if you need that capability.
438+
// and decreased CPU usage.
438439
// See https://bitbucket.org/chromiumembedded/cef/issues/1257 for details.
439440
if (!_cefCommandLineArgs->ContainsKey("disable-gpu"))
440441
{

0 commit comments

Comments
 (0)