Skip to content

Clarify the timeline of execution of create*PipelineAsync #4742

@kainino0x

Description

@kainino0x

Raised by @jimblandy.

In practice, async pipeline creation should basically happen in two steps: kicking off the pipeline creation on a thread, and then when it's done, forwarding the result back to the content timeline.

We are pretty handwavy about this, because we don't actually explicitly run work on a separate thread:

  • When pipeline is ready to be used or has been invalidated:
    • Let valid be pipeline’s valid state.
    • Issue the subsequent steps on contentTimeline.

Metadata

Metadata

Assignees

Labels

apiWebGPU APIapi resolvedResolved - waiting for a change to the API specificationcopyeditingPure editorial stuff (copyediting, *.bs file syntax, etc.)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions