Skip to content

OffscreenCanvas #31

Closed
Closed

Description

@annevk

Description
Enabling usage of canvas in workers.

Specification
https://html.spec.whatwg.org/multipage/canvas.html#the-offscreencanvas-interface

Tests
https://wpt.fyi/results/html/canvas/offscreen

Rationale
I have reason to believe all browsers plan to ship this in the coming year. Making it part of this effort would help ensure implementations are aligned, issues with the specification get resolved, etc.

Activity

  1. foolip commented on Nov 19, 2021

    @foolip
    Member

    @fserb do you have data about web developer demand for OffscreenCanvas? And do you think the existing tests for this feature are sufficient?

  2. fserb commented on Nov 19, 2021

    @fserb

    We do know about OffscreenCanvas usage which at this point is around 27% (in comparison to HTMLCanvasElement which is around 41%). The real useful number would be OffscreenCanvas in workers (where there's no alternative) but we don't have those.

    For the tests, yes. We are very confident they have good coverage. Most of our tests are executed in all 4 configurations (HTMLCanvasElement attached to the DOM, HTMLCanvasElement detached, OffscreenCanvas and OffscreenCanvas in workers). We are actively working on unifying them (cc @yiyix, which is leading this), but for the most part they should already be 90% the same.

  3. foolip commented on Dec 10, 2021

    @foolip
    Member

    Based on the Dec 9 meeting, with outcomes summarized in #39 (comment), we won't include OffscreenCanvas in Interop 2022.

  4. added
    focus-area-proposal
    and removed on Sep 16, 2022
  5. added this to the Interop 2022 milestone on Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    focus-area-proposal

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions