1852 Commits

Author SHA1 Message Date
Jonah Williams
75017d4e26 plumb frame number through to framework (flutter/engine#26233) 2021-05-19 09:59:01 -07:00
Hattomo (TomohiroHattori)
42830111e7 Adapt to avoid_escaping_inner_quotes lint (flutter/engine#25871) 2021-05-18 14:44:01 -07:00
Jim Graham
d96a378a31 Web ImageFilter.matrix support (flutter/engine#25982) 2021-05-17 15:44:01 -07:00
Brandon DeRosier
b9982cdec7 Add image generator registry (flutter/engine#25987)
Add image generator protocol and priority registry.

The protocol supports multi-frame images as well as optional
subpixel/downsampled decoding.
2021-05-17 12:12:46 -07:00
Yegor
a6cb19169a Reland "Fix a11y placeholder on desktop; auto-enable engine semantics" (flutter/engine#26134)
This reverts commit fa6511a20fe24e8f6b9d7dd699942dfc77f2c0ef.
2021-05-14 21:53:26 -07:00
Harry Terkelsen
bee2412969 Move CanvasKit files from parts to libraries (flutter/engine#26139) 2021-05-14 15:43:56 -07:00
Yegor
a790ebce3b web: improve engine dev cycle on Windows (flutter/engine#25812)
* felt.bat: simple incremental felt for Windows
2021-05-13 17:14:46 -07:00
Dan Field
e5527c55a9 Revert "SceneBuilder.addPicture returns the layer (#26074)" (flutter/engine#26133) 2021-05-13 15:44:02 -07:00
LongCatIsLooong
177d73babf add TextLeadingDistribution to webui TextStyle (flutter/engine#25777) 2021-05-13 15:29:02 -07:00
gaaclarke
4d98fd9744 Switch PlatformMessages to hold data in Mappings (flutter/engine#25867) 2021-05-13 10:28:25 -07:00
Harry Terkelsen
c02b879b3a Use cached CanvasKit instance if available (flutter/engine#26059)
* If CanvasKit has already been initialized, don't load it again.

This could be useful for hot restart or for DartPad.

* Don't redownload script if it is already loaded.

* trailing whitespace

* Touch up comments
2021-05-13 09:49:22 -07:00
Ferhat
96734d1ed4 Move more parts to libs. Move bitmap/dom canvas to /html (flutter/engine#26072) 2021-05-12 12:54:35 -07:00
Sam Rawlins
ab389f1427 Remove "unnecessary" imports. (flutter/engine#25736)
In each library where an import is removed, the library uses some elements
provided by the import, BUT there is another import which provides all of the
same elements, and at least one more which the library uses.

In this change, we remove the imports which can be simply removed in favor of
the other already present imports.

See https://github.com/dart-lang/sdk/issues/44569 for more information.
2021-05-12 09:24:50 -07:00
Dan Field
51f1eb4284 SceneBuilder.addPicture returns the layer (flutter/engine#26074) 2021-05-11 20:11:30 -07:00
David Iglesias
f008ec9958 [web] Resolve OS as iOs for iDevice Safari requesting desktop version of app. (flutter/engine#25957) 2021-05-11 13:59:01 -07:00
Ferhat
d9ba08c67b Revert "[web] Catch image load failures in --release builds (#25602)" (flutter/engine#26073)
This reverts commit 68aaf6df0a808f3cd407cc109172bb360d077d29.
2021-05-11 12:50:19 -07:00
Ferhat
68aaf6df0a [web] Catch image load failures in --release builds (flutter/engine#25602) 2021-05-11 09:17:14 -07:00
Yegor
848c588bf0 Fix a11y tab traversal (flutter/engine#25797)
* fix race with framework when using tab to traverse in a11y mode
2021-05-10 19:25:42 -07:00
Ferhat
b937510da2 Move parts to libraries (flutter/engine#26054) 2021-05-10 13:39:18 -07:00
Ferhat
093260e060 Remove debug print (flutter/engine#26051) 2021-05-10 13:32:18 -07:00
Dan Field
2e2d3b74a5 Make SceneBuilder.push* not return nullable objects (flutter/engine#25991) 2021-05-07 23:39:01 -07:00
Ferhat
28c8b21329 Move more parts to libraries. (flutter/engine#25863) 2021-05-07 14:25:14 -07:00
Kaushik Iska
2fead370b3 Streamline frame timings recording (flutter/engine#25892) 2021-05-07 12:14:01 -07:00
Dan Field
b26e387750 Delete unused method from engine_layer.h (flutter/engine#25924) 2021-05-07 10:34:01 -07:00
Ferhat
d9c668cf82 [web] Fix incorrect physical size due to visualviewport api on iOS (flutter/engine#25895) 2021-05-06 21:02:08 -07:00
gaaclarke
1734ce7f8a Moved PlatformMessage's to unique_ptrs (flutter/engine#25860) 2021-05-06 20:19:01 -07:00
Yegor
fa6511a20f Revert "Fix a11y placeholder on desktop; auto-enable engine semantics (#25830)" (flutter/engine#25898)
It broke an integration test on the framework side.

This reverts commit 9e8cb6ac312e41bd70945f8178b0077b44a5241d.
2021-05-03 14:44:58 -07:00
Yegor
9e8cb6ac31 Fix a11y placeholder on desktop; auto-enable engine semantics (flutter/engine#25830)
* auto-enable semantics

* fix a11y placeholder on desktop
2021-05-03 11:30:24 -07:00
heke123
c59ffe8b9a Use "blur_sigma" instead of "blur_radius" in Shadow. (flutter/engine#25760) 2021-04-30 14:34:02 -07:00
Ferhat
c3bebcf344 Move path part files to libraries (flutter/engine#25842) 2021-04-30 11:14:46 -07:00
David Worsham
8b52e92f15 fuchsia: Handle multiple views in platformViews path (flutter/engine#25343) 2021-04-28 23:57:30 -07:00
Jim Graham
6586623199 Fix html version of drawImageNine (flutter/engine#25605) 2021-04-28 01:08:38 -07:00
Ferhat
39caf3500e Fix incorrect platformchannel response when clipboard getData is not supported (flutter/engine#25743) 2021-04-27 11:53:16 -07:00
Ferhat
1c7f312d6a Implement ColorFilter.matrix for html renderer (flutter/engine#25769) 2021-04-27 10:04:09 -07:00
Harry Terkelsen
1685f4a977 [CanvasKit] Support all TextHeightStyles (flutter/engine#25741) 2021-04-26 18:19:01 -07:00
Harry Terkelsen
db2fcff7cd [canvaskit] Implement TextHeightBehavior (flutter/engine#25734)
* Add TextHeightBehavior

* Remove TODO

* Update goldens lock

* Update goldens_lock
2021-04-26 17:08:01 -07:00
George Wright
1558e35fdc Disable ImageDecoderFixtureTest.CanResizeWithoutDecode due to flakiness (flutter/engine#25772) 2021-04-26 14:42:28 -07:00
Ferhat
508b6905cf Add web ImageShader support for drawVertices. (flutter/engine#25729) 2021-04-23 14:15:17 -07:00
Harry Terkelsen
8cf34108f2 Roll CanvasKit to 0.26.0 (flutter/engine#25732) 2021-04-23 11:58:00 -07:00
Harry Terkelsen
b1c0cf8ce2 Wire up paragraph font weight and font style in canvas golden test (flutter/engine#25700)
* Wire up paragraph font weight and font style in canvas golden test

* Update TODOs in test

* Update goldens lock
2021-04-22 13:06:36 -07:00
Dan Field
ea35899927 Provide a stub platform view embedder for tester to avoid emitting errors (flutter/engine#25661) 2021-04-21 13:04:01 -07:00
Harry Terkelsen
07eddf7b53 Include paragraph height in the top-level text style. (flutter/engine#25659)
* Include paragraph height in the top-level text style.

* Update test comment

* Update goldens lock
2021-04-21 12:45:51 -07:00
Mouad Debbar
6d732d05b6 [web] Start splitting the engine into smaller libs (flutter/engine#25569) 2021-04-19 15:09:39 -07:00
LongCatIsLooong
fe01e1acbb [libTxt] resolve null leading distribution in dart:ui. (flutter/engine#25510) 2021-04-19 13:49:01 -07:00
Abhishek Ghaskata
c65d620deb Remove if from docs (flutter/engine#25646) 2021-04-19 11:24:01 -07:00
Ferhat
c03522741c migrate tests to nullsafe (flutter/engine#25620) 2021-04-16 17:14:57 -07:00
Ferhat
af075e03fd Fix drawVertices when using indices for web_html (flutter/engine#25614) 2021-04-15 15:56:36 -07:00
Ferhat
7eaec70ba7 migrate tests to nullsafe (flutter/engine#25616) 2021-04-15 15:42:12 -07:00
Mouad Debbar
d7ea83b42c [web] Remove dart language versions from engine files (flutter/engine#25601) 2021-04-15 15:29:02 -07:00
Mouad Debbar
739cf598e2 [web] Render ellipsis for overflowing text in DOM mode (flutter/engine#25556) 2021-04-15 06:09:02 -07:00