Skip to content

Add a new version of requestAnimationFrame for use with OffscreenCanvas #2139

@junov

Description

@junov

The fundamental problems we need to solve are:

  1. Window.requestAnimationFrame is not exposed in workers.
  2. commit() may not be synchronized with a browsing context graphics update, so we need a version of requestAnimationFrame that is independent from the browsing context.

I have prepared an initial proposal that we can use as a starting point for discussion: https://wiki.whatwg.org/wiki/OffscreenCanvas.requestAnimationFrame

Any thoughts?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions