We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c7f663 commit 11a3011Copy full SHA for 11a3011
src/vector/platform/ElectronPlatform.tsx
@@ -414,6 +414,18 @@ export default class ElectronPlatform extends VectorBasePlatform {
414
return this.ipcCall('setMinimizeToTrayEnabled', enabled);
415
}
416
417
+ public supportsTogglingHardwareAcceleration(): boolean {
418
+ return true;
419
+ }
420
+
421
+ public async getHardwareAccelerationEnabled(): Promise<boolean> {
422
+ return this.ipcCall('getHardwareAccelerationEnabled');
423
424
425
+ public async setHardwareAccelerationEnabled(enabled: boolean): Promise<void> {
426
+ return this.ipcCall('setHardwareAccelerationEnabled', enabled);
427
428
429
async canSelfUpdate(): Promise<boolean> {
430
const feedUrl = await this.ipcCall('getUpdateFeedUrl');
431
return Boolean(feedUrl);
0 commit comments