mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-26 08:51:22 -06:00
RTC-13931 Disable D3D11 by default
This commit is contained in:
parent
66900b0aab
commit
cae0c8b2f7
@ -111,8 +111,8 @@ describe('chrome flags', () => {
|
||||
});
|
||||
const spy = jest.spyOn(app.commandLine, 'appendSwitch');
|
||||
setChromeFlags();
|
||||
expect(spy).nthCalledWith(5, 'disable-renderer-backgrounding', 'true');
|
||||
expect(spy).not.nthCalledWith(6);
|
||||
expect(spy).nthCalledWith(6, 'disable-renderer-backgrounding', 'true');
|
||||
expect(spy).not.nthCalledWith(7);
|
||||
});
|
||||
|
||||
it('should set `disable-renderer-backgrounding` chrome flag correctly when cloud config PMP setting is ENABLED', () => {
|
||||
@ -145,8 +145,8 @@ describe('chrome flags', () => {
|
||||
});
|
||||
const spy = jest.spyOn(app.commandLine, 'appendSwitch');
|
||||
setChromeFlags();
|
||||
expect(spy).nthCalledWith(5, 'disable-renderer-backgrounding', 'true');
|
||||
expect(spy).not.nthCalledWith(6);
|
||||
expect(spy).nthCalledWith(6, 'disable-renderer-backgrounding', 'true');
|
||||
expect(spy).not.nthCalledWith(7);
|
||||
});
|
||||
|
||||
it('should set `disable-renderer-backgrounding` chrome flag when PMP is ENABLED', () => {
|
||||
@ -167,8 +167,8 @@ describe('chrome flags', () => {
|
||||
});
|
||||
const spy = jest.spyOn(app.commandLine, 'appendSwitch');
|
||||
setChromeFlags();
|
||||
expect(spy).nthCalledWith(5, 'disable-renderer-backgrounding', 'true');
|
||||
expect(spy).not.nthCalledWith(6);
|
||||
expect(spy).nthCalledWith(6, 'disable-renderer-backgrounding', 'true');
|
||||
expect(spy).not.nthCalledWith(7);
|
||||
});
|
||||
|
||||
describe('`isDevEnv`', () => {
|
||||
|
@ -42,7 +42,7 @@ export const setChromeFlags = () => {
|
||||
flagsConfig.customFlags.authNegotiateDelegateWhitelist,
|
||||
'auth-server-whitelist': flagsConfig.customFlags.authServerWhitelist,
|
||||
'disable-background-timer-throttling': 'true',
|
||||
'disable-d3d11': flagsConfig.disableGpu || null,
|
||||
'disable-d3d11': true,
|
||||
'disable-gpu': flagsConfig.disableGpu || null,
|
||||
'disable-gpu-compositing': flagsConfig.disableGpu || null,
|
||||
'enable-blink-features': 'RTCInsertableStreams',
|
||||
|
Loading…
Reference in New Issue
Block a user