chunhtai
5effcd39cd
fix AccessibilityBridgeMacDelegate to grab nswindow from appdelegate ( flutter/engine#25698 )
2021-04-26 17:19:02 -07:00
xster
5c59e9637d
Add more doc for how the plugin registration process works and how to customize it ( flutter/engine#25578 )
2021-04-26 17:14:01 -07:00
Matej Knopp
28aa47abd8
Fix accent popup position ( flutter/engine#25524 )
2021-04-26 17:09:05 -07:00
Jason Simmons
93c02ed46c
Do not use android_context after it is std::moved in the PlatformViewAndroid constructor ( flutter/engine#25757 )
2021-04-24 18:35:31 -07:00
George Wright
6978395603
Add Metal to the FlutterCompositor struct in the Embedder API ( flutter/engine#25612 )
2021-04-23 15:52:54 -07:00
Emmanuel Garcia
4842a3a52e
Fix accessibility of embedded views in Android 9 and below ( flutter/engine#25709 )
2021-04-23 11:16:09 -07:00
Dan Field
f8754257da
Refactor Android PlatformView constructors ( flutter/engine#25632 )
2021-04-22 15:13:55 -07:00
Jason Simmons
b9a23ff503
Return an empty canvas in the TesterExternalViewEmbedder ( flutter/engine#25708 )
...
The compositor expects the PaintContext's leaf_nodes_canvas to be non-null
2021-04-22 11:51:36 -07:00
Kaushik Iska
dc0fb6e4a7
Reland "TaskSources register tasks with MessageLoopTaskQueues dispatcher" ( flutter/engine#25692 )
2021-04-21 14:29:02 -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
Kaushik Iska
17e7c26da8
Revert TaskRunner changes to fix Fuchsia Test failures ( flutter/engine#25690 )
2021-04-21 09:15:24 -07:00
Kaushik Iska
0aaf693339
Start microtasks only in non-test envs ( flutter/engine#25653 )
2021-04-20 13:19:07 -07:00
Emmanuel Garcia
a8bee24681
TalkBack shouldn't announce platform views that aren't in the a11y tree ( flutter/engine#25666 )
2021-04-20 12:39:02 -07:00
eggfly
bddb13004d
Fix: add Android accessibility bounds offset when FlutterView's location is not left top corner ( flutter/engine#25670 )
2021-04-20 09:37:25 -07:00
Chinmay Garde
a0a8fb04d8
Wire up Metal shader precompilation from offline training runs. ( flutter/engine#25644 )
2021-04-19 16:24:02 -07:00
David Worsham
f3cd053795
Revert "[fuchsia] Use scenic allocator service ( #25385 )" ( flutter/engine#25655 )
...
This reverts commit f0cf6ac1a8488f12722a5be77f0ef5fe8d0d4411.
2021-04-19 15:06:58 -07:00
James Clarke
a56e2c9e5e
Windows: Add support for engine switches for WinUWP target ( flutter/engine#25412 )
2021-04-19 07:44:01 -07:00
Kaushik Iska
988c4ffb83
TaskSources register tasks with MessageLoopTaskQueues dispatcher ( flutter/engine#25307 )
2021-04-19 07:20:11 -07:00
David Reveman
f0cf6ac1a8
[fuchsia] Use scenic allocator service ( flutter/engine#25385 )
...
Switch to scenic allocator and Image3 API.
Co-authored-by: David Reveman <reveman@google.com>
2021-04-16 17:12:48 -04:00
George Wright
b1024a8d2c
Add FlutterCompositor base class ( flutter/engine#25570 )
2021-04-15 18:00:17 -07:00
Dan Field
6c04af339a
Distinguish between touch and mouse input on win32/winuwp ( flutter/engine#25579 )
2021-04-15 09:51:31 -07:00
xster
ae13029ab3
change the Android FlutterEngine class doc around multiple engines ( flutter/engine#25575 )
2021-04-15 06:14:01 -07:00
Dan Field
446b6a6a61
Support SKP captures in flutter_tester ( flutter/engine#25566 )
2021-04-14 09:39:01 -07:00
xster
a04eb5db2b
Deduplicate plugin registration logic and make error logs visible - take 2 ( flutter/engine#25395 )
2021-04-14 09:34:01 -07:00
Chase Latta
3c5b4c6ef0
[fuchsia] create component context in main ( flutter/engine#25290 )
2021-04-13 13:42:17 -07:00
Michael Goderbauer
26dc5f91eb
Forward a11y methods from FlutterSwitchSemanticsObject ( flutter/engine#25465 )
2021-04-13 10:59:02 -07:00
xster
76df94bbde
Reduce the warning severity for FlutterEngineGroup ( flutter/engine#25544 )
2021-04-13 10:14:02 -07:00
Matej Knopp
cfe9c0fbbd
FlutterView: Use default backing layer ( flutter/engine#25523 )
2021-04-13 10:09:03 -07:00
Kaushik Iska
76f3f23faf
[macos] Release the copied pixel buffer after texture creation ( flutter/engine#25548 )
2021-04-12 13:54:14 -07:00
Wu Zhong
0cf406f7e9
[iOS] Fixes crash of TextInputView when Flutter deallocated ( flutter/engine#25070 )
2021-04-12 13:45:02 -07:00
Emmanuel Garcia
1bad6de1da
Reland Dart plugin registrant ( flutter/engine#25496 )
2021-04-12 13:30:01 -07:00
James Clarke
dc44c5672b
Conditionalize plugin related wrapper ( flutter/engine#25540 )
2021-04-12 11:30:01 -07:00
Chris Bracken
89e83412eb
Eliminate unnecessary conditional on UWP in build ( flutter/engine#25522 )
...
This conditional unconditionally adds the common
desktop_library_implementation target, so we just do that instead.
2021-04-09 17:02:06 -07:00
Ari Weiland
ce085d0129
Add automatic onBackPressed behavior to FlutterFragment ( flutter/engine#25453 )
2021-04-09 13:18:43 -07:00
Wu Zhong
f6e3ec2d6d
[iOS] Make FlutterEngine new method available ( flutter/engine#25446 )
2021-04-08 14:54:01 -07:00
Matej Knopp
8b818c63b9
Windows: Only terminate display for last instance ( flutter/engine#25477 )
2021-04-08 14:44:02 -07:00
Felipe Archondo
479283fe6e
[fuchsia] stop using SmoothPointerDataDispatcher ( flutter/engine#25495 )
2021-04-08 17:36:34 -04:00
Wu Zhong
3dc853c388
[iOS] Fixes context memory leaks when using Metal ( flutter/engine#25389 )
2021-04-07 16:16:11 -07:00
Dan Field
22da76000a
Refactor GPU access switch ( flutter/engine#24356 )
2021-04-06 22:16:06 -07:00
Chris Bracken
45c54c08e2
Add documentation to embedder locale callback ( flutter/engine#25437 )
...
The FlutterComputePlatformResolvedLocaleCallback does not pass the
standard user_data baton. This was an unintentional omission in the
original patch.
Add documentation to that effect and link to the bug report:
https://github.com/flutter/flutter/issues/79826
2021-04-06 09:46:31 -07:00
Chris Bracken
2091ba8847
Fix parameter type in FlutterDesktopEngineCreate ( flutter/engine#25439 )
...
FlutterDesktopEngineCreate is part of our C API. We were using a C++
reference type instead of a C-compatible pointer type.
This is a breaking change to anyone calling this directly; we believe
this should affect few people because the Windows template only uses the
`FlutterEngine` wrapper in
`shell/platform/windows/client_wrapper/include/flutter/flutter_engine.h`.
Fixes https://github.com/flutter/flutter/issues/75465
2021-04-06 09:46:04 -07:00
Ari Weiland
48df08e088
Update FlutterFragment to implement ComponentCallbacks2. ( flutter/engine#25428 )
2021-04-05 23:04:46 -07:00
Chris Bracken
bc3084eabc
Allow embedders to set a custom log tag ( flutter/engine#25435 )
...
Embedders making use of the embedder API always ended up with a
hardcoded log tag of "flutter". Some embedders may wish to set a
different log tag. For example, the Fuchsia embedder sets their log tag
to a launch URL followed by "flutter".
If unset, we continue to default to "flutter".
Fixes https://github.com/flutter/flutter/issues/79819
2021-04-05 17:35:54 -07:00
Chris Bracken
f4d1c89df1
Extract Dart logging to the embedders ( flutter/engine#25402 )
...
Previously messages logged from Dart code (e.g. via the print function)
were handled directly in the engine by platform-specific code. This
factors out a LogMessage(tag, message) callback that embedders can
implement with platform-specific code.
This also eliminates a dependency on platform-specific code in the core,
and provides more flexibility to embedders than the current fallback to
stdout, which can be a problem on platforms without a traditional stdout
or with restrictions on stdout.
Fixes https://github.com/flutter/flutter/issues/79685
2021-04-05 15:43:21 -07:00
George Wright
b78fd3616d
Rename EngineEmbedderApiModifier to EngineModifier ( flutter/engine#25362 )
2021-04-05 14:46:47 -07:00
Chris Bracken
fda4d07757
Fix texture corruption on Windows ( flutter/engine#25349 )
...
Notify Skia that we've updated texture handles within the current
binding such that Skia invalidates any assumptions about previous
context modifications that it had made.
This fixes a texture corruption issue reported in
https://github.com/flutter/flutter/issues/78648
2021-04-05 14:21:31 -07:00
James Clarke
682fa46b6b
Fix windows debug builds ( flutter/engine#25387 )
2021-04-02 18:34:25 -07:00
xster
6f92b73ba2
Revert "Deduplicate plugin registration logic and make error logs visible ( #25297 )" ( flutter/engine#25393 )
2021-04-02 12:44:01 -07:00
James Clarke
396e42ae8e
Revert https://github.com/flutter/engine/pull/24428 ( flutter/engine#25319 )
2021-04-02 08:37:31 -07:00
freiling
a8cea746b9
[fuchsia][shader warmup] Avoid recursively iterating over assets directory when loading skp's due to high cost of openat() on pkgfs ( flutter/engine#25006 )
...
* [fuchsia][shader warmup] Fixed SkpWarmupTest
This test regressed due to https://github.com/flutter/engine/pull/23488
and this regression was silent due to https://github.com/flutter/flutter/issues/78277
Credit to @gnoliyil for actually putting together the fix.
* [fuchsia][shader warmup] Avoid recursively iterating over assets directory when loading skp's due to high cost of openat() on pkgfs
2021-04-01 23:23:52 -07:00