2064 Commits

Author SHA1 Message Date
Kaushik Iska
c7d41d7ee1 [dart] Account for compiler api change (flutter/engine#19002) 2020-06-11 10:12:39 -07:00
Emmanuel Garcia
00651b26ea Call destructor and fix check (flutter/engine#18985) 2020-06-10 20:29:04 -07:00
Emmanuel Garcia
edb8164038 Put JNI functions under an interface (flutter/engine#18903) 2020-06-10 18:40:58 -07:00
Robert Ancell
0401a4ae9b Make Linux shell plugin constructor descriptions consistent (flutter/engine#18940) 2020-06-11 12:31:29 +12:00
Robert Ancell
d302d26b65 Implement an EGL resource context for the Linux shell. (flutter/engine#18918)
Fixes https://github.com/flutter/flutter/issues/54855
2020-06-11 12:31:06 +12:00
Emmanuel Garcia
8f08ddd5b3 Reland: Add RAII wrapper for EGLSurface (flutter/engine#18977) 2020-06-10 17:22:20 -07:00
Dan Field
88a7c4cc69 Call Shell::NotifyLowMemoryWarning on Android Trim and LowMemory events (flutter/engine#18979) 2020-06-10 17:18:17 -07:00
Chinmay Garde
02990e7c7e Make sure the native callback is registered before running the test. (flutter/engine#18981)
Otherwise, this is a race condition.

Fixes https://github.com/flutter/flutter/issues/58785
2020-06-10 16:16:14 -07:00
Robert Ancell
e3ed835eff Fix right-to-left selection not working. (flutter/engine#18951)
Fixes https://github.com/flutter/flutter/issues/57636
2020-06-11 11:13:57 +12:00
Emmanuel Garcia
8c8eaf36f0 Revert "Add RAII wrapper for EGLSurface (#18849)" (flutter/engine#18971)
This reverts commit 3ad7a0f8f14f014077f87e28401fee433fbacd1b.
2020-06-10 13:43:36 -07:00
Wu Zhong
18f7ace3da Fixes UI freezes when multiple Flutter VC shared one engine (flutter/engine#18816)
Co-authored-by: Aaron Clarke <aaclarke@google.com>
2020-06-10 10:22:38 -07:00
Todd Volkert
816d136b0d Add support for horizontalDoubleArrow and verticalDoubleArrow cursors (flutter/engine#18916) 2020-06-10 07:17:11 -07:00
Dan Field
df7e7da736 fix build (flutter/engine#18950) 2020-06-09 20:47:48 -07:00
Emmanuel Garcia
3ad7a0f8f1 Add RAII wrapper for EGLSurface (flutter/engine#18849) 2020-06-09 19:42:43 -07:00
Robert Ancell
72adbd8d27 Add FlMouseCursorPlugin (flutter/engine#18888)
Fixes https://github.com/flutter/flutter/issues/57595
2020-06-10 14:16:42 +12:00
cg021
06a0d3ac93 Add onDisplayOverlaySurface JNI (flutter/engine#18859) 2020-06-09 17:07:53 -07:00
Robert Ancell
86e7ef2334 Add FlPlatformPlugin (flutter/engine#18316)
Fixes https://github.com/flutter/flutter/issues/54857
2020-06-10 12:02:24 +12:00
David Worsham
d2b7646e68 Move Surface and friends to flow/ (flutter/engine#18938) 2020-06-09 16:03:01 -07:00
Robert Ancell
cd9cb596eb Remove the input type and action from TextInputModel. (flutter/engine#18919)
These aren't used by the model so are better managed outside of it.
2020-06-10 10:00:32 +12:00
Emmanuel Garcia
0113eaee47 Run the rasterizer on the platform thread (flutter/engine#18841) 2020-06-09 14:52:17 -07:00
Brian Osman
3a2315895e SkMatrix::MakeFoo is deprecated, use SkMatrix::Foo instead (flutter/engine#18934) 2020-06-09 16:55:13 -04:00
Felipe Archondo
b603748c2a [fuchsia] add robust scheduling for flutter_runner (flutter/engine#18233) 2020-06-09 13:50:51 -07:00
Robert Ancell
9b27253467 Log EGL errors (flutter/engine#18917) 2020-06-10 06:27:30 +12:00
Robert Ancell
6e3b2964b4 Use constant for error code (flutter/engine#18913) 2020-06-10 06:27:08 +12:00
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
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