Kaushik Iska
149df4318d
Reland multiple display support for embedder API ( #21464 )
2020-09-28 12:35:34 -07:00
Kaushik Iska
8d165faca1
Revert multiple display support for embedder API ( #21456 )
...
This reverts commits
- 67fdd7ededcbb161a857cc187619ae115c8c8e7f.
- 854943d5c8670a241524b71945b2c8ca77246556.
See: https://github.com/flutter/flutter/issues/66829
2020-09-28 09:46:46 -07:00
Kaushik Iska
67fdd7eded
Embedder API Support for display settings ( #21355 )
...
Embedders can now notify shell during startup about the various displays and their corresponding settings.
Adds a notion of Display update type which can later include chages to displays during runtime such as addition / removal / reconfiguration of displays.
We also remove the responsibility of providing the refresh rate from `vsync_waiter` to `DisplayManager`.
Rewires existing platform implementations of the said API to use `Shell::OnDisplayUpdate` to notify the display manager of the startup configuration.
DisplayManager is also thread-safe to account for rasterizer and UI thread accesses.
2020-09-25 11:04:10 -07:00
Chris Bracken
08dabe9601
Clean up C++ includes ( #21127 )
...
Cleans up header order/grouping for consistency: associated header, C/C++ system/standard library headers, library headers, platform-specific #includes.
Adds <cstring> where strlen, memcpy are being used: there are a bunch of places we use them transitively.
Applies linter-required cleanups. Disables linter on one file due to included RapidJson header. See https://github.com/flutter/flutter/issues/65676
This patch does not cover flutter/shell/platform/darwin. There's a separate, slightly more intensive cleanup for those in progress.
2020-09-11 21:18:35 -07:00
Siva
b955e15ee9
Manual roll of Dart from 24c7666def...40fd1c456e ( #20092 )
...
* Manual roll of Dart from 24c7666def...40fd1c456e
dart-lang/sdk@40fd1c456e Revert "[dart:io] Add Abort() on HttpClientRequest"
dart-lang/sdk@17d7296a42 [vm/nnbd/bytecode] Fix reuse of type arguments in bytecode
dart-lang/sdk@58b6f40c73 Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns. (reland)
dart-lang/sdk@fc8a6d9f9b [VM/compiler] Dereference TypeRef literal when propagating constants.
dart-lang/sdk@0689ec527a Move "test.dart" (well, most of its contents) into pkg/test_runner.
dart-lang/sdk@1094b3c61d Prepare static error test updater tool to handle web tests.
dart-lang/sdk@b258585f2f [observatory] Migrate from deprecated isInstanceOf to isA.
dart-lang/sdk@dfe1d9b682 Disable OverrideContributor for Cider.
dart-lang/sdk@aea99b2f5c scope debug property assist to Diagnosticables
dart-lang/sdk@4b96f20a79 [dart:io] Add Abort() on HttpClientRequest
dart-lang/sdk@1b1a39708c [build] Use frameworks instead of libs
dart-lang/sdk@3fef522496 Revert "Reland "[vm] Replaces fuchsia.deprecatedtimezone""
dart-lang/sdk@8c664d4f3f Revert "Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns."
dart-lang/sdk@2efb5bebc7 [ dart:_http ] Fix typo in HTTP response timeline event
dart-lang/sdk@0884dae36c Revert "Fix the #include path for ICU headers"
dart-lang/sdk@5171534e81 Scope tweaks. Report REFERENCED_BEFORE_DECLARATION in more places.
dart-lang/sdk@6bba75079a Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns.
dart-lang/sdk@b4ebbb7f5c [build] Update gn to match Fuchsia
dart-lang/sdk@cb428a7a02 [dart2js] Remove old bug work around in collector.
dart-lang/sdk@08663c20ab Change flutter patch to match existing DEPS on master branch
dart-lang/sdk@146ad014d9 update js/meta for the 2.10 dev sdk
dart-lang/sdk@488c718793 [co19] Roll co19 to d79951e06e443213243e54c2c32694b79a221b65
dart-lang/sdk@ba20edd7be Add patch for flutter-engine when changing to version 2.10
* Rev buildroot to latest version.
* Update license.
* update.
* Update gn revision.
* Format BUILD.gn files as the gn revision has been updated.
2020-07-29 13:10:15 -07:00
Chris Yang
cc9ccf98ae
Implement mutator stack on Android hybrid composition platform view ( #19426 )
2020-07-04 13:03:04 -07:00
Jason Simmons
2dc202d823
Basic support for resizing overlay surfaces in hybrid composition ( #19402 )
2020-06-30 14:08:04 -07:00
Emmanuel Garcia
b990ad11bd
Implement external view embedder on Android ( #19033 )
...
The external view embedder allows to embed Android views in a Flutter app.
2020-06-20 12:51:55 -07:00
cg021
2c60d87c39
createOverlaySurface JNI method ( #19076 )
...
* createOverlaySurface JNI
* update imports
* remove unused method
* license
* deleted unused file
* remove wrong function call
* removed duplicate createOverlaySurface
2020-06-17 15:21:41 -05:00
Emmanuel Garcia
99442c6c18
Revert add createOverlaySurface JNI #19040 ( #19075 )
2020-06-16 14:06:15 -07:00
Gary Qian
3a96741247
Platform resolved locale and Android localization refactor ( #18645 )
2020-06-16 04:29:50 -07:00
cg021
de063512c5
Add createOverlaySurface JNI ( #19040 )
2020-06-15 19:49:29 -07:00
cg021
7cb7003a11
onEndFrame JNI ( #18867 )
...
* onEndFrame JNI
* beginFrame brief change
2020-06-12 16:21:25 -05:00
cg021
ac809b48cb
onBeginFrame JNI ( #18866 )
2020-06-11 17:15:03 -07:00
Emmanuel Garcia
e5845af424
Put JNI functions under an interface ( #18903 )
2020-06-10 18:40:58 -07:00