Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 98 additions & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -805,10 +805,25 @@ interface FullscreenOptions {
navigationUI?: FullscreenNavigationUI;
}

interface GPUObjectDescriptorBase {
label?: string;
}

interface GPUPipelineErrorInit {
reason: GPUPipelineErrorReason;
}

interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
arrayLayerCount?: GPUIntegerCoordinate;
aspect?: GPUTextureAspect;
baseArrayLayer?: GPUIntegerCoordinate;
baseMipLevel?: GPUIntegerCoordinate;
dimension?: GPUTextureViewDimension;
format?: GPUTextureFormat;
mipLevelCount?: GPUIntegerCoordinate;
usage?: GPUTextureUsageFlags;
}

interface GPUUncapturedErrorEventInit extends EventInit {
error: GPUError;
}
Expand Down Expand Up @@ -15026,6 +15041,80 @@ declare var GPUSupportedLimits: {
new(): GPUSupportedLimits;
};

/**
* The **`GPUTexture`** interface of the WebGPU API represents a container used to store 1D, 2D, or 3D arrays of data, such as images, to use in GPU rendering operations.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture)
*/
interface GPUTexture extends GPUObjectBase {
/**
* The **`depthOrArrayLayers`** read-only property of the GPUTexture interface represents the depth or layer count of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/depthOrArrayLayers)
*/
readonly depthOrArrayLayers: GPUIntegerCoordinateOut;
/**
* The **`dimension`** read-only property of the GPUTexture interface represents the dimension of the set of texels for each GPUTexture subresource.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/dimension)
*/
readonly dimension: GPUTextureDimension;
/**
* The **`format`** read-only property of the GPUTexture interface represents the format of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/format)
*/
readonly format: GPUTextureFormat;
/**
* The **`height`** read-only property of the GPUTexture interface represents the height of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/height)
*/
readonly height: GPUIntegerCoordinateOut;
/**
* The **`mipLevelCount`** read-only property of the GPUTexture interface represents the number of mip levels of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/mipLevelCount)
*/
readonly mipLevelCount: GPUIntegerCoordinateOut;
/**
* The **`sampleCount`** read-only property of the GPUTexture interface represents the sample count of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/sampleCount)
*/
readonly sampleCount: GPUSize32Out;
/**
* The **`usage`** read-only property of the GPUTexture interface is the bitwise flags representing the allowed usages of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/usage)
*/
readonly usage: GPUFlagsConstant;
/**
* The **`width`** read-only property of the GPUTexture interface represents the width of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/width)
*/
readonly width: GPUIntegerCoordinateOut;
/**
* The **`createView()`** method of the GPUTexture interface creates a GPUTextureView representing a specific view of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/createView)
*/
createView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
/**
* The **`destroy()`** method of the GPUTexture interface destroys the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/destroy)
*/
destroy(): void;
}

declare var GPUTexture: {
prototype: GPUTexture;
new(): GPUTexture;
};

