[w3ctag/design-reviews] OffscreenCanvas new commit() and DedicatedWorker.requestAnimationFrame (#288)

Hello TAG!

This is a follow up from: https://github.com/w3ctag/design-reviews/issues/141

I'm requesting a TAG review of:

  - Name: OffscreenCanvas new commit() and DedicatedWorker.requestAnimationFrame
  - Specification URL: there's an [overall description](https://github.com/junov/OffscreenCanvasAnimation/blob/master/OffscreenCanvasAnimation.md) and a [WhatWG PR](https://github.com/whatwg/html/pull/3677).
  - Tests: [Worker requestAnimationFrame](https://github.com/web-platform-tests/wpt/blob/master/workers/WorkerGlobalScope_requestAnimationFrame.htm) and [OffscreenCanvas rendering with new commit](https://github.com/web-platform-tests/wpt/tree/master/offscreen-canvas)
  - Primary contacts: @fserb

This change addresses concerns pointed out at https://github.com/w3ctag/design-reviews/issues/141, namely:
- the previous `Promise commit()` solution doesn't exist anymore, instead `requestAnimationFrame` has been added to `DedicatedWorkerGlobalScope`, and a render model has been described on it. This is semantic similar to what happens on `Window` (although not attached to a Document animation frame).
- There's still a need for a `commit()` function, to support the new WebAssembly cases of a busy loop execution (that doesn't finish the context task) but that still wants to commit a render frame. This new `commit()` is a blocking function that returns as soon as the UA is ready to receive a new rendering of the OffscreenCanvas.
- Apart from the request above, and since this is relevant to OffscreenCanvas, there's still a minor follow up PR on whatwg that enables (https://github.com/whatwg/html/pull/3708)[text rendering on OffscreenCanvas]. 

We'd prefer the TAG provide feedback as leave review feedback as a comment in this issue and notifying myself (@fserb) if needed.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/288

Received on Friday, 1 June 2018 15:48:39 UTC