2087 Commits

Author SHA1 Message Date
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
Chris Bracken
5814751903 Use HTTPS git protocol to download web_installers (flutter/engine#29461)
GitHub has eliminated support for the unauthenticated git protocol
(git:// URLs). Migrate to the equivalent HTTPS URL for the
flutter/web_installers repo.
2021-11-01 19:53:36 -07:00
Ahmed Ashour
acdc8a5c8b Fix typos (flutter/engine#29280) 2021-10-27 20:30:31 -07:00
Christopher Crawford
31e6e6c23e Replace FragmentShader with FragmentShaderBuilder (flutter/engine#29231) 2021-10-27 11:38:02 -07:00
Ian Hickson
7fc8ee9773 ensure web_ui and ui have the same toString methods for StringAttributes (flutter/engine#29323) 2021-10-26 13:08:01 -07:00
godofredoc
ae68d0409b Update documentation links to point to main branch. (flutter/engine#29326) 2021-10-26 10:48:02 -07:00
Brandon DeRosier
546f244afe Fix bug where native image decoders aren't working in release mode (flutter/engine#29254) 2021-10-20 14:46:25 -07:00
Mouad Debbar
92a7a6b10f [web] Fix keyboard popping up unexpectedly on iOS (flutter/engine#29246) 2021-10-20 10:21:43 -04:00
Mouad Debbar
dedd0625e3 [web] Implement TextAlign.justify (flutter/engine#29158) 2021-10-19 18:11:59 -04:00
Mouad Debbar
0443ca6469 [web] Add support for textScaleFactor (flutter/engine#29028) 2021-10-19 10:33:54 -04:00
Yegor
e49a357627 [web] implement decodeImageFromPixels for CanvasKit (flutter/engine#29223)
* [web] implement decodeImageFromPixels for CanvasKit
2021-10-18 11:32:32 -07:00
Yegor
15e599d74d [web] add FlutterConfiguration, use it to supply local CanvasKit files (flutter/engine#29056)
* [web] add FlutterConfiguration, use it to supply local CanvasKit files in tests
2021-10-15 11:23:18 -07:00
Riley Porter
488d73e959 Ignore implicit_dynamic_function analyzer error for js_util generic methods (flutter/engine#29192) 2021-10-14 14:38:02 -07:00
sigmundch
357aae21f0 [web] use 'dart compile js' instead of 'dart2js' in web_ui and felt (flutter/engine#29179) 2021-10-14 14:33:01 -07:00
Mouad Debbar
0ba9ca28ce [web] Workaround iOS 15 Safari crash (flutter/engine#29166) 2021-10-14 14:12:13 -04:00
Harry Terkelsen
9ea55f5e15 Update comments (flutter/engine#29088) 2021-10-08 17:14:29 -07:00
Mouad Debbar
5995ae8e63 [web] Dart format a file (flutter/engine#29063) 2021-10-07 16:59:37 -04:00
Harry Terkelsen
f21781f129 Fix bug when platform views are reused when overlays are disabled. (flutter/engine#29050) 2021-10-06 14:33:33 -07:00
Yegor
097bf1811e [web] force WebGL 1 on iOS (flutter/engine#29038) 2021-10-05 18:15:37 -07:00
Harry Terkelsen
c7d2afd355 Roll CanvasKit to 0.30 (flutter/engine#28965) 2021-10-05 14:38:46 -07:00
Harry Terkelsen
2d89ffae21 Roll Chrome to major version 96 (flutter/engine#28990) 2021-10-05 13:46:56 -07:00
Yegor
858d6612e6 [web] remove platform initialization timeout (flutter/engine#29011) 2021-10-04 16:44:36 -07:00
Tong Mu
2e334c1134 Keyboard guarantee non empty events (flutter/engine#28648)
* Web

* macos

* Linux

* Easier web impl

* doc and format

* Better linux impl

* Format

* Better impl mac

* Format

* Windows

* Format

* Apply suggestions from code review

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
2021-10-04 14:01:51 -07:00
Jonah Williams
40f70ec8b3 Fix typos in spirv README (flutter/engine#28950) 2021-10-04 13:13:02 -07:00
chunhtai
406668ff08 Add web support for tooltip (flutter/engine#28966) 2021-10-01 11:18:02 -07:00
Yegor
6f5d117c74 [web] reuse browser instance across screenshot tests (flutter/engine#28936) 2021-09-29 16:45:15 -07:00
Jim Graham
05fd262e61 use all 16 matrix entries in Canvas.transform() to enable 3D matrix concatenation (flutter/engine#28856) 2021-09-27 17:58:01 -07:00
Jim Graham
9e3603308f adjust naming of methods to match style guide (flutter/engine#28753) 2021-09-23 17:13:02 -07:00
Brandon DeRosier
355c1809f0 Remove outdated unused element suppressions (flutter/engine#28775)
Fixes flutter/flutter#35164
2021-09-23 13:14:09 -07:00
Mouad Debbar
6a09b38a5c [web] Fix disposal of browser history on hot restart (flutter/engine#28805) 2021-09-23 13:33:35 -04:00
ColdPaleLight
0987697edf [web] Support raw straight RGBA format in Image.toByteData() in Html (flutter/engine#28357) 2021-09-23 02:13:02 -07:00
Harry Terkelsen
12291eed93 [canvaskit] Fix bug when overlays are disabled (flutter/engine#28790) 2021-09-22 10:49:40 -07:00
Chris Bracken
d70b998cf8 Eliminate unnecessary canvaskit imports (flutter/engine#28787)
Fixes the following lints:

```
Analyzing web_ui...

info - lib/src/engine/canvaskit/surface_factory.dart:8:8 - The import of '../util.dart' is unnecessary as all of the used elements are also provided by the import of '../../engine.dart'. Try removing the import directive. - unnecessary_import
info - lib/src/engine/canvaskit/surface_factory.dart:9:8 - The import of 'embedded_views.dart' is unnecessary as all of the used elements are also provided by the import of '../../engine.dart'.  Try removing the import directive. - unnecessary_import
info - lib/src/engine/canvaskit/surface_factory.dart:10:8 - The import of 'surface.dart' is unnecessary as all of the used elements are also provided by the import of '../../engine.dart'. Try removing the import directive. - unnecessary_import
```
2021-09-21 18:19:05 -07:00
Yegor
74dcaafe7a [web] clear surfaces on hot restart (flutter/engine#28675)
* [web] clear surfaces on hot restart
2021-09-21 15:57:35 -07:00
Darren Chan
b82554ae4a Implement a default font manager for Fuchsia. (flutter/engine#28673)
This helps us get rid of our hacky font switch after engine initialization.

See https://fxbug.dev/76406 and https://github.com/flutter/flutter/issues/82202.
2021-09-21 12:33:37 -07:00
Mouad Debbar
c487819422 [web] Multiple fixes to text layout and line breaks (flutter/engine#28642) 2021-09-20 15:08:02 -07:00
fzyzcjy
07f09eb4c4 Fix duplicated documentation (flutter/engine#28707) 2021-09-20 09:48:02 -07:00
Jason Simmons
c9c7f44174 Wrap ImageShader::sk_image_ with a SkiaGPUObject (flutter/engine#28698) 2021-09-17 20:18:02 -07:00
Jim Graham
a3c134e163 hold DisplayList objects in SkiaGPUObject wrappers (flutter/engine#28679) 2021-09-17 10:37:01 -07:00
David Worsham
657b63f499 fuchsia: Convert vulkanb headers to DEPS (flutter/engine#28676) 2021-09-16 22:39:06 -07:00
Harry Terkelsen
b2c99dbba6 [canvaskit] Handle case where platform view is prerolled but not composited (flutter/engine#28619) 2021-09-15 12:19:01 -07:00
Bruno Leroux
cf0c1b8c2a Call _isLoopback as a last resort (flutter/engine#28576) 2021-09-15 08:47:01 -07:00
Konstantin Scheglov
463ebf640f Fix UNNECESSARY_TYPE_CHECK_TRUE (flutter/engine#28611)
* Fix UNNECESSARY_TYPE_CHECK_TRUE

* Fix two more places.
2021-09-15 08:22:24 -07:00
Harry Terkelsen
1d6489facf [canvaskit] Don't assign overlays when overlays are disabled (flutter/engine#28597)
* Don't assign overlays when overlays are disabled

* Add TODO for tests
2021-09-13 17:02:25 -07:00
Yegor
cb9ce54b77 [web] fix the last matrix element in CkPath.shift (flutter/engine#28589) 2021-09-13 13:07:01 -07:00