2796 Commits

Author SHA1 Message Date
Harry Terkelsen
46682951fe [web] Access engine version to get correct gstatic URL (flutter/engine#40194) 2023-03-10 10:16:48 -08:00
gaaclarke
a83570e7bf Fixed bug where images without specified colorspaces can crash wide gamut test. (flutter/engine#40097)
Fixed crash with images without specified colorspaces in wide gamut test
2023-03-09 23:07:22 +00:00
Jonah Williams
726df65356 Reland: Move asset opening to background thread, fix dart persistent value destruction (flutter/engine#40183)
Reland: Move asset opening to background thread, fix dart persistent value destruction
2023-03-09 22:58:04 +00:00
Mouad Debbar
c9d003f7b3 [web] Use CK's malloced array correctly (flutter/engine#40181)
[web] Use CK's malloced array correctly
2023-03-09 20:38:04 +00:00
Jason Simmons
d55465069a Apply the buffer offset when converting a vertex color Int32List to a Uint32List (flutter/engine#40066)
Apply the buffer offset when converting a vertex color Int32List to a Uint32List
2023-03-09 19:56:59 +00:00
Jim Graham
bc162fe559 Revert "Reland "Sequester all Skia<->DL interactions into the skia sub-module" (#40114)" (flutter/engine#40161)
Revert "Reland "Sequester all Skia<->DL interactions into the skia sub-module""
2023-03-09 02:41:54 +00:00
Dan Field
0af50a84c0 Fix multi-frame codec frame reuse (flutter/engine#40125) 2023-03-08 15:49:36 -08:00
Mouad Debbar
e689699e2a [web] Fix SkParagraphBuilder tests for the chromium variant (flutter/engine#40152)
[web] Fix SkParagraphBuilder tests for the chromium variant
2023-03-08 22:21:17 +00:00
Zachary Anderson
44947b8822 Revert "[engine] move asset mapping copy to background thread (#39918)" (flutter/engine#40147)
Revert "[engine] move asset mapping copy to background thread"
2023-03-08 19:30:27 +00:00
Jonah Williams
9bc89c950c [engine] move asset mapping copy to background thread (flutter/engine#39918)
[engine] move asset mapping copy to background thread
2023-03-08 00:28:34 +00:00
Mouad Debbar
fe97e51d19 [web][felt] Add 'archive' target + 'profile' mode (flutter/engine#40060)
[web][felt] Add 'archive' target + 'profile' mode
2023-03-07 21:31:31 +00:00
Jim Graham
53a80bdedf Reland "Sequester all Skia<->DL interactions into the skia sub-module" (flutter/engine#40114)
Reland "Sequester all Skia<->DL interactions into the skia sub-module"
2023-03-07 19:03:17 +00:00
Jason Simmons
6927af678e Revert "Sequester all Skia<->DL interactions into the skia sub-module (#40083)" (flutter/engine#40103)
Revert "Sequester all Skia<->DL interactions into the skia sub-module (#40083)"
2023-03-07 02:58:49 +00:00
Yegor
0893bbf690 [canvaskit] read pixels back in Picture.toImage (flutter/engine#40004)
[canvaskit] read pixels back in Picture.toImage
2023-03-07 01:24:59 +00:00
Jackson Gardner
b8c4597090 Compile skwasm with better space saving flags. (flutter/engine#40093)
Compile skwasm with better space saving flags.
2023-03-06 22:27:48 +00:00
Jim Graham
acd130b2b2 Sequester all Skia<->DL interactions into the skia sub-module (flutter/engine#40083)
Sequester all Skia<->DL interactions into the skia sub-module
2023-03-06 19:55:32 +00:00
godofredoc
bc2611e03c Web engine build config cleanup. (flutter/engine#40064)
Web engine build config cleanup.
2023-03-04 00:28:18 +00:00
Jason Simmons
90c1952420 Remove obsolete SkPaint foreground/background attributes from TextStyle (flutter/engine#40059)
Remove obsolete SkPaint foreground/background attributes from TextStyle
2023-03-03 22:02:47 +00:00
LongCatIsLooong
48c413ae2f Add new test font (flutter/engine#39809)
Add new test font
2023-03-03 21:38:01 +00:00
Greg Spencer
ddfbc85928 Add platform channel System.exitApplication and System.requestAppExit support (flutter/engine#39836)
Add platform channel `System.exitApplication` and  `System.requestAppExit` support
2023-03-03 19:13:00 +00:00
joshualitt
9defbf1d0b [web] Add JS type test for JsStrategy. (flutter/engine#39765) 2023-03-03 10:09:03 -08:00
Jason Simmons
c9ebd42ba3 Restore the ViewConfiguration.displayFeatures doc template (flutter/engine#40041)
Restore the ViewConfiguration.displayFeatures doc template
2023-03-03 05:12:22 +00:00
Michael Goderbauer
c6fb732042 Remove PlatformConfiguration and ViewConfiguration (flutter/engine#40012)
Remove PlatformConfiguration and ViewConfiguration
2023-03-02 23:14:04 +00:00
Mouad Debbar
7a368e10bd [web] Remember which variant of CanvasKit is being used (flutter/engine#40027)
[web] Remember which variant of CanvasKit is being used
2023-03-02 21:04:04 +00:00
Kevin Lubick
709e160b5c Fix includes of SkBitmap/SkImage (flutter/engine#40026) 2023-03-02 12:25:42 -08:00
gaaclarke
8a41230a00 [Impeller] Made toByteData work on wide gamut images (always downscaling to sRGB). (flutter/engine#39932)
[Impeller] Made toByteData work on wide gamut images (always downscaling to sRGB).
2023-03-02 01:51:32 +00:00
Michael Goderbauer
c0a8f3871b Expose GestureSettings on FlutterView (flutter/engine#39997) 2023-03-01 17:51:27 -08:00
Jackson Gardner
a3dc9e77fb Skwasm Renderer - initial implementation (flutter/engine#39072)
Skwasm Renderer - initial implementation
2023-03-02 00:01:04 +00:00
Harry Terkelsen
00328e0fe3 Fix typo in ColorFilter docs (flutter/engine#36448)
Fix typo in ColorFilter docs
2023-02-28 23:57:46 +00:00
Mouad Debbar
1d28b78f57 [web] Download CanvasKit chromium when possible (flutter/engine#39827)
[web] Download CanvasKit chromium when possible
2023-02-28 20:44:54 +00:00
Michael Goderbauer
0cd5253e58 fix references to Text widget (flutter/engine#39954)
fix references to Text widget
2023-02-28 19:57:38 +00:00
Jonah Williams
833a31300a [Impeller] dont create mipmap when mipcount == 1 (flutter/engine#39950)
[Impeller] dont create mipmap when mipcount == 1
2023-02-28 19:47:07 +00:00
Xilai Zhang
4bf5a04e84 [gn + codesign] move snapshot meta data to generators (flutter/engine#39726)
[gn + codesign] move snapshot meta data to generators
2023-02-28 00:06:43 +00:00
Michael Goderbauer
01bb2e24bc Fix shader doc references (flutter/engine#39855)
Fix shader doc references
2023-02-27 22:09:48 +00:00
Mouad Debbar
247f8e802c [web] Glue code for CanvasKit Chromium (flutter/engine#39592)
[web] Glue code for CanvasKit Chromium
2023-02-24 20:33:06 +00:00
Jim Graham
0fa8cbec8a Create DlCanvas interface and implement with DisplayListBuilder and SkCanvasAdapter (flutter/engine#39762)
* Create DlCanvas interface and implement with DisplayListBuilder and SkCanvasAdapter
2023-02-23 22:09:35 -08:00
Jason Simmons
904ab9bfce Revert "Match PlatformConfiguration properties to PlatformDispatcher ones (#39685)" (flutter/engine#39833)
This reverts commit 40867530358e80e71943d11831a58776465fca3a.
2023-02-24 02:45:15 +00:00
Michael Goderbauer
b27d0e8465 Fix referenes in docs (flutter/engine#39828) 2023-02-23 15:12:49 -08:00
pdblasi-google
4086753035 Match PlatformConfiguration properties to PlatformDispatcher ones (flutter/engine#39685)
* Match PlatformConfiguration properties to PlatformDispatcher ones

* Updated PlatformDispatcher to use PlatformConfiguration to back `nativeSpellCheckServiceDefined` and `brieflyShowPassword`
* Updated web PlatformDispatcher/Configuration to match new API

* Added a test to ensure `PlatformDispatcher` and `PlatformConfig` have the same getters with exceptions.

* Removed test that required adding `analyzer` as a dependency.
2023-02-23 21:42:19 +00:00
Bruno Leroux
ad4b72c30f Remove obsolete references in ViewConfiguration documentation (flutter/engine#39708)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2023-02-23 21:21:18 +00:00
Mouad Debbar
2c378412f2 [web] Copy everything under the local canvaskit folder (flutter/engine#39799)
* [web] Copy everything under the local canvaskit folder

* Update compile_tests_step.dart
2023-02-23 15:06:18 +00:00
Michael Goderbauer
88bccb1e13 Deprecate WindowPadding (flutter/engine#39775) 2023-02-22 22:30:25 +00:00
gaaclarke
4626879d7c made opaque wide gamut images take up 32 bits per pixel (flutter/engine#39691) 2023-02-22 21:29:50 +00:00
gaaclarke
267a8717a0 Updated the wide-gamut constant and added a unit test for it. (flutter/engine#39776)
* Updated the wide-gamut constant and added a unit test for it.

* dan feedback
2023-02-22 00:31:36 +00:00
Michael Goderbauer
97b7d4eda7 Rename WindowPadding to ViewPadding (flutter/engine#39737)
* Rename WindowPadding to ViewPadding

* webui
2023-02-19 22:20:24 +00:00
Mouad Debbar
f027ff2c95 [web] Don't include end-of-line characters in line boundary (flutter/engine#39693) 2023-02-17 23:27:19 +00:00
Mouad Debbar
9a0f7de3b7 [web] Make glassPaneElement and glassPaneShadow non-nullable (flutter/engine#39692) 2023-02-17 21:14:01 +00:00
Casey Hillers
cf94c80405 Migrate skia png codec call to public interface (flutter/engine#39714) 2023-02-17 16:56:33 +00:00
Loïc Sharma
a9e12287f6 [dart:ui] Introduce PlatformDispatcher.implicitView (flutter/engine#39553)
This introduces `PlatformDispatcher.implicitView`, a low-level primitive for the framework's bootstrapping. Most code, including the framework after bootstrapping, will use `View.of(context)` instead of this new API. This new primitive will let us deprecate the `window` global.

Goals:

1. **Enable multi-window**. The `PlatformDispatcher.implicitView` is nullable. If `null`, the app must create a window to get a view it can draw into.
2. **Backwards compatibility**. For "single window" apps, `PlatformDispatcher.instance.implicitView` should behave as similar to `window` as possible.
    1. The `PlatformDispatcher.instance.implicitView.viewId` should be `0`.
    1. The `PlatformDispatcher.instance.implicitView` must be available synchronously at root isolate startup. This allows the framework to determine if it can make single window assumptions at startup.
    2. The `PlatformDispatcher.instance.implicitView` reference must not change after startup: if it is null at startup, it must always be null; if it is non-null at startup, it must always be non-null. If "single window" app enters headless mode, the implicit view must remain non-null.

In the future, the embedder will control whether an implicit view is created: mobile & legacy desktop apps will have an implicit view, multi-window desktop apps won't have an implicit view. This requires updating the engine's embedder API and is out-of-scope for this change. For now, all apps will have an implicit view.

Part of https://github.com/flutter/flutter/issues/120306
2023-02-16 16:32:14 -08:00
Yegor
543f998577 [web] consolidate network code into httpFetch (flutter/engine#39657)
* consolidate network code into httpFetch

* make HTTP test cross-browser friendly; fix copypasta
2023-02-16 00:02:02 +00:00