Oh and I am remiss to not have noted the relevant prefs: gfx.offscreencanvas.enabled: If true, force OffscreenCanvas on everywhere. Can be flipped without a restart. gfx.offscreencanvas.domain-enabled: If true, allow OffscreenCanvas for domains on the allowlist. Can be flipped without a restart. gfx.offscreencanvas.domain-allowlist: The set of domains (comma separated) that are allowed to use OffscreenCanvas. Requires a restart to update the list. dom.workers.requestAnimationFrame: If true, allow request/cancelAnimationFrame to be used on DOM workers. While separate from OffscreenCanvas, it is a common dependency required to drive the rendering.
On Thu, Feb 17, 2022 at 11:22 AM Andrew Osmond <[email protected]> wrote: > Last mid December in Firefox 97, we turned on OffscreenCanvas + WebGL in > nightly in bug 1746110, and it was subsequently turned off in January. > Ultimately, our conclusion was that it would break too many websites for > users without the full Canvas2D support. > > To that purpose, I landed partial support for Canvas2D in bug 1746750 [2], > although it also remained turned off by default. There is more effort > required to support text rendering from DOM worker threads -- we are > working towards in 2022 so that we can ship the full feature to all users > and domains. > > In the meantime, we have been in contact with partners who are able to > work within the current limitations of our OffscreenCanvas implementation. > This will allow us to ship something sooner and impactful to users, similar > to the origin trials done by Google with Chrome. > > As such, I have turned on OffscreenCanvas for Zoom domains (*.zoom.us) as > of bug 1751721 [3] in Firefox 99. You may notice the Zoom web client UI > change as we now have access to gallery view with OffscreenCanvas. A few of > us have been foxfooding it for the past few weeks, and I hope it is ready > for a broader audience :). > > If you encounter any problems, please block any bugs filed against bug > 1390089 [4], the meta bug for OffscreenCanvas. > > If you know of other potential partners who depend on WebGL and text-free > Canvas2D, let the graphics team know! > > [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1746110 > [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1746750 > [3] https://bugzilla.mozilla.org/show_bug.cgi?id=1751721 > [4] https://bugzilla.mozilla.org/show_bug.cgi?id=1390089 > -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAM8hR5gmnd_h9HGTgvjwbiptc%3Duk9oMEQcaRhKMeoBZbG4sPPg%40mail.gmail.com.
