@overwolf/ow-electron-packages-types 1.1.5-beta.2 → 1.1.5-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types.d.ts +19 -9
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { overwolf } from '@overwolf/ow-electron';
|
|
2
1
|
import type {
|
|
3
2
|
BrowserWindow,
|
|
4
3
|
BrowserWindowConstructorOptions,
|
|
@@ -4966,15 +4965,26 @@ interface OverlayWindowOptions
|
|
|
4966
4965
|
*/
|
|
4967
4966
|
name: string;
|
|
4968
4967
|
|
|
4969
|
-
/**
|
|
4970
|
-
*
|
|
4971
|
-
*
|
|
4972
|
-
*
|
|
4968
|
+
/**
|
|
4969
|
+
* `true`—disables hardware (GPU) acceleration for this overlay window
|
|
4970
|
+
* only, rendering it via software (CPU) compositing. Unlike
|
|
4971
|
+
* `app.disableHardwareAcceleration()`, this is scoped to the single window and
|
|
4972
|
+
* does not affect the rest of the application.
|
|
4973
|
+
*
|
|
4974
|
+
* Note: shared-texture windows require hardware acceleration to be enabled.
|
|
4975
|
+
* Disabling it turns off the GPU-backed shared-texture path, so this option is
|
|
4976
|
+
* incompatible with (and ignored for) windows that render via a shared
|
|
4977
|
+
* texture.
|
|
4978
|
+
*
|
|
4979
|
+
* Requires ow-electron >= 39.8.10; ignored on earlier versions.
|
|
4980
|
+
*
|
|
4981
|
+
* @default false
|
|
4982
|
+
*
|
|
4983
|
+
* @since 1.13.20
|
|
4973
4984
|
*/
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
/**
|
|
4985
|
+
disableHardwareAcceleration?: boolean;
|
|
4986
|
+
|
|
4987
|
+
/**
|
|
4978
4988
|
* Enables Chromium process isolation (sandboxing).
|
|
4979
4989
|
* Used to enforce stricter security policies or prevent resource sharing between renderer processes.
|
|
4980
4990
|
*/
|