/**
* The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture.
* Available only in secure contexts.
Expand Down Expand Up @@ -42818,6 +42907,11 @@ type GLsizei = number;
type GLsizeiptr = number;
type GLuint = number;
type GLuint64 = number;
type GPUFlagsConstant = number;
type GPUIntegerCoordinate = number;
type GPUIntegerCoordinateOut = number;
type GPUSize32Out = number;
type GPUTextureUsageFlags = number;
type HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement;
type HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement;
type HashAlgorithmIdentifier = AlgorithmIdentifier;
Expand Down Expand Up @@ -42923,6 +43017,10 @@ type FontFaceSetLoadStatus = "loaded" | "loading";
type FullscreenNavigationUI = "auto" | "hide" | "show";
type GPUDeviceLostReason = "destroyed" | "unknown";
type GPUPipelineErrorReason = "internal" | "validation";
type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
type GPUTextureDimension = "1d" | "2d" | "3d";
type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";
type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array";
type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
type GamepadHapticsResult = "complete" | "preempted";
type GamepadMappingType = "" | "standard" | "xr-standard";
Expand Down
98 changes: 98 additions & 0 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,10 +272,25 @@ interface FontFaceSetLoadEventInit extends EventInit {
fontfaces?: FontFace[];
}

interface GPUObjectDescriptorBase {
label?: string;
}

interface GPUPipelineErrorInit {
reason: GPUPipelineErrorReason;
}

interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
arrayLayerCount?: GPUIntegerCoordinate;
aspect?: GPUTextureAspect;
baseArrayLayer?: GPUIntegerCoordinate;
baseMipLevel?: GPUIntegerCoordinate;
dimension?: GPUTextureViewDimension;
format?: GPUTextureFormat;
mipLevelCount?: GPUIntegerCoordinate;
usage?: GPUTextureUsageFlags;
}

interface GPUUncapturedErrorEventInit extends EventInit {
error: GPUError;
}
Expand Down Expand Up @@ -4503,6 +4518,80 @@ declare var GPUSupportedLimits: {
new(): GPUSupportedLimits;
};

/**
* The **`GPUTexture`** interface of the WebGPU API represents a container used to store 1D, 2D, or 3D arrays of data, such as images, to use in GPU rendering operations.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture)
*/
interface GPUTexture extends GPUObjectBase {
/**
* The **`depthOrArrayLayers`** read-only property of the GPUTexture interface represents the depth or layer count of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/depthOrArrayLayers)
*/
readonly depthOrArrayLayers: GPUIntegerCoordinateOut;
/**
* The **`dimension`** read-only property of the GPUTexture interface represents the dimension of the set of texels for each GPUTexture subresource.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/dimension)
*/
readonly dimension: GPUTextureDimension;
/**
* The **`format`** read-only property of the GPUTexture interface represents the format of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/format)
*/
readonly format: GPUTextureFormat;
/**
* The **`height`** read-only property of the GPUTexture interface represents the height of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/height)
*/
readonly height: GPUIntegerCoordinateOut;
/**
* The **`mipLevelCount`** read-only property of the GPUTexture interface represents the number of mip levels of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/mipLevelCount)
*/
readonly mipLevelCount: GPUIntegerCoordinateOut;
/**
* The **`sampleCount`** read-only property of the GPUTexture interface represents the sample count of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/sampleCount)
*/
readonly sampleCount: GPUSize32Out;
/**
* The **`usage`** read-only property of the GPUTexture interface is the bitwise flags representing the allowed usages of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/usage)
*/
readonly usage: GPUFlagsConstant;
/**
* The **`width`** read-only property of the GPUTexture interface represents the width of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/width)
*/
readonly width: GPUIntegerCoordinateOut;
/**
* The **`createView()`** method of the GPUTexture interface creates a GPUTextureView representing a specific view of the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/createView)
*/
createView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
/**
* The **`destroy()`** method of the GPUTexture interface destroys the GPUTexture.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/destroy)
*/
destroy(): void;
}

declare var GPUTexture: {
prototype: GPUTexture;
new(): GPUTexture;
};

/**
* The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture.
* Available only in secure contexts.
Expand Down Expand Up @@ -12107,6 +12196,11 @@ type GLsizei = number;
type GLsizeiptr = number;
type GLuint = number;
type GLuint64 = number;
type GPUFlagsConstant = number;
type GPUIntegerCoordinate = number;
type GPUIntegerCoordinateOut = number;
type GPUSize32Out = number;
type GPUTextureUsageFlags = number;
type HashAlgorithmIdentifier = AlgorithmIdentifier;
type HeadersInit = [string, string][] | Record<string, string> | Headers;
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
Expand Down Expand Up @@ -12157,6 +12251,10 @@ type FontFaceSetLoadStatus = "loaded" | "loading";
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
type GPUDeviceLostReason = "destroyed" | "unknown";
type GPUPipelineErrorReason = "internal" | "validation";
type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
type GPUTextureDimension = "1d" | "2d" | "3d";
type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";
type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array";
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
Expand Down
Loading