Skip to content

[web] we need to warm-up CanvasKit renderer shaders #75801

@yjbanov

Description

@yjbanov

Currently shader warm-up is conditional behind kIsWeb flag because the HTML renderer crashes during warm-up. Because the flag doesn't distinguish between HTML and CanvasKit we end up not warming up CanvasKit either. This leads to jank in the middle of animations after the app starts up. We need a way to do the shader warm-up for the CanvasKit renderer.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: performanceRelates to speed or footprint issues (see "perf:" labels)e: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webengineflutter/engine related. See also e: labels.frameworkflutter/packages/flutter repository. See also f: labels.good first issueRelatively approachable for first-time contributorsplatform-webWeb applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions