@overwolf/ow-electron-packages-types 1.1.7 → 1.1.8
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 +11 -5
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -3918,6 +3918,7 @@ type ErrorCode =
|
|
|
3918
3918
|
| -999 // Missing binaries required for recording. 'MissingBinaries'
|
|
3919
3919
|
| -998 // Failed to connect to the OBS process. 'ConnectionOBSError'
|
|
3920
3920
|
| -997 // Operation attempted while recording is already running. 'AlreadyRunning'
|
|
3921
|
+
| -996 // Elevated game capture requested while the High Elevation Helper isn't installed. 'ElevationHelperMissing'
|
|
3921
3922
|
| -12 // Attempted to split recording when split recording is disabled. 'SplitRecordingDisabled'
|
|
3922
3923
|
| -11 // One or more required parameters are missing or invalid. 'MissingOrInvalidParameters'
|
|
3923
3924
|
| -10 // No active recording session found. 'NoActiveRecording'
|
|
@@ -5035,6 +5036,8 @@ type GpuPreference = "default" | "highPerformance";
|
|
|
5035
5036
|
* received in-game. The overlay retried, then fell back to the CPU copy path.
|
|
5036
5037
|
* {@link IOverwolfOverlayApi.setGpuPreference} may help when the root cause is
|
|
5037
5038
|
* adapter-related.
|
|
5039
|
+
* - `handleTransportBlocked`—The GPU textures could not be shared with the game
|
|
5040
|
+
* process.
|
|
5038
5041
|
*
|
|
5039
5042
|
* @see {@link IOverwolfOverlayApi.on} `shared-texture-unavailable`.
|
|
5040
5043
|
*
|
|
@@ -5043,7 +5046,8 @@ type GpuPreference = "default" | "highPerformance";
|
|
|
5043
5046
|
type SharedTextureUnavailableReason =
|
|
5044
5047
|
| "unsupportedGraphicsApi"
|
|
5045
5048
|
| "gpuAdapterMismatch"
|
|
5046
|
-
| "copyFailure"
|
|
5049
|
+
| "copyFailure"
|
|
5050
|
+
| "handleTransportBlocked";
|
|
5047
5051
|
|
|
5048
5052
|
|
|
5049
5053
|
|
|
@@ -6208,12 +6212,14 @@ interface IOverwolfOverlayApi extends EventEmitter {
|
|
|
6208
6212
|
* received in-game**. The overlay retried, then abandoned the path for this game.
|
|
6209
6213
|
* {@link IOverwolfOverlayApi.setGpuPreference} may help when the root cause is
|
|
6210
6214
|
* adapter-related; details are in the overlay log.
|
|
6215
|
+
* - `handleTransportBlocked`—the GPU textures **could not be shared with the game
|
|
6216
|
+
* process**.
|
|
6211
6217
|
*
|
|
6212
6218
|
* Fires at most **once per injected game**. The first two reasons are detected when the
|
|
6213
|
-
* game's graphics are detected, before any frame is sent; `copyFailure`
|
|
6214
|
-
* after frames were sent and repeatedly failed to
|
|
6215
|
-
*
|
|
6216
|
-
* they stay visible and interactive, and
|
|
6219
|
+
* game's graphics are detected, before any frame is sent; `copyFailure` and
|
|
6220
|
+
* `handleTransportBlocked` are reached only after frames were sent and repeatedly failed to
|
|
6221
|
+
* arrive or draw. Either way, the affected overlay windows have already been switched to the
|
|
6222
|
+
* CPU copy path by the time the event fires, so they stay visible and interactive, and
|
|
6217
6223
|
* {@link GameWindowInfo.isSharedTextureAvailable} reports `false` for the game.
|
|
6218
6224
|
*
|
|
6219
6225
|
* @param eventName - `shared-texture-unavailable`
|