这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
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
7 changes: 6 additions & 1 deletion spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ and exposes its capabilities (extensions and limits).
interface GPUAdapter {
readonly attribute DOMString name;
readonly attribute object extensions;
//readonly attribute GPULimits limits; Don't expose higher limits for now.
readonly attribute object limits;

// May reject with DOMException // TODO: DOMException("OperationError")?
Promise<GPUDevice> requestDevice(optional GPUDeviceDescriptor descriptor = {});
Expand All @@ -354,6 +354,11 @@ interface GPUAdapter {
not by the [=adapter=], it will be `false`.
- If an extension is supported by the user agent and
by the [=adapter=], it will be `true`.

: <dfn>limits</dfn>
::
A {{GPULimits}} object which exposes the maximum limits supported
by the adapter.
</dl>

{{GPUAdapter}} also has the following internal slots:
Expand Down