这是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
15 changes: 12 additions & 3 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2286,18 +2286,26 @@ interface GPU {
<div data-timeline=device>
[=Device timeline=] |initialization steps|:

1. Let |adapter| be `null`.
1. If the user agent chooses to return an adapter:
1. All of the requirements in the following steps |must| be met.

<div class=validusage>
1. |options|.{{GPURequestAdapterOptions/featureLevel}} |must| be `undefined`.
</div>

If they are met **and** the user agent chooses to return an adapter:

1. Set |adapter| to an [=adapter=] chosen according to
the rules in [[#adapter-selection]] and the criteria in |options|,
adhering to [[#adapter-capability-guarantees]].

The [=supported limits=] of the adapter must adhere to the requirements
defined in [[#limits]].

1. If |adapter| meets the criteria of a [=fallback adapter=] set
|adapter|.{{adapter/[[fallback]]}} to `true`.

Otherwise:

1. Let |adapter| be `null`.
1. Issue the subsequent steps on <var data-timeline=content>contentTimeline</var>.
</div>
<div data-timeline=content>
Expand Down Expand Up @@ -2424,6 +2432,7 @@ configuration is suitable for the application.

<script type=idl>
dictionary GPURequestAdapterOptions {
any featureLevel;
GPUPowerPreference powerPreference;
boolean forceFallbackAdapter = false;
};
Expand Down