Yegor
287b3c7652
[web] expire ImageDecoder after inactivity; implement toByteData ( flutter/engine#30224 )
...
* Expire `ImageDecoder` after inactivity to release memory
* Implement `toByteData` when using `ImageDecoder`
2021-12-14 12:49:33 -08:00
Yegor
831f7e12d7
[web] make new image decoder opt-in via experimental flag ( flutter/engine#30324 )
2021-12-14 12:47:37 -08:00
Jonah Williams
94ee03e40a
Dont use TypedData.fromList if you dont have a list already ( flutter/engine#30293 )
2021-12-14 11:54:01 -08:00
Dan Field
87dcc5293f
Optmize path volatility tracker ( flutter/engine#30299 )
2021-12-13 16:59:04 -08:00
Harry Terkelsen
4b41bad357
[canvaskit] Only dispose views to release overlays as long as there are overlays available ( flutter/engine#30274 )
2021-12-13 09:51:36 -08:00
Yegor
e7c4fcc17d
[web] consolidate JS interop code (attempt 2) ( flutter/engine#30161 )
...
The original https://github.com/flutter/engine/pull/30007 was reverted
because it broke the framework. Turns out the framework still used the
WebExperiments code, which has been cleaned up in https://github.com/flutter/flutter/pull/94739 .
This PR must land after https://github.com/flutter/flutter/pull/94739 .
This reverts commit ae31d5a5d82c8091d859c27922e5f52e3a264286.
2021-12-07 09:27:06 -08:00
Jim Graham
ae31d5a5d8
Revert "[web] consolidate JS interop code ( #30007 )" ( flutter/engine#30137 )
...
This reverts commit 01a91d484eab5fae50381ab7c94fcdca9fbb56a9.
2021-12-04 18:54:31 -08:00
Mouad Debbar
5b1f788998
Update general_golden_test.dart ( flutter/engine#30134 )
2021-12-04 16:34:02 -08:00
Alexander Belokon
1c2fed029f
[web] Fixing text foreground paint / stroke for HTML web-renderer ( flutter/engine#29888 )
2021-12-04 06:09:01 -08:00
Yegor
01a91d484e
[web] consolidate JS interop code ( flutter/engine#30007 )
...
* Consolidate and check JavaScript access
* Remove all `ignore: implicit_dynamic_function`
* Add `js_access_test.dart` that validates JS access
* Make `engine.dart` an exports-only library
* Fix `sdk_rewriter_test.dart` and `ci/analyze.sh` (they skipped some tests)
2021-12-03 15:46:03 -08:00
MasahideMori-SimpleAppli
e9167f3e38
[Proposal] Improve Canvas Documentation ( flutter/engine#30069 )
...
For clarity, the text has been improved over when it was suggested.
Fixes https://github.com/flutter/flutter/issues/93190
2021-12-02 13:29:42 -08:00
Greg Spencer
aa6e038da6
Remove todos ( flutter/engine#30002 )
2021-12-02 12:49:18 -08:00
Jenn Magder
482453ff4d
Roll web_installers simulators package ( flutter/engine#30035 )
2021-12-01 16:09:02 -08:00
Harry Terkelsen
ec599ab8d9
Fix sceneElement analysis error ( flutter/engine#30038 )
2021-12-01 10:31:37 -08:00
Harry Terkelsen
83631d17ee
Non painting platform views ( flutter/engine#30003 )
2021-11-30 17:39:20 -08:00
Greg Spencer
e50f896589
Fix text height behavior macros ( flutter/engine#30006 )
2021-11-30 15:55:12 -08:00
Yegor
f9cd41081d
[web] DomRenderer becomes FlutterViewEmbedder ( flutter/engine#29994 )
...
* [web] move useful utilities out DomRenderer
* [web] rename DomRenderer to FlutterViewEmbedder
2021-11-30 14:55:44 -08:00
eggfly
b841b405e2
Add a comment in Image.toByteData to limit more encoders ( flutter/engine#29962 )
2021-11-30 00:04:09 -08:00
Mouad Debbar
b44dfd45b3
[web] Use fuzzy matching in Gold ( flutter/engine#29847 )
2021-11-29 16:07:33 -05:00
Yegor
d9e349481c
[web] clean-up dom_renderer.dart ( flutter/engine#29934 )
2021-11-29 09:26:53 -08:00
Yegor
608953bf4f
[web] remove unused --unit-tests-only flag ( flutter/engine#29906 )
2021-11-24 18:08:40 -08:00
Yegor
4a81b38f3a
[web] use typed SVG API ( flutter/engine#29481 )
2021-11-23 15:57:18 -08:00
Yegor
d76a9822ec
[web] merge the README files into one ( flutter/engine#29896 )
2021-11-23 14:02:46 -08:00
Mouad Debbar
eadc6df16d
[web] Fail if Skia Gold is required but unavailable ( flutter/engine#29792 )
2021-11-22 17:38:03 -08:00
Andrei Diaconu
5003f1a91f
Reland: Display Features support ( flutter/engine#29585 )
2021-11-19 18:04:31 -08:00
Tong Mu
5183c56533
[Embedder] Send key data through message channel ( flutter/engine#29795 )
...
This PR changes how embedder API's SendKeyData sends ui.KeyData to the framework. The packets are now sent over the existing platform messenger, reusing the entirety of its code path and functionalities while keeping the embedder API unchanged
2021-11-18 17:53:28 -08:00
Yegor
2626d20f22
[web] move browser installation to BrowserEnvironment.prepare ( flutter/engine#29801 )
...
* [web] move browser installation to BrowserEnvironment.prepare
* reject attempts to install Chromium on LUCI
2021-11-18 15:23:36 -08:00
Zachary Anderson
78d9e276e2
Fix some clang-tidy lints for Linux host_debug ( flutter/engine#29734 )
2021-11-18 13:08:01 -08:00
Yegor
9a75a379aa
[web] feature-detect and use ImageDecoder for all image decoding ( flutter/engine#29419 )
2021-11-18 10:01:02 -08:00
Yegor
2df67fa9d4
Roll to CanvasKit 0.31.0 ( flutter/engine#29772 )
...
* [web] roll CanvasKit to version 0.31.0
2021-11-17 15:53:58 -08:00
Zachary Anderson
03c0f7e453
Add 'explicit' to header files ( flutter/engine#29741 )
2021-11-17 12:49:16 -08:00
Jim Graham
6c74b3f717
Call DisplayList builder methods directly from dart canvas ( flutter/engine#29714 )
2021-11-16 14:18:04 -08:00
Mouad Debbar
e784b12872
[web] Start support for Skia Gold ( flutter/engine#29139 )
2021-11-15 16:05:31 -08:00
Jenn Magder
dbe42683b9
Fix 'google-readability-braces-around-statements' analyzer warning in macOS and iOS ( flutter/engine#29723 )
2021-11-12 18:42:29 -08:00
creativecreatorormaybenot
fdc3f3424c
Improve SPIR-V README wording ( flutter/engine#29706 )
2021-11-12 10:51:02 -08:00
Jim Graham
8b0923d4a5
Revert "Build DisplayList directly from flutter::Canvas" ( flutter/engine#29693 )
2021-11-12 00:01:02 -08:00
Yegor
5e017917d5
[web] move all build artifacts under web_ui/build ( flutter/engine#29666 )
...
* [web] move all build artifacts under web_ui/build
2021-11-11 13:47:59 -08:00
Mouad Debbar
a05f1af584
[web] Fix warning about the non-nullable flag ( flutter/engine#29622 )
2021-11-11 11:23:01 -08:00
Christopher Crawford
87422e6679
Add a samplerUniforms field for FragmentProgram ( flutter/engine#29597 )
2021-11-11 07:53:02 -08:00
Rulong Chen(陈汝龙)
d0e356a496
WeakPtrFactory should be destroyed before any other members. ( flutter/engine#29402 )
2021-11-11 06:08:01 -08:00
Jim Graham
f10782e757
Build DisplayList directly from flutter::Canvas ( flutter/engine#29470 )
2021-11-10 15:16:31 -08:00
Tong Mu
c94c09086c
Revert "Revert "[Web] Fix BMP encoder ( #29448 )" ( #29580 )" ( flutter/engine#29593 )
...
This PR fixes 2 bugs of how an image is encoded into a BMP.
2021-11-10 01:52:40 -08:00
Ahmed Ashour
b922ea32ce
Add eol for .dart files. ( flutter/engine#27351 )
2021-11-09 16:16:58 -08:00
Jim Graham
948d1538c3
separate saveLayer events into record and execute variants and trace more of the execution calls ( flutter/engine#29598 )
2021-11-09 16:13:01 -08:00
Tong Mu
7688cc3425
Revert "[Web] Fix BMP encoder ( #29448 )" ( flutter/engine#29580 )
...
This reverts commit 843fe0c09966c53fbe3b8919851891fd0c5213d1.
2021-11-07 09:53:12 -08:00
Zachary Anderson
9dffe2d4f6
Revert "Reland Display Features support (Foldable and Cutout) ( #29447 )" ( flutter/engine#29574 )
...
This reverts commit 28a1c9b21b205a436fad64c9d0bced6b22b4b6a3.
2021-11-06 20:43:44 -07:00
Dan Field
19885035d0
Trace calls to Canvas::saveLayer ( flutter/engine#29444 )
2021-11-05 14:29:04 -07:00
Christopher Crawford
f077a13c35
FragmentProgram constructed asynchronously ( flutter/engine#29513 )
2021-11-04 21:58:01 -07:00
Andrei Diaconu
28a1c9b21b
Reland Display Features support (Foldable and Cutout) ( flutter/engine#29447 )
2021-11-04 13:45:46 -07:00
Tong Mu
843fe0c099
[Web] Fix BMP encoder ( flutter/engine#29448 )
...
This PR fixes 2 bugs of how an image is encoded into a BMP.
2021-11-04 09:16:57 -07:00