forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various fixes in CanvasKit (flutter#16433)
- Enable dynamically loaded fonts - Fix addOval - Fix getBoxesForRange for negative ranges
- Loading branch information
Harry Terkelsen
authored
Feb 6, 2020
1 parent
03f639e
commit 00904dd
Showing
6 changed files
with
49 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,11 @@ const bool experimentalUseSkia = | |
bool.fromEnvironment('FLUTTER_WEB_USE_SKIA', defaultValue: false); | ||
|
||
/// The URL to use when downloading the CanvasKit script and associated wasm. | ||
const String canvasKitBaseUrl = 'https://unpkg.com/[email protected]/bin/'; | ||
/// | ||
/// When CanvasKit pushes a new release to NPM, update this URL to reflect the | ||
/// most recent version. For example, if CanvasKit releases version 0.34.0 to | ||
/// NPM, update this URL to `https://unpkg.com/[email protected]/bin/`. | ||
const String canvasKitBaseUrl = 'https://unpkg.com/[email protected]/bin/'; | ||
|
||
/// Initialize the Skia backend. | ||
/// | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters