@overwolf/ow-electron-packages-types 1.1.14-beta.0 → 1.1.14-beta.1
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 +6 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overwolf/ow-electron-packages-types",
|
|
3
|
-
"version": "1.1.14-beta.
|
|
3
|
+
"version": "1.1.14-beta.1",
|
|
4
4
|
"description": "Type definition file for autocompletion and documentation purposes for ow-electron packages",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"types": "types.d.ts",
|
package/types.d.ts
CHANGED
|
@@ -5572,8 +5572,8 @@ type GpuPreference = "default" | "highPerformance";
|
|
|
5572
5572
|
* Why the shared-texture rendering path cannot be used with the current game.
|
|
5573
5573
|
*
|
|
5574
5574
|
* - `unsupportedGraphicsApi`—The game's graphics API cannot composite GPU textures
|
|
5575
|
-
* (D3D9 /
|
|
5576
|
-
* game.
|
|
5575
|
+
* (D3D9 / Vulkan, or OpenGL on a GPU driver without `WGL_NV_DX_interop2`). Nothing to
|
|
5576
|
+
* fix; the overlay uses the CPU copy path for this game.
|
|
5577
5577
|
* - `gpuAdapterMismatch`—The game renders on a different GPU adapter than Chromium,
|
|
5578
5578
|
* and a shared texture handle can only be opened on the adapter that created it. Fixable
|
|
5579
5579
|
* with {@link IOverwolfOverlayApi.setGpuPreference} and an application restart, or from
|
|
@@ -6085,7 +6085,8 @@ interface GameWindowInfo {
|
|
|
6085
6085
|
|
|
6086
6086
|
/**
|
|
6087
6087
|
* Indicates whether the game's **graphics API** supports shared-texture (GPU) overlay
|
|
6088
|
-
* rendering: `true` for D3D11 / D3D12,
|
|
6088
|
+
* rendering: `true` for D3D11 / D3D12, and for OpenGL when the GPU driver supports
|
|
6089
|
+
* `WGL_NV_DX_interop2`; `false` for D3D9 / Vulkan and for OpenGL without it.
|
|
6089
6090
|
*
|
|
6090
6091
|
* This is a capability probe only — to decide whether the path can actually be used
|
|
6091
6092
|
* on this machine, gate on {@link GameWindowInfo.isSharedTextureAvailable} instead.
|
|
@@ -6819,7 +6820,8 @@ interface IOverwolfOverlayApi extends EventEmitter {
|
|
|
6819
6820
|
* the reason:
|
|
6820
6821
|
*
|
|
6821
6822
|
* - `unsupportedGraphicsApi`—the game's graphics API cannot composite GPU textures
|
|
6822
|
-
* (D3D9 / OpenGL
|
|
6823
|
+
* (D3D9 / Vulkan, or OpenGL on a GPU driver without `WGL_NV_DX_interop2`). Nothing to
|
|
6824
|
+
* fix.
|
|
6823
6825
|
* - `gpuAdapterMismatch`—the game renders on a **different GPU adapter than
|
|
6824
6826
|
* Chromium**; a shared texture handle can only be opened on the adapter that created it.
|
|
6825
6827
|
* Fixable with {@link IOverwolfOverlayApi.setGpuPreference} and a restart, or from the
|