@webref/idl 3.33.0 → 3.33.3
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/attribution-reporting-api.idl +15 -1
- package/css-cascade-6.idl +2 -2
- package/css-cascade.idl +0 -4
- package/cssom.idl +3 -1
- package/fenced-frame.idl +7 -4
- package/fs.idl +4 -0
- package/html.idl +8 -0
- package/mediastream-recording.idl +2 -0
- package/package.json +1 -1
- package/scroll-animations.idl +5 -1
- package/secure-payment-confirmation.idl +4 -0
- package/turtledove.idl +18 -8
- package/webauthn.idl +37 -0
- package/webcodecs-av1-codec-registration.idl +8 -0
- package/webcodecs-avc-codec-registration.idl +8 -0
- package/webcodecs.idl +1 -0
- package/webgpu.idl +124 -72
- package/webnn.idl +1 -6
- package/webrtc-encoded-transform.idl +2 -1
- package/webrtc-stats.idl +2 -0
|
@@ -4,9 +4,23 @@
|
|
|
4
4
|
// Source: Attribution Reporting (https://wicg.github.io/attribution-reporting-api/)
|
|
5
5
|
|
|
6
6
|
interface mixin HTMLAttributionSrcElementUtils {
|
|
7
|
-
[CEReactions] attribute USVString attributionSrc;
|
|
7
|
+
[CEReactions, SecureContext] attribute USVString attributionSrc;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
HTMLAnchorElement includes HTMLAttributionSrcElementUtils;
|
|
11
11
|
HTMLImageElement includes HTMLAttributionSrcElementUtils;
|
|
12
12
|
HTMLScriptElement includes HTMLAttributionSrcElementUtils;
|
|
13
|
+
|
|
14
|
+
dictionary AttributionReportingRequestOptions {
|
|
15
|
+
required boolean eventSourceEligible;
|
|
16
|
+
required boolean triggerEligible;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
partial dictionary RequestInit {
|
|
20
|
+
AttributionReportingRequestOptions attributionReporting;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
partial interface XMLHttpRequest {
|
|
24
|
+
[SecureContext]
|
|
25
|
+
undefined setAttributionReporting(AttributionReportingRequestOptions options);
|
|
26
|
+
};
|
package/css-cascade-6.idl
CHANGED
package/css-cascade.idl
CHANGED
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: CSS Cascading and Inheritance Level 5 (https://drafts.csswg.org/css-cascade-5/)
|
|
5
5
|
|
|
6
|
-
partial interface CSSImportRule {
|
|
7
|
-
readonly attribute CSSOMString? layerName;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
6
|
[Exposed=Window]
|
|
11
7
|
interface CSSLayerBlockRule : CSSGroupingRule {
|
|
12
8
|
readonly attribute CSSOMString name;
|
package/cssom.idl
CHANGED
|
@@ -98,7 +98,9 @@ interface CSSStyleRule : CSSRule {
|
|
|
98
98
|
interface CSSImportRule : CSSRule {
|
|
99
99
|
readonly attribute USVString href;
|
|
100
100
|
[SameObject, PutForwards=mediaText] readonly attribute MediaList media;
|
|
101
|
-
[SameObject] readonly attribute CSSStyleSheet styleSheet;
|
|
101
|
+
[SameObject] readonly attribute CSSStyleSheet? styleSheet;
|
|
102
|
+
readonly attribute CSSOMString? layerName;
|
|
103
|
+
readonly attribute CSSOMString? supportsText;
|
|
102
104
|
};
|
|
103
105
|
|
|
104
106
|
[Exposed=Window]
|
package/fenced-frame.idl
CHANGED
|
@@ -15,14 +15,17 @@ interface HTMLFencedFrameElement : HTMLElement {
|
|
|
15
15
|
enum OpaqueProperty {"opaque"};
|
|
16
16
|
|
|
17
17
|
typedef (unsigned long or OpaqueProperty) FencedFrameConfigSize;
|
|
18
|
-
typedef
|
|
18
|
+
typedef USVString FencedFrameConfigURL;
|
|
19
19
|
|
|
20
20
|
[Exposed=Window]
|
|
21
21
|
interface FencedFrameConfig {
|
|
22
|
-
constructor(USVString url);
|
|
23
22
|
readonly attribute FencedFrameConfigURL? url;
|
|
24
|
-
readonly attribute FencedFrameConfigSize?
|
|
25
|
-
readonly attribute FencedFrameConfigSize?
|
|
23
|
+
readonly attribute FencedFrameConfigSize? containerWidth;
|
|
24
|
+
readonly attribute FencedFrameConfigSize? containerHeight;
|
|
25
|
+
readonly attribute FencedFrameConfigSize? contentWidth;
|
|
26
|
+
readonly attribute FencedFrameConfigSize? contentHeight;
|
|
27
|
+
|
|
28
|
+
undefined setSharedStorageContext(DOMString contextString);
|
|
26
29
|
};
|
|
27
30
|
|
|
28
31
|
enum FenceReportingDestination {
|
package/fs.idl
CHANGED
|
@@ -15,6 +15,7 @@ interface FileSystemHandle {
|
|
|
15
15
|
|
|
16
16
|
Promise<boolean> isSameEntry(FileSystemHandle other);
|
|
17
17
|
};
|
|
18
|
+
|
|
18
19
|
dictionary FileSystemCreateWritableOptions {
|
|
19
20
|
boolean keepExistingData = false;
|
|
20
21
|
};
|
|
@@ -26,6 +27,7 @@ interface FileSystemFileHandle : FileSystemHandle {
|
|
|
26
27
|
[Exposed=DedicatedWorker]
|
|
27
28
|
Promise<FileSystemSyncAccessHandle> createSyncAccessHandle();
|
|
28
29
|
};
|
|
30
|
+
|
|
29
31
|
dictionary FileSystemGetFileOptions {
|
|
30
32
|
boolean create = false;
|
|
31
33
|
};
|
|
@@ -49,6 +51,7 @@ interface FileSystemDirectoryHandle : FileSystemHandle {
|
|
|
49
51
|
|
|
50
52
|
Promise<sequence<USVString>?> resolve(FileSystemHandle possibleDescendant);
|
|
51
53
|
};
|
|
54
|
+
|
|
52
55
|
enum WriteCommandType {
|
|
53
56
|
"write",
|
|
54
57
|
"seek",
|
|
@@ -70,6 +73,7 @@ interface FileSystemWritableFileStream : WritableStream {
|
|
|
70
73
|
Promise<undefined> seek(unsigned long long position);
|
|
71
74
|
Promise<undefined> truncate(unsigned long long size);
|
|
72
75
|
};
|
|
76
|
+
|
|
73
77
|
dictionary FileSystemReadWriteOptions {
|
|
74
78
|
[EnforceRange] unsigned long long at;
|
|
75
79
|
};
|
package/html.idl
CHANGED
|
@@ -1643,6 +1643,14 @@ dictionary ValidityStateFlags {
|
|
|
1643
1643
|
boolean customError = false;
|
|
1644
1644
|
};
|
|
1645
1645
|
|
|
1646
|
+
[Exposed=(Window)]
|
|
1647
|
+
interface VisibilityStateEntry : PerformanceEntry {
|
|
1648
|
+
readonly attribute DOMString name; // shadows inherited name
|
|
1649
|
+
readonly attribute DOMString entryType; // shadows inherited entryType
|
|
1650
|
+
readonly attribute DOMHighResTimeStamp startTime; // shadows inherited startTime
|
|
1651
|
+
readonly attribute unsigned long duration; // shadows inherited duration
|
|
1652
|
+
};
|
|
1653
|
+
|
|
1646
1654
|
[Exposed=Window]
|
|
1647
1655
|
interface UserActivation {
|
|
1648
1656
|
readonly attribute boolean hasBeenActive;
|
|
@@ -34,6 +34,8 @@ dictionary MediaRecorderOptions {
|
|
|
34
34
|
unsigned long videoBitsPerSecond;
|
|
35
35
|
unsigned long bitsPerSecond;
|
|
36
36
|
BitrateMode audioBitrateMode = "variable";
|
|
37
|
+
DOMHighResTimeStamp videoKeyFrameIntervalDuration;
|
|
38
|
+
unsigned long videoKeyFrameIntervalCount;
|
|
37
39
|
};
|
|
38
40
|
|
|
39
41
|
enum BitrateMode {
|
package/package.json
CHANGED
package/scroll-animations.idl
CHANGED
|
@@ -36,7 +36,11 @@ interface ViewTimeline : ScrollTimeline {
|
|
|
36
36
|
readonly attribute CSSNumericValue endOffset;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
+
dictionary AnimationTimeOptions {
|
|
40
|
+
DOMString? range;
|
|
41
|
+
};
|
|
42
|
+
|
|
39
43
|
[Exposed=Window]
|
|
40
44
|
partial interface AnimationTimeline {
|
|
41
|
-
CSSNumericValue? getCurrentTime(optional
|
|
45
|
+
CSSNumericValue? getCurrentTime(optional AnimationTimeOptions options = {});
|
|
42
46
|
};
|
|
@@ -15,6 +15,7 @@ dictionary SecurePaymentConfirmationRequest {
|
|
|
15
15
|
sequence<USVString> locale;
|
|
16
16
|
boolean showOptOut;
|
|
17
17
|
};
|
|
18
|
+
|
|
18
19
|
partial dictionary AuthenticationExtensionsClientInputs {
|
|
19
20
|
AuthenticationExtensionsPaymentInputs payment;
|
|
20
21
|
};
|
|
@@ -30,9 +31,11 @@ dictionary AuthenticationExtensionsPaymentInputs {
|
|
|
30
31
|
PaymentCurrencyAmount total;
|
|
31
32
|
PaymentCredentialInstrument instrument;
|
|
32
33
|
};
|
|
34
|
+
|
|
33
35
|
dictionary CollectedClientPaymentData : CollectedClientData {
|
|
34
36
|
required CollectedClientAdditionalPaymentData payment;
|
|
35
37
|
};
|
|
38
|
+
|
|
36
39
|
dictionary CollectedClientAdditionalPaymentData {
|
|
37
40
|
required USVString rpId;
|
|
38
41
|
required USVString topOrigin;
|
|
@@ -41,6 +44,7 @@ dictionary CollectedClientAdditionalPaymentData {
|
|
|
41
44
|
required PaymentCurrencyAmount total;
|
|
42
45
|
required PaymentCredentialInstrument instrument;
|
|
43
46
|
};
|
|
47
|
+
|
|
44
48
|
dictionary PaymentCredentialInstrument {
|
|
45
49
|
required USVString displayName;
|
|
46
50
|
required USVString icon;
|
package/turtledove.idl
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED CONTENT - DO NOT EDIT
|
|
2
2
|
// Content was automatically extracted by Reffy into webref
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: FLEDGE (https://wicg.github.io/turtledove/)
|
|
4
|
+
// Source: Protected Audience (formerly FLEDGE) (https://wicg.github.io/turtledove/)
|
|
5
5
|
|
|
6
6
|
[SecureContext]
|
|
7
7
|
partial interface Navigator {
|
|
@@ -67,9 +67,15 @@ dictionary AuctionAdConfig {
|
|
|
67
67
|
AbortSignal? signal;
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
+
[Exposed=InterestGroupScriptRunnerGlobalScope]
|
|
71
|
+
interface InterestGroupScriptRunnerGlobalScope {
|
|
72
|
+
};
|
|
73
|
+
|
|
70
74
|
[Exposed=InterestGroupBiddingScriptRunnerGlobalScope,
|
|
71
|
-
Global=
|
|
72
|
-
|
|
75
|
+
Global=(InterestGroupScriptRunnerGlobalScope,
|
|
76
|
+
InterestGroupBiddingScriptRunnerGlobalScope)]
|
|
77
|
+
interface InterestGroupBiddingScriptRunnerGlobalScope
|
|
78
|
+
: InterestGroupScriptRunnerGlobalScope {
|
|
73
79
|
boolean setBid();
|
|
74
80
|
boolean setBid(GenerateBidOutput generateBidOutput);
|
|
75
81
|
undefined setPriority(double priority);
|
|
@@ -77,13 +83,17 @@ interface InterestGroupBiddingScriptRunnerGlobalScope {
|
|
|
77
83
|
};
|
|
78
84
|
|
|
79
85
|
[Exposed=InterestGroupScoringScriptRunnerGlobalScope,
|
|
80
|
-
Global=
|
|
81
|
-
|
|
86
|
+
Global=(InterestGroupScriptRunnerGlobalScope,
|
|
87
|
+
InterestGroupScoringScriptRunnerGlobalScope)]
|
|
88
|
+
interface InterestGroupScoringScriptRunnerGlobalScope
|
|
89
|
+
: InterestGroupScriptRunnerGlobalScope {
|
|
82
90
|
};
|
|
83
91
|
|
|
84
92
|
[Exposed=InterestGroupReportingScriptRunnerGlobalScope,
|
|
85
|
-
Global=
|
|
86
|
-
|
|
93
|
+
Global=(InterestGroupScriptRunnerGlobalScope,
|
|
94
|
+
InterestGroupReportingScriptRunnerGlobalScope)]
|
|
95
|
+
interface InterestGroupReportingScriptRunnerGlobalScope
|
|
96
|
+
: InterestGroupScriptRunnerGlobalScope {
|
|
87
97
|
undefined sendReportTo(DOMString url);
|
|
88
98
|
};
|
|
89
99
|
|
|
@@ -96,7 +106,7 @@ dictionary AdRender {
|
|
|
96
106
|
dictionary GenerateBidOutput {
|
|
97
107
|
required double bid;
|
|
98
108
|
required (DOMString or AdRender) adRender;
|
|
99
|
-
|
|
109
|
+
any ad;
|
|
100
110
|
sequence<(DOMString or AdRender)> adComponents;
|
|
101
111
|
double adCost;
|
|
102
112
|
double modelingSignals;
|
package/webauthn.idl
CHANGED
|
@@ -12,6 +12,7 @@ interface PublicKeyCredential : Credential {
|
|
|
12
12
|
static Promise<boolean> isConditionalMediationAvailable();
|
|
13
13
|
PublicKeyCredentialJSON toJSON();
|
|
14
14
|
};
|
|
15
|
+
|
|
15
16
|
typedef DOMString Base64URLString;
|
|
16
17
|
typedef (RegistrationResponseJSON or AuthenticationResponseJSON) PublicKeyCredentialJSON;
|
|
17
18
|
|
|
@@ -48,15 +49,19 @@ dictionary AuthenticatorAssertionResponseJSON {
|
|
|
48
49
|
|
|
49
50
|
dictionary AuthenticationExtensionsClientOutputsJSON {
|
|
50
51
|
};
|
|
52
|
+
|
|
51
53
|
partial dictionary CredentialCreationOptions {
|
|
52
54
|
PublicKeyCredentialCreationOptions publicKey;
|
|
53
55
|
};
|
|
56
|
+
|
|
54
57
|
partial dictionary CredentialRequestOptions {
|
|
55
58
|
PublicKeyCredentialRequestOptions publicKey;
|
|
56
59
|
};
|
|
60
|
+
|
|
57
61
|
partial interface PublicKeyCredential {
|
|
58
62
|
static Promise<boolean> isUserVerifyingPlatformAuthenticatorAvailable();
|
|
59
63
|
};
|
|
64
|
+
|
|
60
65
|
partial interface PublicKeyCredential {
|
|
61
66
|
static PublicKeyCredentialCreationOptions parseCreationOptionsFromJSON(PublicKeyCredentialCreationOptionsJSON options);
|
|
62
67
|
};
|
|
@@ -87,6 +92,7 @@ dictionary PublicKeyCredentialDescriptorJSON {
|
|
|
87
92
|
|
|
88
93
|
dictionary AuthenticationExtensionsClientInputsJSON {
|
|
89
94
|
};
|
|
95
|
+
|
|
90
96
|
partial interface PublicKeyCredential {
|
|
91
97
|
static PublicKeyCredentialRequestOptions parseRequestOptionsFromJSON(PublicKeyCredentialRequestOptionsJSON options);
|
|
92
98
|
};
|
|
@@ -99,10 +105,12 @@ dictionary PublicKeyCredentialRequestOptionsJSON {
|
|
|
99
105
|
DOMString userVerification = "preferred";
|
|
100
106
|
AuthenticationExtensionsClientInputsJSON extensions;
|
|
101
107
|
};
|
|
108
|
+
|
|
102
109
|
[SecureContext, Exposed=Window]
|
|
103
110
|
interface AuthenticatorResponse {
|
|
104
111
|
[SameObject] readonly attribute ArrayBuffer clientDataJSON;
|
|
105
112
|
};
|
|
113
|
+
|
|
106
114
|
[SecureContext, Exposed=Window]
|
|
107
115
|
interface AuthenticatorAttestationResponse : AuthenticatorResponse {
|
|
108
116
|
[SameObject] readonly attribute ArrayBuffer attestationObject;
|
|
@@ -111,6 +119,7 @@ interface AuthenticatorAttestationResponse : AuthenticatorResponse {
|
|
|
111
119
|
ArrayBuffer? getPublicKey();
|
|
112
120
|
COSEAlgorithmIdentifier getPublicKeyAlgorithm();
|
|
113
121
|
};
|
|
122
|
+
|
|
114
123
|
[SecureContext, Exposed=Window]
|
|
115
124
|
interface AuthenticatorAssertionResponse : AuthenticatorResponse {
|
|
116
125
|
[SameObject] readonly attribute ArrayBuffer authenticatorData;
|
|
@@ -118,10 +127,12 @@ interface AuthenticatorAssertionResponse : AuthenticatorResponse {
|
|
|
118
127
|
[SameObject] readonly attribute ArrayBuffer? userHandle;
|
|
119
128
|
[SameObject] readonly attribute ArrayBuffer? attestationObject;
|
|
120
129
|
};
|
|
130
|
+
|
|
121
131
|
dictionary PublicKeyCredentialParameters {
|
|
122
132
|
required DOMString type;
|
|
123
133
|
required COSEAlgorithmIdentifier alg;
|
|
124
134
|
};
|
|
135
|
+
|
|
125
136
|
dictionary PublicKeyCredentialCreationOptions {
|
|
126
137
|
required PublicKeyCredentialRpEntity rp;
|
|
127
138
|
required PublicKeyCredentialUserEntity user;
|
|
@@ -136,37 +147,45 @@ dictionary PublicKeyCredentialCreationOptions {
|
|
|
136
147
|
sequence<DOMString> attestationFormats = [];
|
|
137
148
|
AuthenticationExtensionsClientInputs extensions;
|
|
138
149
|
};
|
|
150
|
+
|
|
139
151
|
dictionary PublicKeyCredentialEntity {
|
|
140
152
|
required DOMString name;
|
|
141
153
|
};
|
|
154
|
+
|
|
142
155
|
dictionary PublicKeyCredentialRpEntity : PublicKeyCredentialEntity {
|
|
143
156
|
DOMString id;
|
|
144
157
|
};
|
|
158
|
+
|
|
145
159
|
dictionary PublicKeyCredentialUserEntity : PublicKeyCredentialEntity {
|
|
146
160
|
required BufferSource id;
|
|
147
161
|
required DOMString displayName;
|
|
148
162
|
};
|
|
163
|
+
|
|
149
164
|
dictionary AuthenticatorSelectionCriteria {
|
|
150
165
|
DOMString authenticatorAttachment;
|
|
151
166
|
DOMString residentKey;
|
|
152
167
|
boolean requireResidentKey = false;
|
|
153
168
|
DOMString userVerification = "preferred";
|
|
154
169
|
};
|
|
170
|
+
|
|
155
171
|
enum AuthenticatorAttachment {
|
|
156
172
|
"platform",
|
|
157
173
|
"cross-platform"
|
|
158
174
|
};
|
|
175
|
+
|
|
159
176
|
enum ResidentKeyRequirement {
|
|
160
177
|
"discouraged",
|
|
161
178
|
"preferred",
|
|
162
179
|
"required"
|
|
163
180
|
};
|
|
181
|
+
|
|
164
182
|
enum AttestationConveyancePreference {
|
|
165
183
|
"none",
|
|
166
184
|
"indirect",
|
|
167
185
|
"direct",
|
|
168
186
|
"enterprise"
|
|
169
187
|
};
|
|
188
|
+
|
|
170
189
|
dictionary PublicKeyCredentialRequestOptions {
|
|
171
190
|
required BufferSource challenge;
|
|
172
191
|
unsigned long timeout;
|
|
@@ -177,10 +196,13 @@ dictionary PublicKeyCredentialRequestOptions {
|
|
|
177
196
|
sequence<DOMString> attestationFormats = [];
|
|
178
197
|
AuthenticationExtensionsClientInputs extensions;
|
|
179
198
|
};
|
|
199
|
+
|
|
180
200
|
dictionary AuthenticationExtensionsClientInputs {
|
|
181
201
|
};
|
|
202
|
+
|
|
182
203
|
dictionary AuthenticationExtensionsClientOutputs {
|
|
183
204
|
};
|
|
205
|
+
|
|
184
206
|
dictionary CollectedClientData {
|
|
185
207
|
required DOMString type;
|
|
186
208
|
required DOMString challenge;
|
|
@@ -195,42 +217,54 @@ dictionary TokenBinding {
|
|
|
195
217
|
};
|
|
196
218
|
|
|
197
219
|
enum TokenBindingStatus { "present", "supported" };
|
|
220
|
+
|
|
198
221
|
enum PublicKeyCredentialType {
|
|
199
222
|
"public-key"
|
|
200
223
|
};
|
|
224
|
+
|
|
201
225
|
dictionary PublicKeyCredentialDescriptor {
|
|
202
226
|
required DOMString type;
|
|
203
227
|
required BufferSource id;
|
|
204
228
|
sequence<DOMString> transports;
|
|
205
229
|
};
|
|
230
|
+
|
|
206
231
|
enum AuthenticatorTransport {
|
|
207
232
|
"usb",
|
|
208
233
|
"nfc",
|
|
209
234
|
"ble",
|
|
235
|
+
"smart-card",
|
|
210
236
|
"hybrid",
|
|
211
237
|
"internal"
|
|
212
238
|
};
|
|
239
|
+
|
|
213
240
|
typedef long COSEAlgorithmIdentifier;
|
|
241
|
+
|
|
214
242
|
enum UserVerificationRequirement {
|
|
215
243
|
"required",
|
|
216
244
|
"preferred",
|
|
217
245
|
"discouraged"
|
|
218
246
|
};
|
|
247
|
+
|
|
219
248
|
partial dictionary AuthenticationExtensionsClientInputs {
|
|
220
249
|
USVString appid;
|
|
221
250
|
};
|
|
251
|
+
|
|
222
252
|
partial dictionary AuthenticationExtensionsClientOutputs {
|
|
223
253
|
boolean appid;
|
|
224
254
|
};
|
|
255
|
+
|
|
225
256
|
partial dictionary AuthenticationExtensionsClientInputs {
|
|
226
257
|
USVString appidExclude;
|
|
227
258
|
};
|
|
259
|
+
|
|
228
260
|
partial dictionary AuthenticationExtensionsClientOutputs {
|
|
229
261
|
boolean appidExclude;
|
|
230
262
|
};
|
|
263
|
+
|
|
231
264
|
partial dictionary AuthenticationExtensionsClientInputs {
|
|
232
265
|
boolean credProps;
|
|
233
266
|
};
|
|
267
|
+
|
|
234
268
|
dictionary CredentialPropertiesOutput {
|
|
235
269
|
boolean rk;
|
|
236
270
|
};
|
|
@@ -238,6 +272,7 @@ dictionary CredentialPropertiesOutput {
|
|
|
238
272
|
partial dictionary AuthenticationExtensionsClientOutputs {
|
|
239
273
|
CredentialPropertiesOutput credProps;
|
|
240
274
|
};
|
|
275
|
+
|
|
241
276
|
dictionary AuthenticationExtensionsPRFValues {
|
|
242
277
|
required BufferSource first;
|
|
243
278
|
BufferSource second;
|
|
@@ -289,12 +324,14 @@ dictionary AuthenticationExtensionsLargeBlobOutputs {
|
|
|
289
324
|
partial dictionary AuthenticationExtensionsClientInputs {
|
|
290
325
|
boolean uvm;
|
|
291
326
|
};
|
|
327
|
+
|
|
292
328
|
typedef sequence<unsigned long> UvmEntry;
|
|
293
329
|
typedef sequence<UvmEntry> UvmEntries;
|
|
294
330
|
|
|
295
331
|
partial dictionary AuthenticationExtensionsClientOutputs {
|
|
296
332
|
UvmEntries uvm;
|
|
297
333
|
};
|
|
334
|
+
|
|
298
335
|
dictionary AuthenticationExtensionsDevicePublicKeyInputs {
|
|
299
336
|
DOMString attestation = "none";
|
|
300
337
|
sequence<DOMString> attestationFormats = [];
|
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: AV1 WebCodecs Registration (https://w3c.github.io/webcodecs/av1_codec_registration.html)
|
|
5
5
|
|
|
6
|
+
partial dictionary VideoEncoderConfig {
|
|
7
|
+
AV1EncoderConfig av1;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
dictionary AV1EncoderConfig {
|
|
11
|
+
boolean forceScreenContentTools = false;
|
|
12
|
+
};
|
|
13
|
+
|
|
6
14
|
partial dictionary VideoEncoderEncodeOptions {
|
|
7
15
|
VideoEncoderEncodeOptionsForAv1 av1;
|
|
8
16
|
};
|
package/webcodecs.idl
CHANGED
package/webgpu.idl
CHANGED
|
@@ -18,6 +18,7 @@ interface GPUSupportedLimits {
|
|
|
18
18
|
readonly attribute unsigned long maxTextureDimension3D;
|
|
19
19
|
readonly attribute unsigned long maxTextureArrayLayers;
|
|
20
20
|
readonly attribute unsigned long maxBindGroups;
|
|
21
|
+
readonly attribute unsigned long maxBindGroupsPlusVertexBuffers;
|
|
21
22
|
readonly attribute unsigned long maxBindingsPerBindGroup;
|
|
22
23
|
readonly attribute unsigned long maxDynamicUniformBuffersPerPipelineLayout;
|
|
23
24
|
readonly attribute unsigned long maxDynamicStorageBuffersPerPipelineLayout;
|
|
@@ -26,7 +27,6 @@ interface GPUSupportedLimits {
|
|
|
26
27
|
readonly attribute unsigned long maxStorageBuffersPerShaderStage;
|
|
27
28
|
readonly attribute unsigned long maxStorageTexturesPerShaderStage;
|
|
28
29
|
readonly attribute unsigned long maxUniformBuffersPerShaderStage;
|
|
29
|
-
readonly attribute unsigned long maxFragmentCombinedOutputResources;
|
|
30
30
|
readonly attribute unsigned long long maxUniformBufferBindingSize;
|
|
31
31
|
readonly attribute unsigned long long maxStorageBufferBindingSize;
|
|
32
32
|
readonly attribute unsigned long minUniformBufferOffsetAlignment;
|
|
@@ -85,7 +85,7 @@ dictionary GPURequestAdapterOptions {
|
|
|
85
85
|
|
|
86
86
|
enum GPUPowerPreference {
|
|
87
87
|
"low-power",
|
|
88
|
-
"high-performance"
|
|
88
|
+
"high-performance",
|
|
89
89
|
};
|
|
90
90
|
|
|
91
91
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -98,7 +98,8 @@ interface GPUAdapter {
|
|
|
98
98
|
Promise<GPUAdapterInfo> requestAdapterInfo(optional sequence<DOMString> unmaskHints = []);
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
dictionary GPUDeviceDescriptor
|
|
101
|
+
dictionary GPUDeviceDescriptor
|
|
102
|
+
: GPUObjectDescriptorBase {
|
|
102
103
|
sequence<GPUFeatureName> requiredFeatures = [];
|
|
103
104
|
record<DOMString, GPUSize64> requiredLimits = {};
|
|
104
105
|
GPUQueueDescriptor defaultQueue = {};
|
|
@@ -115,7 +116,7 @@ enum GPUFeatureName {
|
|
|
115
116
|
"shader-f16",
|
|
116
117
|
"rg11b10ufloat-renderable",
|
|
117
118
|
"bgra8unorm-storage",
|
|
118
|
-
"float32-filterable"
|
|
119
|
+
"float32-filterable",
|
|
119
120
|
};
|
|
120
121
|
|
|
121
122
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -167,10 +168,11 @@ GPUBuffer includes GPUObjectBase;
|
|
|
167
168
|
enum GPUBufferMapState {
|
|
168
169
|
"unmapped",
|
|
169
170
|
"pending",
|
|
170
|
-
"mapped"
|
|
171
|
+
"mapped",
|
|
171
172
|
};
|
|
172
173
|
|
|
173
|
-
dictionary GPUBufferDescriptor
|
|
174
|
+
dictionary GPUBufferDescriptor
|
|
175
|
+
: GPUObjectDescriptorBase {
|
|
174
176
|
required GPUSize64 size;
|
|
175
177
|
required GPUBufferUsageFlags usage;
|
|
176
178
|
boolean mappedAtCreation = false;
|
|
@@ -215,7 +217,8 @@ interface GPUTexture {
|
|
|
215
217
|
};
|
|
216
218
|
GPUTexture includes GPUObjectBase;
|
|
217
219
|
|
|
218
|
-
dictionary GPUTextureDescriptor
|
|
220
|
+
dictionary GPUTextureDescriptor
|
|
221
|
+
: GPUObjectDescriptorBase {
|
|
219
222
|
required GPUExtent3D size;
|
|
220
223
|
GPUIntegerCoordinate mipLevelCount = 1;
|
|
221
224
|
GPUSize32 sampleCount = 1;
|
|
@@ -228,7 +231,7 @@ dictionary GPUTextureDescriptor : GPUObjectDescriptorBase {
|
|
|
228
231
|
enum GPUTextureDimension {
|
|
229
232
|
"1d",
|
|
230
233
|
"2d",
|
|
231
|
-
"3d"
|
|
234
|
+
"3d",
|
|
232
235
|
};
|
|
233
236
|
|
|
234
237
|
typedef [EnforceRange] unsigned long GPUTextureUsageFlags;
|
|
@@ -246,7 +249,8 @@ interface GPUTextureView {
|
|
|
246
249
|
};
|
|
247
250
|
GPUTextureView includes GPUObjectBase;
|
|
248
251
|
|
|
249
|
-
dictionary GPUTextureViewDescriptor
|
|
252
|
+
dictionary GPUTextureViewDescriptor
|
|
253
|
+
: GPUObjectDescriptorBase {
|
|
250
254
|
GPUTextureFormat format;
|
|
251
255
|
GPUTextureViewDimension dimension;
|
|
252
256
|
GPUTextureAspect aspect = "all";
|
|
@@ -262,13 +266,13 @@ enum GPUTextureViewDimension {
|
|
|
262
266
|
"2d-array",
|
|
263
267
|
"cube",
|
|
264
268
|
"cube-array",
|
|
265
|
-
"3d"
|
|
269
|
+
"3d",
|
|
266
270
|
};
|
|
267
271
|
|
|
268
272
|
enum GPUTextureAspect {
|
|
269
273
|
"all",
|
|
270
274
|
"stencil-only",
|
|
271
|
-
"depth-only"
|
|
275
|
+
"depth-only",
|
|
272
276
|
};
|
|
273
277
|
|
|
274
278
|
enum GPUTextureFormat {
|
|
@@ -388,7 +392,7 @@ enum GPUTextureFormat {
|
|
|
388
392
|
"astc-12x10-unorm",
|
|
389
393
|
"astc-12x10-unorm-srgb",
|
|
390
394
|
"astc-12x12-unorm",
|
|
391
|
-
"astc-12x12-unorm-srgb"
|
|
395
|
+
"astc-12x12-unorm-srgb",
|
|
392
396
|
};
|
|
393
397
|
|
|
394
398
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -396,8 +400,9 @@ interface GPUExternalTexture {
|
|
|
396
400
|
};
|
|
397
401
|
GPUExternalTexture includes GPUObjectBase;
|
|
398
402
|
|
|
399
|
-
dictionary GPUExternalTextureDescriptor
|
|
400
|
-
|
|
403
|
+
dictionary GPUExternalTextureDescriptor
|
|
404
|
+
: GPUObjectDescriptorBase {
|
|
405
|
+
required (HTMLVideoElement or VideoFrame) source;
|
|
401
406
|
PredefinedColorSpace colorSpace = "srgb";
|
|
402
407
|
};
|
|
403
408
|
|
|
@@ -406,7 +411,8 @@ interface GPUSampler {
|
|
|
406
411
|
};
|
|
407
412
|
GPUSampler includes GPUObjectBase;
|
|
408
413
|
|
|
409
|
-
dictionary GPUSamplerDescriptor
|
|
414
|
+
dictionary GPUSamplerDescriptor
|
|
415
|
+
: GPUObjectDescriptorBase {
|
|
410
416
|
GPUAddressMode addressModeU = "clamp-to-edge";
|
|
411
417
|
GPUAddressMode addressModeV = "clamp-to-edge";
|
|
412
418
|
GPUAddressMode addressModeW = "clamp-to-edge";
|
|
@@ -422,17 +428,17 @@ dictionary GPUSamplerDescriptor : GPUObjectDescriptorBase {
|
|
|
422
428
|
enum GPUAddressMode {
|
|
423
429
|
"clamp-to-edge",
|
|
424
430
|
"repeat",
|
|
425
|
-
"mirror-repeat"
|
|
431
|
+
"mirror-repeat",
|
|
426
432
|
};
|
|
427
433
|
|
|
428
434
|
enum GPUFilterMode {
|
|
429
435
|
"nearest",
|
|
430
|
-
"linear"
|
|
436
|
+
"linear",
|
|
431
437
|
};
|
|
432
438
|
|
|
433
439
|
enum GPUMipmapFilterMode {
|
|
434
440
|
"nearest",
|
|
435
|
-
"linear"
|
|
441
|
+
"linear",
|
|
436
442
|
};
|
|
437
443
|
|
|
438
444
|
enum GPUCompareFunction {
|
|
@@ -443,7 +449,7 @@ enum GPUCompareFunction {
|
|
|
443
449
|
"greater",
|
|
444
450
|
"not-equal",
|
|
445
451
|
"greater-equal",
|
|
446
|
-
"always"
|
|
452
|
+
"always",
|
|
447
453
|
};
|
|
448
454
|
|
|
449
455
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -451,7 +457,8 @@ interface GPUBindGroupLayout {
|
|
|
451
457
|
};
|
|
452
458
|
GPUBindGroupLayout includes GPUObjectBase;
|
|
453
459
|
|
|
454
|
-
dictionary GPUBindGroupLayoutDescriptor
|
|
460
|
+
dictionary GPUBindGroupLayoutDescriptor
|
|
461
|
+
: GPUObjectDescriptorBase {
|
|
455
462
|
required sequence<GPUBindGroupLayoutEntry> entries;
|
|
456
463
|
};
|
|
457
464
|
|
|
@@ -477,7 +484,7 @@ namespace GPUShaderStage {
|
|
|
477
484
|
enum GPUBufferBindingType {
|
|
478
485
|
"uniform",
|
|
479
486
|
"storage",
|
|
480
|
-
"read-only-storage"
|
|
487
|
+
"read-only-storage",
|
|
481
488
|
};
|
|
482
489
|
|
|
483
490
|
dictionary GPUBufferBindingLayout {
|
|
@@ -489,7 +496,7 @@ dictionary GPUBufferBindingLayout {
|
|
|
489
496
|
enum GPUSamplerBindingType {
|
|
490
497
|
"filtering",
|
|
491
498
|
"non-filtering",
|
|
492
|
-
"comparison"
|
|
499
|
+
"comparison",
|
|
493
500
|
};
|
|
494
501
|
|
|
495
502
|
dictionary GPUSamplerBindingLayout {
|
|
@@ -501,7 +508,7 @@ enum GPUTextureSampleType {
|
|
|
501
508
|
"unfilterable-float",
|
|
502
509
|
"depth",
|
|
503
510
|
"sint",
|
|
504
|
-
"uint"
|
|
511
|
+
"uint",
|
|
505
512
|
};
|
|
506
513
|
|
|
507
514
|
dictionary GPUTextureBindingLayout {
|
|
@@ -511,7 +518,7 @@ dictionary GPUTextureBindingLayout {
|
|
|
511
518
|
};
|
|
512
519
|
|
|
513
520
|
enum GPUStorageTextureAccess {
|
|
514
|
-
"write-only"
|
|
521
|
+
"write-only",
|
|
515
522
|
};
|
|
516
523
|
|
|
517
524
|
dictionary GPUStorageTextureBindingLayout {
|
|
@@ -528,7 +535,8 @@ interface GPUBindGroup {
|
|
|
528
535
|
};
|
|
529
536
|
GPUBindGroup includes GPUObjectBase;
|
|
530
537
|
|
|
531
|
-
dictionary GPUBindGroupDescriptor
|
|
538
|
+
dictionary GPUBindGroupDescriptor
|
|
539
|
+
: GPUObjectDescriptorBase {
|
|
532
540
|
required GPUBindGroupLayout layout;
|
|
533
541
|
required sequence<GPUBindGroupEntry> entries;
|
|
534
542
|
};
|
|
@@ -551,7 +559,8 @@ interface GPUPipelineLayout {
|
|
|
551
559
|
};
|
|
552
560
|
GPUPipelineLayout includes GPUObjectBase;
|
|
553
561
|
|
|
554
|
-
dictionary GPUPipelineLayoutDescriptor
|
|
562
|
+
dictionary GPUPipelineLayoutDescriptor
|
|
563
|
+
: GPUObjectDescriptorBase {
|
|
555
564
|
required sequence<GPUBindGroupLayout> bindGroupLayouts;
|
|
556
565
|
};
|
|
557
566
|
|
|
@@ -561,7 +570,8 @@ interface GPUShaderModule {
|
|
|
561
570
|
};
|
|
562
571
|
GPUShaderModule includes GPUObjectBase;
|
|
563
572
|
|
|
564
|
-
dictionary GPUShaderModuleDescriptor
|
|
573
|
+
dictionary GPUShaderModuleDescriptor
|
|
574
|
+
: GPUObjectDescriptorBase {
|
|
565
575
|
required USVString code;
|
|
566
576
|
object sourceMap;
|
|
567
577
|
record<USVString, GPUShaderModuleCompilationHint> hints;
|
|
@@ -574,7 +584,7 @@ dictionary GPUShaderModuleCompilationHint {
|
|
|
574
584
|
enum GPUCompilationMessageType {
|
|
575
585
|
"error",
|
|
576
586
|
"warning",
|
|
577
|
-
"info"
|
|
587
|
+
"info",
|
|
578
588
|
};
|
|
579
589
|
|
|
580
590
|
[Exposed=(Window, DedicatedWorker), Serializable, SecureContext]
|
|
@@ -604,14 +614,15 @@ dictionary GPUPipelineErrorInit {
|
|
|
604
614
|
|
|
605
615
|
enum GPUPipelineErrorReason {
|
|
606
616
|
"validation",
|
|
607
|
-
"internal"
|
|
617
|
+
"internal",
|
|
608
618
|
};
|
|
609
619
|
|
|
610
620
|
enum GPUAutoLayoutMode {
|
|
611
|
-
"auto"
|
|
621
|
+
"auto",
|
|
612
622
|
};
|
|
613
623
|
|
|
614
|
-
dictionary GPUPipelineDescriptorBase
|
|
624
|
+
dictionary GPUPipelineDescriptorBase
|
|
625
|
+
: GPUObjectDescriptorBase {
|
|
615
626
|
required (GPUPipelineLayout or GPUAutoLayoutMode) layout;
|
|
616
627
|
};
|
|
617
628
|
|
|
@@ -633,7 +644,8 @@ interface GPUComputePipeline {
|
|
|
633
644
|
GPUComputePipeline includes GPUObjectBase;
|
|
634
645
|
GPUComputePipeline includes GPUPipelineBase;
|
|
635
646
|
|
|
636
|
-
dictionary GPUComputePipelineDescriptor
|
|
647
|
+
dictionary GPUComputePipelineDescriptor
|
|
648
|
+
: GPUPipelineDescriptorBase {
|
|
637
649
|
required GPUProgrammableStage compute;
|
|
638
650
|
};
|
|
639
651
|
|
|
@@ -643,7 +655,8 @@ interface GPURenderPipeline {
|
|
|
643
655
|
GPURenderPipeline includes GPUObjectBase;
|
|
644
656
|
GPURenderPipeline includes GPUPipelineBase;
|
|
645
657
|
|
|
646
|
-
dictionary GPURenderPipelineDescriptor
|
|
658
|
+
dictionary GPURenderPipelineDescriptor
|
|
659
|
+
: GPUPipelineDescriptorBase {
|
|
647
660
|
required GPUVertexState vertex;
|
|
648
661
|
GPUPrimitiveState primitive = {};
|
|
649
662
|
GPUDepthStencilState depthStencil;
|
|
@@ -666,18 +679,18 @@ enum GPUPrimitiveTopology {
|
|
|
666
679
|
"line-list",
|
|
667
680
|
"line-strip",
|
|
668
681
|
"triangle-list",
|
|
669
|
-
"triangle-strip"
|
|
682
|
+
"triangle-strip",
|
|
670
683
|
};
|
|
671
684
|
|
|
672
685
|
enum GPUFrontFace {
|
|
673
686
|
"ccw",
|
|
674
|
-
"cw"
|
|
687
|
+
"cw",
|
|
675
688
|
};
|
|
676
689
|
|
|
677
690
|
enum GPUCullMode {
|
|
678
691
|
"none",
|
|
679
692
|
"front",
|
|
680
|
-
"back"
|
|
693
|
+
"back",
|
|
681
694
|
};
|
|
682
695
|
|
|
683
696
|
dictionary GPUMultisampleState {
|
|
@@ -686,7 +699,8 @@ dictionary GPUMultisampleState {
|
|
|
686
699
|
boolean alphaToCoverageEnabled = false;
|
|
687
700
|
};
|
|
688
701
|
|
|
689
|
-
dictionary GPUFragmentState
|
|
702
|
+
dictionary GPUFragmentState
|
|
703
|
+
: GPUProgrammableStage {
|
|
690
704
|
required sequence<GPUColorTargetState?> targets;
|
|
691
705
|
};
|
|
692
706
|
|
|
@@ -731,7 +745,7 @@ enum GPUBlendFactor {
|
|
|
731
745
|
"one-minus-dst-alpha",
|
|
732
746
|
"src-alpha-saturated",
|
|
733
747
|
"constant",
|
|
734
|
-
"one-minus-constant"
|
|
748
|
+
"one-minus-constant",
|
|
735
749
|
};
|
|
736
750
|
|
|
737
751
|
enum GPUBlendOperation {
|
|
@@ -739,7 +753,7 @@ enum GPUBlendOperation {
|
|
|
739
753
|
"subtract",
|
|
740
754
|
"reverse-subtract",
|
|
741
755
|
"min",
|
|
742
|
-
"max"
|
|
756
|
+
"max",
|
|
743
757
|
};
|
|
744
758
|
|
|
745
759
|
dictionary GPUDepthStencilState {
|
|
@@ -774,12 +788,12 @@ enum GPUStencilOperation {
|
|
|
774
788
|
"increment-clamp",
|
|
775
789
|
"decrement-clamp",
|
|
776
790
|
"increment-wrap",
|
|
777
|
-
"decrement-wrap"
|
|
791
|
+
"decrement-wrap",
|
|
778
792
|
};
|
|
779
793
|
|
|
780
794
|
enum GPUIndexFormat {
|
|
781
795
|
"uint16",
|
|
782
|
-
"uint32"
|
|
796
|
+
"uint32",
|
|
783
797
|
};
|
|
784
798
|
|
|
785
799
|
enum GPUVertexFormat {
|
|
@@ -812,15 +826,16 @@ enum GPUVertexFormat {
|
|
|
812
826
|
"sint32",
|
|
813
827
|
"sint32x2",
|
|
814
828
|
"sint32x3",
|
|
815
|
-
"sint32x4"
|
|
829
|
+
"sint32x4",
|
|
816
830
|
};
|
|
817
831
|
|
|
818
832
|
enum GPUVertexStepMode {
|
|
819
833
|
"vertex",
|
|
820
|
-
"instance"
|
|
834
|
+
"instance",
|
|
821
835
|
};
|
|
822
836
|
|
|
823
|
-
dictionary GPUVertexState
|
|
837
|
+
dictionary GPUVertexState
|
|
838
|
+
: GPUProgrammableStage {
|
|
824
839
|
sequence<GPUVertexBufferLayout?> buffers = [];
|
|
825
840
|
};
|
|
826
841
|
|
|
@@ -837,17 +852,43 @@ dictionary GPUVertexAttribute {
|
|
|
837
852
|
required GPUIndex32 shaderLocation;
|
|
838
853
|
};
|
|
839
854
|
|
|
840
|
-
dictionary GPUImageDataLayout {
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
855
|
+
dictionary GPUImageDataLayout {
|
|
856
|
+
GPUSize64 offset = 0;
|
|
857
|
+
GPUSize32 bytesPerRow;
|
|
858
|
+
GPUSize32 rowsPerImage;
|
|
859
|
+
};
|
|
860
|
+
|
|
861
|
+
dictionary GPUImageCopyBuffer
|
|
862
|
+
: GPUImageDataLayout {
|
|
863
|
+
required GPUBuffer buffer;
|
|
864
|
+
};
|
|
865
|
+
|
|
866
|
+
dictionary GPUImageCopyTexture {
|
|
867
|
+
required GPUTexture texture;
|
|
868
|
+
GPUIntegerCoordinate mipLevel = 0;
|
|
869
|
+
GPUOrigin3D origin = {};
|
|
870
|
+
GPUTextureAspect aspect = "all";
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
dictionary GPUImageCopyTextureTagged
|
|
874
|
+
: GPUImageCopyTexture {
|
|
875
|
+
PredefinedColorSpace colorSpace = "srgb";
|
|
876
|
+
boolean premultipliedAlpha = false;
|
|
877
|
+
};
|
|
878
|
+
|
|
879
|
+
dictionary GPUImageCopyExternalImage {
|
|
880
|
+
required (ImageBitmap or HTMLVideoElement or HTMLCanvasElement or OffscreenCanvas) source;
|
|
881
|
+
GPUOrigin2D origin = {};
|
|
882
|
+
boolean flipY = false;
|
|
883
|
+
};
|
|
884
|
+
|
|
845
885
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
846
886
|
interface GPUCommandBuffer {
|
|
847
887
|
};
|
|
848
888
|
GPUCommandBuffer includes GPUObjectBase;
|
|
849
889
|
|
|
850
|
-
dictionary GPUCommandBufferDescriptor
|
|
890
|
+
dictionary GPUCommandBufferDescriptor
|
|
891
|
+
: GPUObjectDescriptorBase {
|
|
851
892
|
};
|
|
852
893
|
|
|
853
894
|
interface mixin GPUCommandsMixin {
|
|
@@ -900,14 +941,15 @@ GPUCommandEncoder includes GPUObjectBase;
|
|
|
900
941
|
GPUCommandEncoder includes GPUCommandsMixin;
|
|
901
942
|
GPUCommandEncoder includes GPUDebugCommandsMixin;
|
|
902
943
|
|
|
903
|
-
dictionary GPUCommandEncoderDescriptor
|
|
944
|
+
dictionary GPUCommandEncoderDescriptor
|
|
945
|
+
: GPUObjectDescriptorBase {
|
|
904
946
|
};
|
|
905
947
|
|
|
906
948
|
interface mixin GPUBindingCommandsMixin {
|
|
907
|
-
undefined setBindGroup(GPUIndex32 index, GPUBindGroup bindGroup,
|
|
949
|
+
undefined setBindGroup(GPUIndex32 index, GPUBindGroup? bindGroup,
|
|
908
950
|
optional sequence<GPUBufferDynamicOffset> dynamicOffsets = []);
|
|
909
951
|
|
|
910
|
-
undefined setBindGroup(GPUIndex32 index, GPUBindGroup bindGroup,
|
|
952
|
+
undefined setBindGroup(GPUIndex32 index, GPUBindGroup? bindGroup,
|
|
911
953
|
Uint32Array dynamicOffsetsData,
|
|
912
954
|
GPUSize64 dynamicOffsetsDataStart,
|
|
913
955
|
GPUSize32 dynamicOffsetsDataLength);
|
|
@@ -934,7 +976,7 @@ GPUComputePassEncoder includes GPUBindingCommandsMixin;
|
|
|
934
976
|
|
|
935
977
|
enum GPUComputePassTimestampLocation {
|
|
936
978
|
"beginning",
|
|
937
|
-
"end"
|
|
979
|
+
"end",
|
|
938
980
|
};
|
|
939
981
|
|
|
940
982
|
dictionary GPUComputePassTimestampWrite {
|
|
@@ -945,7 +987,8 @@ dictionary GPUComputePassTimestampWrite {
|
|
|
945
987
|
|
|
946
988
|
typedef sequence<GPUComputePassTimestampWrite> GPUComputePassTimestampWrites;
|
|
947
989
|
|
|
948
|
-
dictionary GPUComputePassDescriptor
|
|
990
|
+
dictionary GPUComputePassDescriptor
|
|
991
|
+
: GPUObjectDescriptorBase {
|
|
949
992
|
GPUComputePassTimestampWrites timestampWrites = [];
|
|
950
993
|
};
|
|
951
994
|
|
|
@@ -975,7 +1018,7 @@ GPURenderPassEncoder includes GPURenderCommandsMixin;
|
|
|
975
1018
|
|
|
976
1019
|
enum GPURenderPassTimestampLocation {
|
|
977
1020
|
"beginning",
|
|
978
|
-
"end"
|
|
1021
|
+
"end",
|
|
979
1022
|
};
|
|
980
1023
|
|
|
981
1024
|
dictionary GPURenderPassTimestampWrite {
|
|
@@ -986,7 +1029,8 @@ dictionary GPURenderPassTimestampWrite {
|
|
|
986
1029
|
|
|
987
1030
|
typedef sequence<GPURenderPassTimestampWrite> GPURenderPassTimestampWrites;
|
|
988
1031
|
|
|
989
|
-
dictionary GPURenderPassDescriptor
|
|
1032
|
+
dictionary GPURenderPassDescriptor
|
|
1033
|
+
: GPUObjectDescriptorBase {
|
|
990
1034
|
required sequence<GPURenderPassColorAttachment?> colorAttachments;
|
|
991
1035
|
GPURenderPassDepthStencilAttachment depthStencilAttachment;
|
|
992
1036
|
GPUQuerySet occlusionQuerySet;
|
|
@@ -1019,15 +1063,16 @@ dictionary GPURenderPassDepthStencilAttachment {
|
|
|
1019
1063
|
|
|
1020
1064
|
enum GPULoadOp {
|
|
1021
1065
|
"load",
|
|
1022
|
-
"clear"
|
|
1066
|
+
"clear",
|
|
1023
1067
|
};
|
|
1024
1068
|
|
|
1025
1069
|
enum GPUStoreOp {
|
|
1026
1070
|
"store",
|
|
1027
|
-
"discard"
|
|
1071
|
+
"discard",
|
|
1028
1072
|
};
|
|
1029
1073
|
|
|
1030
|
-
dictionary GPURenderPassLayout
|
|
1074
|
+
dictionary GPURenderPassLayout
|
|
1075
|
+
: GPUObjectDescriptorBase {
|
|
1031
1076
|
required sequence<GPUTextureFormat?> colorFormats;
|
|
1032
1077
|
GPUTextureFormat depthStencilFormat;
|
|
1033
1078
|
GPUSize32 sampleCount = 1;
|
|
@@ -1037,7 +1082,7 @@ interface mixin GPURenderCommandsMixin {
|
|
|
1037
1082
|
undefined setPipeline(GPURenderPipeline pipeline);
|
|
1038
1083
|
|
|
1039
1084
|
undefined setIndexBuffer(GPUBuffer buffer, GPUIndexFormat indexFormat, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
1040
|
-
undefined setVertexBuffer(GPUIndex32 slot, GPUBuffer buffer, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
1085
|
+
undefined setVertexBuffer(GPUIndex32 slot, GPUBuffer? buffer, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
1041
1086
|
|
|
1042
1087
|
undefined draw(GPUSize32 vertexCount, optional GPUSize32 instanceCount = 1,
|
|
1043
1088
|
optional GPUSize32 firstVertex = 0, optional GPUSize32 firstInstance = 0);
|
|
@@ -1055,7 +1100,8 @@ interface GPURenderBundle {
|
|
|
1055
1100
|
};
|
|
1056
1101
|
GPURenderBundle includes GPUObjectBase;
|
|
1057
1102
|
|
|
1058
|
-
dictionary GPURenderBundleDescriptor
|
|
1103
|
+
dictionary GPURenderBundleDescriptor
|
|
1104
|
+
: GPUObjectDescriptorBase {
|
|
1059
1105
|
};
|
|
1060
1106
|
|
|
1061
1107
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -1068,12 +1114,14 @@ GPURenderBundleEncoder includes GPUDebugCommandsMixin;
|
|
|
1068
1114
|
GPURenderBundleEncoder includes GPUBindingCommandsMixin;
|
|
1069
1115
|
GPURenderBundleEncoder includes GPURenderCommandsMixin;
|
|
1070
1116
|
|
|
1071
|
-
dictionary GPURenderBundleEncoderDescriptor
|
|
1117
|
+
dictionary GPURenderBundleEncoderDescriptor
|
|
1118
|
+
: GPURenderPassLayout {
|
|
1072
1119
|
boolean depthReadOnly = false;
|
|
1073
1120
|
boolean stencilReadOnly = false;
|
|
1074
1121
|
};
|
|
1075
1122
|
|
|
1076
|
-
dictionary GPUQueueDescriptor
|
|
1123
|
+
dictionary GPUQueueDescriptor
|
|
1124
|
+
: GPUObjectDescriptorBase {
|
|
1077
1125
|
};
|
|
1078
1126
|
|
|
1079
1127
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -1111,14 +1159,15 @@ interface GPUQuerySet {
|
|
|
1111
1159
|
};
|
|
1112
1160
|
GPUQuerySet includes GPUObjectBase;
|
|
1113
1161
|
|
|
1114
|
-
dictionary GPUQuerySetDescriptor
|
|
1162
|
+
dictionary GPUQuerySetDescriptor
|
|
1163
|
+
: GPUObjectDescriptorBase {
|
|
1115
1164
|
required GPUQueryType type;
|
|
1116
1165
|
required GPUSize32 count;
|
|
1117
1166
|
};
|
|
1118
1167
|
|
|
1119
1168
|
enum GPUQueryType {
|
|
1120
1169
|
"occlusion",
|
|
1121
|
-
"timestamp"
|
|
1170
|
+
"timestamp",
|
|
1122
1171
|
};
|
|
1123
1172
|
|
|
1124
1173
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -1133,7 +1182,7 @@ interface GPUCanvasContext {
|
|
|
1133
1182
|
|
|
1134
1183
|
enum GPUCanvasAlphaMode {
|
|
1135
1184
|
"opaque",
|
|
1136
|
-
"premultiplied"
|
|
1185
|
+
"premultiplied",
|
|
1137
1186
|
};
|
|
1138
1187
|
|
|
1139
1188
|
dictionary GPUCanvasConfiguration {
|
|
@@ -1147,7 +1196,7 @@ dictionary GPUCanvasConfiguration {
|
|
|
1147
1196
|
|
|
1148
1197
|
enum GPUDeviceLostReason {
|
|
1149
1198
|
"unknown",
|
|
1150
|
-
"destroyed"
|
|
1199
|
+
"destroyed",
|
|
1151
1200
|
};
|
|
1152
1201
|
|
|
1153
1202
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -1166,24 +1215,27 @@ interface GPUError {
|
|
|
1166
1215
|
};
|
|
1167
1216
|
|
|
1168
1217
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
1169
|
-
interface GPUValidationError
|
|
1218
|
+
interface GPUValidationError
|
|
1219
|
+
: GPUError {
|
|
1170
1220
|
constructor(DOMString message);
|
|
1171
1221
|
};
|
|
1172
1222
|
|
|
1173
1223
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
1174
|
-
interface GPUOutOfMemoryError
|
|
1224
|
+
interface GPUOutOfMemoryError
|
|
1225
|
+
: GPUError {
|
|
1175
1226
|
constructor(DOMString message);
|
|
1176
1227
|
};
|
|
1177
1228
|
|
|
1178
1229
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
1179
|
-
interface GPUInternalError
|
|
1230
|
+
interface GPUInternalError
|
|
1231
|
+
: GPUError {
|
|
1180
1232
|
constructor(DOMString message);
|
|
1181
1233
|
};
|
|
1182
1234
|
|
|
1183
1235
|
enum GPUErrorFilter {
|
|
1184
1236
|
"validation",
|
|
1185
1237
|
"out-of-memory",
|
|
1186
|
-
"internal"
|
|
1238
|
+
"internal",
|
|
1187
1239
|
};
|
|
1188
1240
|
|
|
1189
1241
|
partial interface GPUDevice {
|
package/webnn.idl
CHANGED
|
@@ -489,13 +489,8 @@ partial interface MLGraphBuilder {
|
|
|
489
489
|
MLActivation sigmoid();
|
|
490
490
|
};
|
|
491
491
|
|
|
492
|
-
dictionary MLSliceOptions {
|
|
493
|
-
sequence<unsigned long> axes;
|
|
494
|
-
};
|
|
495
|
-
|
|
496
492
|
partial interface MLGraphBuilder {
|
|
497
|
-
MLOperand slice(MLOperand input, sequence<long> starts, sequence<long> sizes
|
|
498
|
-
optional MLSliceOptions options = {});
|
|
493
|
+
MLOperand slice(MLOperand input, sequence<unsigned long> starts, sequence<unsigned long> sizes);
|
|
499
494
|
};
|
|
500
495
|
|
|
501
496
|
partial interface MLGraphBuilder {
|
|
@@ -72,7 +72,8 @@ dictionary RTCEncodedVideoFrameMetadata {
|
|
|
72
72
|
unsigned long temporalIndex;
|
|
73
73
|
unsigned long synchronizationSource;
|
|
74
74
|
octet payloadType;
|
|
75
|
-
|
|
75
|
+
sequence<unsigned long> contributingSources;
|
|
76
|
+
long long timestamp; // microseconds
|
|
76
77
|
};
|
|
77
78
|
|
|
78
79
|
// New interfaces to define encoded video and audio frames. Will eventually
|
package/webrtc-stats.idl
CHANGED
|
@@ -94,6 +94,8 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
|
94
94
|
boolean powerEfficientDecoder;
|
|
95
95
|
unsigned long framesAssembledFromMultiplePackets;
|
|
96
96
|
double totalAssemblyTime;
|
|
97
|
+
unsigned long long retransmittedPacketsReceived;
|
|
98
|
+
unsigned long long retransmittedBytesReceived;
|
|
97
99
|
};
|
|
98
100
|
|
|
99
101
|
dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|