On May 1, 2021, at 10:07 AM, Aaron Krajeski via webkit-dev <webkit-dev@lists.webkit.org> wrote:

Hi webkit-dev,

This is a request for WebKit's position on New Canvas 2D API features.


Explainer/Chrome Dev Summit Video


Summary

Updated functionality for the Canvas2D API. Adds nine new features/functions to CanvasRenderingContext2D:
  - "ContextLost" and "ContextRestored" events


Seems reasonable.

  - "willReadFrequently" option for canvases where lots of readback is expected


Seems reasonable.

  - CSSColorValues as style inputs


Seems reasonable (gated on Typed OM support).

  - More CSS text modifier support


WebKit has already expressed support for the proposal.

  - A reset function


We'e already expressed some concerns in the issue.

  - A roundRect draw primitive


Seems reasonable.

  - Full 4x4 transformation matrices


WebKit's architecture on macOS/iOS currently has no way to render these, so we don't support this proposal at this time.

  - Conic gradients


Seems reasonable.

  - Better support for SVG filters


Seems reasonable, although this would have performance implications in our current architecture.

Simon

Contact emails

aaronhk@chromium.org, fserb@chromium.org

Spec and tests
  - WHATWG spec in progress:
Text Modifiers
Filters
Perspective Transforms
reset()
CSSColorValue
willReadFrequently
RoundRect
ConicGradient
Context Loss
  - MDN spec 
         Conic gradient
Text Modifiers (via ChromeLabs/puppy-content)

- Web platform tests

RoundRect
reset()
Perspective Transforms
Context Loss (this is not testable on WPT)
Filters
CSSColorValue Input
WillReadFrequently (testable in WPT, work in progress to add tests there)
Conic Gradient
Text Modifiers
  Chrome Status

Look forward to hearing your feedback!

Cheers!
  Aaron
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev