Skip to content

Commit cea9dea

Browse files
authored
Disable GPU compositing in CEF (#4825)
Potential fix for regressions in #4634
1 parent 491bddb commit cea9dea

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Client/cefweb/CWebApp.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,13 @@ namespace
101101
if (disableGpu)
102102
{
103103
commandLine->AppendSwitch("disable-gpu");
104-
// Also disable GPU compositing when GPU is disabled
105-
commandLine->AppendSwitch("disable-gpu-compositing");
106104
}
107105

106+
// Disable GPU compositing in all cases.
107+
// This keeps Chromium's compositor on the software path even when GPU
108+
// rendering stays enabled for other browser pipelines.
109+
commandLine->AppendSwitch("disable-gpu-compositing");
110+
108111
// Hardware video decoding - enable when GPU is enabled and video acceleration is requested
109112
if (!disableGpu && enableVideoAccel)
110113
{

0 commit comments

Comments
 (0)