696 Commits

Author SHA1 Message Date
Ferhat
86f6fe0ef2 [web] Fix drag failure when RMB pointer up event is not received (flutter/engine#22946) 2020-12-10 10:32:04 -08:00
Ferhat
6270a627a9 [web] Optimize BitmapCanvas. Fixes overallocation of canvas elements (flutter/engine#22856) 2020-12-10 09:08:29 -08:00
Harry Terkelsen
0b6969a889 Fix platform view transforms in CanvasKit (flutter/engine#22945) 2020-12-09 16:13:02 -08:00
Mouad Debbar
e4b87fc364 [web] Cache CSS font string instead of the style object (flutter/engine#22939) 2020-12-09 16:08:03 -08:00
nturgut
6211412f85 [web] For Firefox focusing on the DOM element after blur propagates (flutter/engine#22953)
* For Firefox focusing on the DOM element after blur propagates

* modify the unit tests. remove webkit skip

* change async testing to a more common usage
2020-12-09 16:07:06 -08:00
nturgut
d928bf3645 update browser changing docs (flutter/engine#22968) 2020-12-09 15:13:55 -08:00
Mouad Debbar
809c8dbadc [web] Default styles for rich text (flutter/engine#22941) 2020-12-08 15:22:20 -08:00
Mouad Debbar
ebb7ea5f1b [web] Fix edge cases when force-breaking lines (flutter/engine#22910) 2020-12-08 13:30:41 -08:00
Yegor
2f6c8a9865 [canvaskit] fix TransformLayer.preroll (flutter/engine#22890) 2020-12-08 12:04:58 -08:00
nturgut
0bd65ac681 [web] sharding change is merged. re-enable tests (flutter/engine#22884)
* sharding change is merged. re-enable tests

* fix file name for image loading. re-block auto
2020-12-08 09:54:10 -08:00
Mouad Debbar
cad093bb5c [web] Handle long text and ellipsis in rich text (flutter/engine#22873) 2020-12-07 13:28:14 -08:00
Yegor
29a8c53eb1 copy the glibc fix to felt (flutter/engine#22878) 2020-12-04 13:25:39 -08:00
Yegor
b0d6a7f485 re-enable pointer events inside platform views (flutter/engine#22874) 2020-12-04 13:25:22 -08:00
Mouad Debbar
c1a4d77e5e [web] Initial rich measurement implementation (flutter/engine#22779) 2020-12-03 16:33:03 -08:00
Yegor
3d94f1171f memoize the fallback SkPaint in paragraph (flutter/engine#22848) 2020-12-03 15:26:23 -08:00
Yegor
d2213fc58e Make CkPicture resurrectable (flutter/engine#22807)
* Make CkPicture resurrectable

* disable goldens on Firefox

* add non-recording canvas test; fix Firefox test
2020-12-03 13:13:44 -08:00
nturgut
61e8ad5a45 leaving only html tests (flutter/engine#22846) 2020-12-03 12:33:27 -08:00
Ferhat
fe38948940 [web] Fix event transform between mousedown/up due to mouse move event (flutter/engine#22813) 2020-12-03 09:04:36 -08:00
Yegor
63e46b8b90 Better handle image codec instantiation failure (flutter/engine#22809) 2020-12-02 12:27:11 -08:00
Lasse R.H. Nielsen
bcb3c39d79 Stop using the List constructor. (flutter/engine#22793) 2020-12-02 11:53:01 -08:00
Yegor
7055732455 Temporarily reduce e2e test matrix to stop flaky web engine builds (flutter/engine#22824)
* reduce e2e test matrix

* add issue link
2020-12-02 11:10:54 -08:00
Greg Spencer
851544f2d2 Fix PlatformDispatcher.locale to return something meaningful when there are no locales. (flutter/engine#22608)
Returns an "undefined" locale (language code "und") from PlatformDispatcher.locale when no locales are defined.
2020-12-01 09:54:56 -08:00
Ferhat
bf3bb11a51 [web] Optimize Matrix4.identity (flutter/engine#22622) 2020-11-30 16:29:20 -08:00
Mouad Debbar
482bad112c [web] Add new line break type (prohibited) (flutter/engine#22771) 2020-11-30 13:05:10 -08:00
Harry Terkelsen
23586802af Don't register CanvasKit with define (flutter/engine#22745) 2020-11-25 11:48:55 -08:00
nturgut
ead12e134c Enabling semantics tests for safari, ios-safari and firefox (flutter/engine#22662)
* enable safari tests for almost all the methods for semantics tests

* enable almost all semantics tests for firefox

* Safari desktop have different scroll max values for different versions

* fix assert
2020-11-23 15:45:55 -08:00
Yegor
cc5d22dc66 Add Instrumentation class (flutter/engine#22650) 2020-11-21 08:38:02 -08:00
Yegor
10a52ef99a Implement image resurrection (flutter/engine#22575) 2020-11-20 10:38:02 -08:00
Ferhat
685ff71e37 [web] Implement tilemode for gradient shaders. (flutter/engine#22597) 2020-11-20 09:06:55 -08:00
Harry Terkelsen
d3f6996e52 Implement Scene.toImage() in CanvasKit mode. (flutter/engine#22085) 2020-11-19 17:33:43 -08:00
Ferhat
f827aaa920 [web] Fix test failure on high dpi device (flutter/engine#22618) 2020-11-19 14:56:30 -08:00
Yegor
88eae0a43d Refactor CanvasKit image ref counting; fix a minor memory leak (flutter/engine#22549)
* Refactor SkiaObjectBox ref counting
* make CkAnimatedImage a Codec
* disallow double dispose; better assertion messages
2020-11-17 17:40:34 -08:00
Greg Spencer
8dcdbfad8b Reland: Remove the Window class now that it is no longer used. (flutter/engine#22566)
Reland #22505, now that flutter/flutter#70637 has landed.

Removes references to dart:ui.Window, and switch usages to PlatformDispatcher or SingletonFlutterWindow, as appropriate.
2020-11-17 16:39:07 -08:00
Ian Hickson
9902781f55 Also maintain the zone on the ChannelBuffers.push callback (flutter/engine#22454) 2020-11-17 09:48:03 -08:00
Harry Terkelsen
88a6820606 Migrate to CanvasKit 0.19.0 (flutter/engine#22511) 2020-11-16 16:24:04 -08:00
Jim Graham
33f40f6aaa Revert "Remove the Window class now that it is no longer used. (#22505)" (flutter/engine#22519)
This reverts commit 28f766ebd26e8ef40d2489db465dc85fd5e61d5c.
2020-11-13 23:12:12 -08:00
Greg Spencer
28f766ebd2 Remove the Window class now that it is no longer used. (flutter/engine#22505)
This removes the Window class, now that the framework no longer uses it.
2020-11-13 14:38:15 -08:00
Ferhat
ba105e0ea0 [web]Update @dart annotation. Change shaders to allocate smaller canvas (flutter/engine#22481) 2020-11-13 13:55:32 -08:00
nturgut
166e60ec05 TBR: remove the extra values which was overshadowing the test result (flutter/engine#22483)
* remove the extra values which was overshadowing the test result

* increase difference. canvaskit gives different results

* increase difference more. firefox gave 1.7 diff. add comments
2020-11-12 18:24:38 -08:00
LongCatIsLooong
465c84321e Exposing ColorFilter to ImageFilter conversion and Compose() (flutter/engine#20309) 2020-11-12 15:34:02 -08:00
Yegor
5e34c83023 make CkContourMeasureIter and CkContourMeasure resurrectable (flutter/engine#22459) 2020-11-12 13:27:39 -08:00
Yegor
23df969f93 Make CkPath resurrectable (flutter/engine#22446) 2020-11-11 17:29:01 -08:00
nturgut
00333158e6 Upgrades to felt (running on multiple modes, multiple backends, single test target option) (flutter/engine#22260)
* testing running the tests on all build modes

* don't run debug mode on other browsers

* fix platform message test failures

* some cleanup. change dispose platform channel message

* adding flags to control the integration tests better with felt

* running tests by target name, selecting web rendering backend

* fix conditions

* carrying some conditions to helper methods. Adding comments

* create a blocked list for failing canvaskit test

* parse parameters before all integration tests

* Give better warning to developers for tests that are blocked for CI

* address some reviwer comments (more remains)

* remove named parameters

* also run with auto mode

* add verbose option

* reduce the number of tests running. skip url_test for now
2020-11-11 17:18:15 -08:00
Mouad Debbar
60ad53502c [web] Refactor _measureSubstring to better suit rich text measurement (flutter/engine#22443) 2020-11-11 15:50:01 -08:00
Mouad Debbar
6133000b23 [web] Reuse the existing font string builer in TextStyle (flutter/engine#22444) 2020-11-11 15:49:46 -08:00
Mouad Debbar
fe3d35549a [web] Better data structure to prepare for rich text measurement (flutter/engine#22442) 2020-11-11 15:49:24 -08:00
Yegor
75712b2594 Remove double-referencing from CkImage to SkImage (flutter/engine#22415) 2020-11-11 14:04:02 -08:00
Ferhat
eedd412c5f [web] Speed up PageView/CustomPainter rendering (flutter/engine#22408) 2020-11-10 14:41:58 -08:00
Yegor
5eb7ee0b67 Simplify API for scheduling Skia object deletions (flutter/engine#22409) 2020-11-10 10:01:39 -08:00
Mouad Debbar
d256cd55de [web] Restore the ability to set a custom url strategy (flutter/engine#22371) 2020-11-09 22:28:48 -08:00