whatwg / whatwg/html

Add a new version of requestAnimationFrame for use with OffscreenCanvas

Open
#2,139 32 comments 0 reactions 1 assignee View on GitHub

@junov is already working on this.

Since Dec 6, 2016.

topic: canvas
Dominant language
HTML
Stars
9.4k
Forks
3.2k
PR merge metrics
PR metrics pending

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.