这是indexloc提供的服务,不要输入任何密码
Skip to content

Rendering to OffscreenCanvas on non-yielding workers #403

@awtcode

Description

@awtcode

Hi,

I currently execute my code in a Web Worker and does not yield the context back to the browser because everything happens in a while loop. As such, I need to pass the OffScreen Canvas back to the main thread for rendering.

Here are my questions:

  1. Will WebGPU support the OffScreenCanvas API?
  2. Can we have an API to support rendering from a Worker even if the context is not yielded back to the Worker?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions