@@ -164,7 +164,7 @@ interface EcdsaParams extends Algorithm {
164
164
}
165
165
166
166
interface EncodedVideoChunkInit {
167
- data : BufferSource ;
167
+ data : AllowSharedBufferSource ;
168
168
duration ?: number ;
169
169
timestamp : number ;
170
170
type : EncodedVideoChunkType ;
@@ -757,7 +757,7 @@ interface VideoDecoderConfig {
757
757
codedHeight ?: number ;
758
758
codedWidth ?: number ;
759
759
colorSpace ?: VideoColorSpaceInit ;
760
- description ?: BufferSource ;
760
+ description ?: AllowSharedBufferSource ;
761
761
displayAspectHeight ?: number ;
762
762
displayAspectWidth ?: number ;
763
763
hardwareAcceleration ?: HardwareAcceleration ;
@@ -2360,7 +2360,7 @@ interface EncodedVideoChunk {
2360
2360
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/type) */
2361
2361
readonly type : EncodedVideoChunkType ;
2362
2362
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/copyTo) */
2363
- copyTo ( destination : BufferSource ) : void ;
2363
+ copyTo ( destination : AllowSharedBufferSource ) : void ;
2364
2364
}
2365
2365
2366
2366
declare var EncodedVideoChunk : {
@@ -5753,13 +5753,13 @@ interface VideoFrame {
5753
5753
clone ( ) : VideoFrame ;
5754
5754
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */
5755
5755
close ( ) : void ;
5756
- copyTo ( destination : BufferSource , options ?: VideoFrameCopyToOptions ) : Promise < PlaneLayout [ ] > ;
5756
+ copyTo ( destination : AllowSharedBufferSource , options ?: VideoFrameCopyToOptions ) : Promise < PlaneLayout [ ] > ;
5757
5757
}
5758
5758
5759
5759
declare var VideoFrame : {
5760
5760
prototype : VideoFrame ;
5761
5761
new ( image : CanvasImageSource , init ?: VideoFrameInit ) : VideoFrame ;
5762
- new ( data : BufferSource , init : VideoFrameBufferInit ) : VideoFrame ;
5762
+ new ( data : AllowSharedBufferSource , init : VideoFrameBufferInit ) : VideoFrame ;
5763
5763
} ;
5764
5764
5765
5765
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_color_buffer_float) */
@@ -6955,10 +6955,10 @@ interface WebGL2RenderingContextBase {
6955
6955
interface WebGL2RenderingContextOverloads {
6956
6956
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferData) */
6957
6957
bufferData ( target : GLenum , size : GLsizeiptr , usage : GLenum ) : void ;
6958
- bufferData ( target : GLenum , srcData : BufferSource | null , usage : GLenum ) : void ;
6958
+ bufferData ( target : GLenum , srcData : AllowSharedBufferSource | null , usage : GLenum ) : void ;
6959
6959
bufferData ( target : GLenum , srcData : ArrayBufferView , usage : GLenum , srcOffset : GLuint , length ?: GLuint ) : void ;
6960
6960
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferSubData) */
6961
- bufferSubData ( target : GLenum , dstByteOffset : GLintptr , srcData : BufferSource ) : void ;
6961
+ bufferSubData ( target : GLenum , dstByteOffset : GLintptr , srcData : AllowSharedBufferSource ) : void ;
6962
6962
bufferSubData ( target : GLenum , dstByteOffset : GLintptr , srcData : ArrayBufferView , srcOffset : GLuint , length ?: GLuint ) : void ;
6963
6963
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
6964
6964
compressedTexImage2D ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , imageSize : GLsizei , offset : GLintptr ) : void ;
@@ -7986,9 +7986,9 @@ interface WebGLRenderingContextBase {
7986
7986
interface WebGLRenderingContextOverloads {
7987
7987
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferData) */
7988
7988
bufferData ( target : GLenum , size : GLsizeiptr , usage : GLenum ) : void ;
7989
- bufferData ( target : GLenum , data : BufferSource | null , usage : GLenum ) : void ;
7989
+ bufferData ( target : GLenum , data : AllowSharedBufferSource | null , usage : GLenum ) : void ;
7990
7990
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferSubData) */
7991
- bufferSubData ( target : GLenum , offset : GLintptr , data : BufferSource ) : void ;
7991
+ bufferSubData ( target : GLenum , offset : GLintptr , data : AllowSharedBufferSource ) : void ;
7992
7992
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
7993
7993
compressedTexImage2D ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , data : ArrayBufferView ) : void ;
7994
7994
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D) */
0 commit comments