2879 Commits

Author SHA1 Message Date
Jackson Gardner
77dadc582f Forward stdout and stderr from dart2wasm when verbose. (flutter/engine#40731)
Forward stdout and stderr from dart2wasm when verbose.
2023-03-29 00:46:05 +00:00
Harry Terkelsen
e8d9ea46c2 Revert "Revert "Reland "Default the CanvasKit base URL to local artifacts. (#40293)" (#40470)" (#40700)" (flutter/engine#40717)
This reverts commit aee0a1a6db53cfdada6d00fe50a94c3216950bb6.
2023-03-28 17:21:10 -07:00
David Iglesias
4fe214f62a Reland "[web] Accepts assetBase through JS config. (#40615)" (flutter/engine#40677)
Reland "[web] Accepts assetBase through JS config. (#40615)"
2023-03-28 20:21:56 +00:00
joshualitt
bf360f6176 Reland "[web] Migrate canvaskit_api to JS types." (flutter/engine#40613) 2023-03-28 13:03:34 -07:00
Jason Simmons
504f891d91 Reland "Return an empty JavaScript object as a replacement for exports/module in patchCanvasKitModule (#40582)" (flutter/engine#40698)
Reland "Return an empty JavaScript object as a replacement for exports/module in patchCanvasKitModule (#40582)"
2023-03-28 14:30:17 +00:00
Harry Terkelsen
158cf5c52a Revert "[canvaskit] Use FontCollection API from CanvasKit to mitigate caching issues (#40673)" (flutter/engine#40705)
Revert "[canvaskit] Use FontCollection API from CanvasKit to mitigate caching issues"
2023-03-28 07:52:21 +00:00
Harry Terkelsen
7f23c4f85f [canvaskit] Use FontCollection API from CanvasKit to mitigate caching issues (flutter/engine#40673)
[canvaskit] Use FontCollection API from CanvasKit to mitigate caching issues
2023-03-28 06:02:09 +00:00
Kevin Chisholm
aee0a1a6db Revert "Reland "Default the CanvasKit base URL to local artifacts. (#40293)" (#40470)" (flutter/engine#40700)
Revert "Reland "Default the CanvasKit base URL to local artifacts.""
2023-03-28 04:49:13 +00:00
Michael Goderbauer
a508065bbc Reland "Post 3.0 lint sync (#40394)" (flutter/engine#40688)
Reland "Post 3.0 lint sync (#40394)"
2023-03-28 03:25:02 +00:00
Jackson Gardner
82886d52b3 Web test reorganization (flutter/engine#39984)
Web test reorganization
2023-03-28 00:08:48 +00:00
Brandon DeRosier
9e9590a68f Revert "Post 3.0 lint sync (#40394)" (flutter/engine#40687)
This reverts commit 8ba209121d2671b0d202d9731fe67ec5eb1529b4.
2023-03-27 15:45:59 -07:00
Brandon DeRosier
2af281a806 Revert "Return an empty JavaScript object as a replacement for exports/module in patchCanvasKitModule (#40582)" (flutter/engine#40686)
This reverts commit 33dd135fc0034f0fc4dcb8803721d9a77d35852a.
2023-03-27 15:40:29 -07:00
bungeman
13b279990a Simplify SkFontMgr classes for sk_sp (flutter/engine#40627)
These subclasses were previously made very generic to work with both the
pre-sk_sp version of SkFontMgr and the using-sk_sp version of SkFontMgr.
Now that SkFontMgr uses sk_sp for return types, simplify the subclasses.
2023-03-27 16:06:07 -04:00
Jason Simmons
33dd135fc0 Return an empty JavaScript object as a replacement for exports/module in patchCanvasKitModule (flutter/engine#40582)
Return an empty JavaScript object as a replacement for exports/module in patchCanvasKitModule
2023-03-27 20:04:28 +00:00
David Iglesias
34a936b07e Revert "[web] Accepts assetBase through JS config. (#40615)" (flutter/engine#40670)
This reverts commit e0be0c5676f56ef918eb806e1173346dcbadbe5b.

This commit is causing problems with new lint rules:

```
   info - test/engine/assets_test.dart:5:1 - This annotation must be attached to a library directive. Try attaching library annotations to library directives. - library_annotations
```
2023-03-27 12:07:01 -07:00
David Iglesias
e0be0c5676 [web] Accepts assetBase through JS config. (flutter/engine#40615)
[web] Accepts assetBase through JS config.
2023-03-27 17:43:47 +00:00
Michael Goderbauer
8ba209121d Post 3.0 lint sync (flutter/engine#40394)
Post 3.0 lint sync
2023-03-27 17:15:08 +00:00
Brandon DeRosier
7cfb268a9a [Impeller] Keep impeller scene build working (flutter/engine#40635) 2023-03-26 12:32:13 -07:00
Dan Field
96773d7c04 Avoid implicit conversions to floats in dart:ui (flutter/engine#40098)
Avoid implicit conversions to floats in dart:ui
2023-03-24 21:36:41 +00:00
chunhtai
c56c8d9354 Added additional uri field to routeInformationUpdated to accept entir… (flutter/engine#40250)
Added additional uri field to routeInformationUpdated to accept entir…
2023-03-24 20:12:13 +00:00
Jackson Gardner
b6af3bcc91 Ensure all golden filenames end in .png. (flutter/engine#40604)
Ensure all golden filenames end in .png.
2023-03-24 19:28:57 +00:00
Harry Terkelsen
888d56a309 Reland "Default the CanvasKit base URL to local artifacts. (#40293)" (flutter/engine#40470)
This reverts commit d56b53d0c6006873499ba75dcc0bf478834a1b64.
2023-03-24 11:41:33 -07:00
joshualitt
4babe7a6e9 Revert "[web] Migrate canvaskit_api to JS types.(#40538)" (flutter/engine#40602)
This reverts commit 1a76a2115d94ed64c5e1c08303e1154215347d87.
2023-03-24 10:56:53 -07:00
joshualitt
1a76a2115d [web] Migrate canvaskit_api to JS types.(flutter/engine#40538) 2023-03-24 08:53:11 -07:00
LongCatIsLooong
42c2dc35ad Fix default test font on web (flutter/engine#40479)
Fix default test font on web
2023-03-23 22:24:36 +00:00
Jonah Williams
60987522d2 [impeller] use lossy texture compression on iOS (flutter/engine#40520)
[Impeller] use lossy texture compression on iOS for decode images and MSAA resolve textures.
2023-03-23 20:29:40 +00:00
bungeman
d347698e68 Make SkFontMgr subclasses flexible for sk_sp (flutter/engine#40556)
Skia is changing SkFontMgr and SkFontStyleSet methods to consistently
return sk_sp<SkTypeface> and sk_sp<SkFontStyleSet> instead of
SkTypeface* and SkFontStyleSet*. The pointers returned always needed to
be SkSafeUnref'ed but with sk_sp this ownership is now explicit.

Flutter subclasses both SkFontMgr and SkFontStyleSet and overrides
affected methods. Normally Skia would roll out this change behind a
build flag which would first be set in Flutter (to hold out the change),
Skia then rolled into Flutter, then the build flag removed from Flutter
(along with updating the subclasses). However, this is made quite
difficult and slow because of the need to also be compatible with
Flutter in other repositories at the same time. Instead, this change
updates the subclasses to infer the correct return types in a way that
will work both with and without the Skia change. After the Skia change
is landed and rolled into Flutter the subclasses will be re-simplified
to match the new method signatures.

[0] https://skia-review.googlesource.com/c/skia/+/659856
2023-03-23 09:48:22 -04:00
Jonah Williams
7b228c8b4b [impeller] always copy bitmaps when given unencoded data (flutter/engine#40543)
[impeller] always copy bitmaps when given unencoded data
2023-03-23 00:54:01 +00:00
Kevin Lubick
68a9130ffb Fix includes in image_decoder_impeller (flutter/engine#40533) 2023-03-22 11:16:58 -07:00
Michael Goderbauer
c38bab734a Reland "Deprecate SingletonFlutterWindow and global window singleton (#39302)" (flutter/engine#40511)
Reland "Deprecate SingletonFlutterWindow and global window singleton (#39302)"
2023-03-22 16:54:27 +00:00
joshualitt
e2fb9376f7 Migrate SVG to JS types (flutter/engine#40401) 2023-03-22 07:50:19 -07:00
Mouad Debbar
eb87e90a55 Reland "[web] Turn on CanvasKit Chromium (#40459)" (flutter/engine#40503)
Reland "[web] Turn on CanvasKit Chromium (#40459)"
2023-03-22 13:41:21 +00:00
Jonah Williams
10e9dfa1c4 [impeller] if not creating mipmaps dont set mip count (flutter/engine#40513)
[impeller] if not creating mipmaps dont set mip count
2023-03-22 02:09:11 +00:00
Brandon DeRosier
6830e3c129 Revert "Deprecate SingletonFlutterWindow and global window singleton (#39302)" (flutter/engine#40507)
Revert "Deprecate SingletonFlutterWindow and global window singleton"
2023-03-22 00:48:03 +00:00
Michael Goderbauer
c3f475f8c5 Deprecate SingletonFlutterWindow and global window singleton (flutter/engine#39302)
Deprecate SingletonFlutterWindow and global window singleton
2023-03-21 22:11:02 +00:00
Jonah Williams
90a522d378 [Impeller] Allocate images into host buffer, blit to device private texture. (flutter/engine#40410)
[Impeller] Allocate images into host buffer, blit to device private texture.
2023-03-21 20:56:00 +00:00
Zachary Anderson
b4c1aaaf1c Revert "[web] Turn on CanvasKit Chromium (#40459)" (flutter/engine#40495)
Revert "[web] Turn on CanvasKit Chromium"
2023-03-21 18:18:51 +00:00
Mouad Debbar
a32e3ab927 [web] Turn on CanvasKit Chromium (flutter/engine#40459)
[web] Turn on CanvasKit Chromium
2023-03-21 16:23:09 +00:00
Martin Kustermann
fce1533905 Avoid registering service extensions in flutter-release mode (flutter/engine#40484)
Doing so is currently a NOP because `vm-service` isn't available in
flutter-release (aka Dart VM product) mode.

So this makes startup time of isolates slightly faster in
release mode and allows tree shaking of the relevant code in release
mode.
2023-03-21 10:23:23 +01:00
Jim Graham
37317c5984 restructure DL sources into sub-directories and new file naming conventions (flutter/engine#40157)
restructure DL sources into sub-directories and new file naming conventions
2023-03-21 02:34:48 +00:00
Jonah Williams
0eaad5010e [impeller] serialize texture upload (flutter/engine#40464)
[impeller] serialize texture upload
2023-03-20 21:46:08 +00:00
Greg Spencer
28a810a5b2 Rename setters for lifecycle state (flutter/engine#40462)
Rename setters for lifecycle state
2023-03-20 21:16:21 +00:00
Jason Simmons
31aa0c80a1 Rename FontCollection to FlutterFontCollection (flutter/engine#40395)
Rename FontCollection to FlutterFontCollection
2023-03-20 21:12:05 +00:00
Michael Goderbauer
9258a58a33 add final class modifiers to fix dart roll (flutter/engine#40434) 2023-03-20 10:10:55 -07:00
Callum Moffat
9f6349df70 Send PointerSignalKind.scale events from web (flutter/engine#36348)
Send PointerSignalKind.scale events from web
2023-03-20 17:08:03 +00:00
Jim Graham
f9918c006e Reland "Sequester all Skia<->DL interactions into the skia sub-module" (flutter/engine#40435)
Reland "Sequester all Skia<->DL interactions into the skia sub-module"
2023-03-19 22:59:17 +00:00
joshualitt
701d09605a [web] (flutter/engine#40428) 2023-03-18 14:19:35 -07:00
Zachary Anderson
d56b53d0c6 Revert "Default the CanvasKit base URL to local artifacts. (#40293)" (flutter/engine#40415)
Revert "Default the CanvasKit base URL to local artifacts."
2023-03-18 04:33:12 +00:00
Harry Terkelsen
d9e8942c04 Default the CanvasKit base URL to local artifacts. (flutter/engine#40293) 2023-03-17 14:36:11 -07:00
Jonah Williams
c13f016ce4 Revert "[Impeller] mark decoded images as optimized for GPU access (#40356)" (flutter/engine#40387)
Revert "[Impeller] mark decoded images as optimized for GPU access"
2023-03-17 19:14:52 +00:00