Robert Ancell
4ba8e1220f
Don't call engine when not initialized. ( flutter/engine#18810 )
...
This stops events and platform messages generating errors when the engine has
failed to initialize.
2020-06-05 13:27:56 +12:00
Robert Ancell
06eaeaeb82
Fix braces style ( flutter/engine#18837 )
2020-06-05 13:26:54 +12:00
Jason Simmons
1c8d0396ff
Reset AndroidExternalViewEmbedder state when starting a new frame ( flutter/engine#18831 )
2020-06-04 15:08:04 -07:00
Chris Yang
b842ba72a6
Rework GLContextSwitch, get rid of RendererContextManager ( flutter/engine#18601 )
2020-06-04 11:37:51 -07:00
Emmanuel Garcia
162a2c6370
Revert "onDisplayPlatformView JNI ( #18786 )" ( flutter/engine#18826 )
...
This reverts commit 24d7c5c16b1aa9bc263d1428cf228927e96da97b.
2020-06-04 09:42:51 -07:00
cg021
24d7c5c16b
onDisplayPlatformView JNI ( flutter/engine#18786 )
...
* onDisplayPlatformView JNI
* format
* add todo in onDisplayPlatformView
Co-authored-by: Emmanuel Garcia <egarciad@google.com>
* move methods
* add platformViewsController setter
* remove unnecessary calls
* remove override and add unit test
* remove override
* test
* mockito
* fix formatting
Co-authored-by: Emmanuel Garcia <egarciad@google.com>
2020-06-04 11:20:45 -05:00
Robert Ancell
f029e6f88c
Mark symbols that should be public ( flutter/engine#18802 )
2020-06-04 14:31:35 +12:00
Dan Field
305435e0a5
Live region announcements for iOS ( flutter/engine#18798 )
2020-06-03 19:13:04 -07:00
stuartmorgan
35814367f6
Don't export embedder API in desktop embeddings ( flutter/engine#18735 )
...
The embedder.h API layer is an implementation detail of the desktop
embeddings, not part of the public API surface, so should not be part of
the public symbol list for those libraries.
2020-06-03 18:13:59 -07:00
gaaclarke
45318cefa6
ios accessibility: started ignoring route changes when presenting modal view controllers ( flutter/engine#18544 )
2020-06-03 14:49:56 -07:00
Dan Field
0539f91b1e
Implement GetAllocationSize for Vertices ( flutter/engine#18756 )
...
* Implement GetAllocationSize for Vertices
* Reflect vertex buffer size in pictures
2020-06-03 10:35:14 -07:00
Emmanuel Garcia
61bc45b233
Pass SurfaceFrame to SubmitFrame ( flutter/engine#18709 )
2020-06-02 21:59:44 -07:00
Robert Ancell
f7a846ef8e
Add missing standard codec alignment bytes ( flutter/engine#18724 )
2020-06-03 06:22:52 +12:00
Robert Ancell
07ecd97754
Add braces around multi-line branches to match code style ( flutter/engine#18719 )
2020-06-03 06:22:24 +12:00
Robert Ancell
43de315eee
Add missing full stops on the end of comments. ( flutter/engine#18634 )
2020-06-03 06:21:46 +12:00
Tong Mu
75724a5657
System mouse cursor: Android ( flutter/engine#18569 )
...
Adds system mouse cursor to the Android engine.
2020-06-01 18:08:43 -07:00
Robert Ancell
486f8e4886
Don't show warnings when removing handlers. ( flutter/engine#18633 )
...
These are removed in destructors.
2020-06-02 11:32:57 +12:00
chenjianguang
5a78bd2f4d
Fix BM_ShellShutdown regression ( flutter/engine#18676 )
2020-06-01 16:13:02 -07:00
Kaushik Iska
29a096bc85
[fuchsia] NNBD: Kernel libraries for Flutter, Dart runners ( flutter/engine#18714 )
...
This updates the references to `third_party/dart/sdk` to
`third_party/dart/sdk_nnbd`
Fixes: https://github.com/flutter/flutter/issues/58431
2020-06-01 15:28:10 -07:00
Robert Ancell
29a0d55666
Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel ( flutter/engine#18638 )
2020-06-02 09:39:37 +12:00
Robert Ancell
61f0b14f9c
Fix FlValue functions not marked for export ( flutter/engine#18641 )
2020-06-02 09:38:10 +12:00
Jason Simmons
a6d5bd994d
Disconnect the channel message handler when releasing the AccessibilityBridge ( flutter/engine#18657 )
2020-05-29 16:23:01 -07:00
David Reveman
685be60f1f
[fuchsia] Use R8G8B8A8 format instead of B8G8R8A8. ( flutter/engine#18475 )
...
This format is preferred on some hardware. Also explicitly
specify color space when creating the skia surface.
Co-authored-by: David Reveman <reveman@google.com>
2020-05-29 07:05:02 -04:00
David Reveman
522571c935
[fuchsia] Avoid unnecessary layout transition. ( flutter/engine#18653 )
...
See https://github.com/KhronosGroup/Vulkan-Samples/blob/master/samples/performance/layout_transitions/layout_transitions_tutorial.md#transaction-elimination-on-mali-gpus
for an explanation of why transitioning the layout hurts performance
on Mali drivers.
Co-authored-by: David Reveman <reveman@google.com>
2020-05-28 22:43:40 -04:00
gaaclarke
055ca94093
Revert "Minimal test harness for iOS ( #13029 )" ( flutter/engine#18631 )
...
This reverts commit 7fb973712962b01f42ac6c81d83e509ece22bea3.
2020-05-28 18:08:07 -07:00
Marcus Tomlinson
4bc087feb8
Update GLFW embedding to support AOT mode ( flutter/engine#18423 )
...
Unblocks: flutter/flutter#57135
Part of https://github.com/flutter/flutter/issues/38478
2020-05-28 17:53:54 -07:00
chenjianguang
db630fbd93
Setup default font manager after engine created, to improve startup performance ( flutter/engine#18225 )
2020-05-28 17:53:04 -07:00
Robert Ancell
567c770994
Revert "Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel ( #18597 )"
...
This reverts commit 6b0417a1a19f69ec18c2176e3f5cde60aeb9b96d.
2020-05-28 13:32:26 +12:00
Robert Ancell
6b0417a1a1
Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel ( flutter/engine#18597 )
...
* Add mock implementations of the Flutter embedding API and EGL
* Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel
2020-05-28 13:13:32 +12:00
Robert Ancell
72181d1083
Add FlTextInputPlugin ( flutter/engine#18314 )
...
* Add FlTextInputPlugin
2020-05-28 13:11:16 +12:00
stuartmorgan
135f9a33ca
Fix copy/paste in the Linux embedding ( flutter/engine#18624 )
...
The recent refactoring to support headless mode accidentally passed
nullptr instead of the window (if any) to the platform handler that
manages clipboard interactions, causing it to be broken.
Fixes https://github.com/flutter/flutter/issues/58035
2020-05-27 16:48:26 -07:00
gaaclarke
851f2e76b0
Made the Rasterizer avoid GPU calls when backgrounded ( flutter/engine#18563 )
2020-05-26 21:02:40 -07:00
David Worsham
c06c25a0d7
Reland "fuchsia: Implement CreateViewWithViewProvider" ( flutter/engine#18615 )
...
The last commit was a bad push -- this one compiles.
Tested: Manual test via workstation product
BUG: 50875
2020-05-26 19:29:11 -07:00
Robert Ancell
75f15f3460
Add FlPluginRegistry and FlPluginRegistrar ( flutter/engine#18453 )
...
* Add FlPluginRegistry and FlPluginRegistrar
2020-05-27 13:39:48 +12:00
Robert Ancell
3eb418ab72
Add GDestroyNotify callbacks on handlers ( flutter/engine#18546 )
2020-05-27 13:38:45 +12:00
David Worsham
fca990583a
Revert "fuchsia: Implement CreateViewWithViewProvider ( #18280 )" ( flutter/engine#18614 )
...
This reverts commit 2f0930ed07de747c8a5b6fb2cf05ebe7ec75f14f.
2020-05-26 17:12:34 -07:00
David Worsham
2f0930ed07
fuchsia: Implement CreateViewWithViewProvider ( flutter/engine#18280 )
...
Tested: Manual test via workstation product
BUG: 50875
2020-05-26 16:27:15 -07:00
Robert Ancell
3aa7e03711
Show error details in method channel response error messages ( flutter/engine#18571 )
2020-05-27 09:17:55 +12:00
Robert Ancell
9698ed7d38
Fix wrong method name - copy/paste error from FlBinaryMessenger ( flutter/engine#18596 )
2020-05-27 09:17:16 +12:00
stuartmorgan
c1f2f8e6d9
Support AOT mode for Windows ( flutter/engine#18589 )
...
- Adds a way to provide an AOT library to the C API.
- Adds app.so to the information provided by DartProject.
- Fixes the engine to only do static snapshot linking for Windows in
debug mode, not all modes, so that the provided library is used.
Engine side of https://github.com/flutter/flutter/issues/38477
2020-05-26 11:01:48 -07:00
Robert Ancell
2a813f032e
Add fl_value_to_string ( flutter/engine#18540 )
2020-05-22 10:57:21 +12:00
Albert Wang
ebede8ac65
[profiling] Memory Profiling support for iOS ( flutter/engine#18516 )
...
Based on Kaushik's work for iOS CPU profiling, I added the memory profiling within the same scheduled task.
The memory profiling methodologies were discussed in the internal doc. Please see go/flutter-ios-memory-profiling.
2020-05-21 08:55:40 -07:00
xster
70a4de6878
Let run_tests.py just stream output ( flutter/engine#18534 )
2020-05-20 21:38:37 -07:00
Robert Ancell
5161b7eece
Add FlKeyEventPlugin ( flutter/engine#18313 )
2020-05-21 16:08:56 +12:00
Mehmet Fidanboylu
6baffb9091
Add tests for StandardMethodCodec ( flutter/engine#18521 )
2020-05-20 21:02:03 -07:00
David Worsham
9ed56044d4
fuchsia: Fix runtime_tests and shell_tests ( flutter/engine#18492 )
2020-05-20 18:47:02 -07:00
Robert Ancell
a12454646d
Add FlMethodChannel, FlMethodCodec, FlStandardMethodCodec and FlJsonMethodCodec ( flutter/engine#18220 )
...
* Add FlMethodChannel, FlMethodCall, FlMethodResponse and FlMethodCodec
* Add FlJsonMethodCodec
* Add FlStandardMethodCodec
2020-05-21 12:53:15 +12:00
Gary Qian
126af7553d
Send platformResolvedLocale from iOS embedder ( flutter/engine#18519 )
2020-05-20 16:32:03 -07:00
Tong Mu
9cca98422c
System mouse cursor: macOS ( flutter/engine#18131 )
...
* Untested macOS impl
* Workable mac
* Modernize
* Simplify
* Address comments
* Refactor with FlutterPlugin
* Cached dict
* Update per comments
* format
* Remove device arg
* Format
* Update license
* Update licences
* Doc update
2020-05-20 16:27:25 -07:00
Robert Ancell
7b4840a4fc
Make FlBasicMessageChannelResponseHandle a GObject to detect unresponded and double responded messages. ( flutter/engine#18514 )
2020-05-21 11:15:56 +12:00