2392 Commits

Author SHA1 Message Date
Robert Ancell
8e1257b945 Add scroll event support (flutter/engine#18885) 2020-06-09 12:20:06 +12:00
Robert Ancell
bfcabb8b66 Update FlTextInputPlugin method handler style. (flutter/engine#18886)
Match the style used in the external plugins and more carefully vet the incoming
arguments.
2020-06-09 11:36:00 +12:00
Robert Ancell
729744179c Support window scaling (flutter/engine#18891) 2020-06-09 11:08:42 +12:00
Robert Ancell
9c0ac3ec0e Fix name of Flutter class in plugin docstrings (flutter/engine#18889) 2020-06-09 11:05:19 +12:00
cg021
1b1eadad59 onDisplayPlatformView JNI (flutter/engine#18828)
* missing imports

* onDisplayPlatformView JNI

* imports

* ran ./ci/format.sh | patch -p0

* missing imports

* onDisplayPlatformView JNI

* imports

* ran ./ci/format.sh | patch -p0

* missing imports

* ran ./ci/format.sh | patch -p0
2020-06-08 16:14:39 -05:00
xster
9a3d13748b Fix intent builder visibility (flutter/engine#18875) 2020-06-08 12:08:04 -07:00
xster
9486f61eb5 Add a deprecation note to FlutterFragmentActivity (flutter/engine#18865) 2020-06-08 00:23:55 -07:00
Robert Ancell
1a82a8bf32 Support AOT mode in GTK shell (flutter/engine#18809)
Simplify FlDartProject by removing the path arguments - we'll assume that it's
in the standard bundle layout and add new methods later if we need to support
other cases.
2020-06-08 13:18:52 +12:00
Guruji Panda
0ffadc0eaa Fix include paths to help building flutter runner for Fuchsia in Google3. (flutter/engine#18840)
Include header file without absolute path if the header file belongs to
the same directory as source file.
2020-06-06 16:05:04 -07:00
Emmanuel Garcia
2bee676fe5 Refactor AndroidContextGL, AndroidSurface and AndroidSurfaceGL (flutter/engine#18670) 2020-06-05 09:18:03 -07:00
David Reveman
9200e49b8a [fuchsia] Limit unnecessary layout transition to aarch64. (flutter/engine#18833)
This is causing rendering artifacts on intel.

Co-authored-by: David Reveman <reveman@google.com>
2020-06-04 22:29:40 -04:00
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