Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Reland "[web] Turn on CanvasKit Chromium (#40459)" #40503

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

mdebbar
Copy link
Contributor

@mdebbar mdebbar commented Mar 21, 2023

Original PR: #40459
Revert PR: #40495

We had to put back image codecs into CanvasKit Chromium (#40501) before relanding this.

Copied from the original PR:


This is the last bit to make CanvasKit Chromium available to our users by default.

Users can always opt-out by canvasKitVariant: "full" to their runtime configuration similar to this.

_flutter.loader.loadEntrypoint({
  onEntrypointLoaded: async function(engineInitializer) {
    let appRunner = await engineInitializer.initializeEngine({
      canvasKitVariant: "full",
    });

    await appRunner.runApp();
  }
});

Closes flutter/flutter#122329

@flutter-dashboard flutter-dashboard bot added the platform-web Code specifically for the web engine label Mar 21, 2023
@mdebbar mdebbar added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 22, 2023
@auto-submit auto-submit bot merged commit d2ddbb5 into flutter:main Mar 22, 2023
@mdebbar mdebbar deleted the reland_ck_chromium_on branch June 22, 2023 21:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App platform-web Code specifically for the web engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[web] Turn on the flag for CanvasKit Chromium
2 participants