Guruji Panda
6734ab3914
Fix include paths to help building flutter runner for Fuchsia in Google3. ( #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
fafccf8a3a
Refactor AndroidContextGL, AndroidSurface and AndroidSurfaceGL ( #18670 )
2020-06-05 09:18:03 -07:00
David Reveman
7f388bf814
[fuchsia] Limit unnecessary layout transition to aarch64. ( #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
a25d851edf
Don't call engine when not initialized. ( #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
8d97830992
Fix braces style ( #18837 )
2020-06-05 13:26:54 +12:00
Jason Simmons
5efd2e820f
Reset AndroidExternalViewEmbedder state when starting a new frame ( #18831 )
2020-06-04 15:08:04 -07:00
Chris Yang
1482d9b05e
Rework GLContextSwitch, get rid of RendererContextManager ( #18601 )
2020-06-04 11:37:51 -07:00
Emmanuel Garcia
fdc457d342
Revert "onDisplayPlatformView JNI ( #18786 )" ( #18826 )
...
This reverts commit c8ab763f79269bf275644cfaa72edeba1c4b0898.
2020-06-04 09:42:51 -07:00
cg021
c8ab763f79
onDisplayPlatformView JNI ( #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
6e378cf669
Mark symbols that should be public ( #18802 )
2020-06-04 14:31:35 +12:00
Dan Field
343af33344
Live region announcements for iOS ( #18798 )
2020-06-03 19:13:04 -07:00
stuartmorgan
a95882ba70
Don't export embedder API in desktop embeddings ( #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
f1d37398f4
ios accessibility: started ignoring route changes when presenting modal view controllers ( #18544 )
2020-06-03 14:49:56 -07:00
Dan Field
25054fb470
Implement GetAllocationSize for Vertices ( #18756 )
...
* Implement GetAllocationSize for Vertices
* Reflect vertex buffer size in pictures
2020-06-03 10:35:14 -07:00
Emmanuel Garcia
243bb59c71
Pass SurfaceFrame to SubmitFrame ( #18709 )
2020-06-02 21:59:44 -07:00
Robert Ancell
cf0e272edd
Add missing standard codec alignment bytes ( #18724 )
2020-06-03 06:22:52 +12:00
Robert Ancell
1b4d958f98
Add braces around multi-line branches to match code style ( #18719 )
2020-06-03 06:22:24 +12:00
Robert Ancell
6589dcb2d4
Add missing full stops on the end of comments. ( #18634 )
2020-06-03 06:21:46 +12:00
Tong Mu
b3e7732cf9
System mouse cursor: Android ( #18569 )
...
Adds system mouse cursor to the Android engine.
2020-06-01 18:08:43 -07:00
Robert Ancell
24e1e8c8cd
Don't show warnings when removing handlers. ( #18633 )
...
These are removed in destructors.
2020-06-02 11:32:57 +12:00
chenjianguang
42b40b436a
Fix BM_ShellShutdown regression ( #18676 )
2020-06-01 16:13:02 -07:00
Kaushik Iska
3d621903bc
[fuchsia] NNBD: Kernel libraries for Flutter, Dart runners ( #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
e39301f23f
Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel ( #18638 )
2020-06-02 09:39:37 +12:00
Robert Ancell
8c8c7b06d0
Fix FlValue functions not marked for export ( #18641 )
2020-06-02 09:38:10 +12:00
Jason Simmons
042804b06d
Disconnect the channel message handler when releasing the AccessibilityBridge ( #18657 )
2020-05-29 16:23:01 -07:00
David Reveman
7ac06df3ee
[fuchsia] Use R8G8B8A8 format instead of B8G8R8A8. ( #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
c19459ab7d
[fuchsia] Avoid unnecessary layout transition. ( #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
17737e6fd4
Revert "Minimal test harness for iOS ( #13029 )" ( #18631 )
...
This reverts commit 0622b051b63b399838eb7956bed97d76fc8bdf77.
2020-05-28 18:08:07 -07:00
Marcus Tomlinson
22692a6d93
Update GLFW embedding to support AOT mode ( #18423 )
...
Unblocks: flutter/flutter#57135
Part of https://github.com/flutter/flutter/issues/38478
2020-05-28 17:53:54 -07:00
chenjianguang
89cf074d37
Setup default font manager after engine created, to improve startup performance ( #18225 )
2020-05-28 17:53:04 -07:00
Robert Ancell
c86dcac156
Revert "Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel ( #18597 )"
...
This reverts commit a095cc23d8d5a539fd6179846875d7218c60bdff.
2020-05-28 13:32:26 +12:00
Robert Ancell
a095cc23d8
Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel ( #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
2bd95d9a4c
Add FlTextInputPlugin ( #18314 )
...
* Add FlTextInputPlugin
2020-05-28 13:11:16 +12:00
stuartmorgan
a03c752a81
Fix copy/paste in the Linux embedding ( #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
bef5ac6132
Made the Rasterizer avoid GPU calls when backgrounded ( #18563 )
2020-05-26 21:02:40 -07:00
David Worsham
c9f9891454
Reland "fuchsia: Implement CreateViewWithViewProvider" ( #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
63ed5b1bbd
Add FlPluginRegistry and FlPluginRegistrar ( #18453 )
...
* Add FlPluginRegistry and FlPluginRegistrar
2020-05-27 13:39:48 +12:00
Robert Ancell
79b136534a
Add GDestroyNotify callbacks on handlers ( #18546 )
2020-05-27 13:38:45 +12:00
David Worsham
b0008b0080
Revert "fuchsia: Implement CreateViewWithViewProvider ( #18280 )" ( #18614 )
...
This reverts commit 40043b5faccaa97cf2ffa483c5ff03fc1117c7db.
2020-05-26 17:12:34 -07:00
David Worsham
40043b5fac
fuchsia: Implement CreateViewWithViewProvider ( #18280 )
...
Tested: Manual test via workstation product
BUG: 50875
2020-05-26 16:27:15 -07:00
Robert Ancell
17d1dc7ec5
Show error details in method channel response error messages ( #18571 )
2020-05-27 09:17:55 +12:00
Robert Ancell
363050d4f6
Fix wrong method name - copy/paste error from FlBinaryMessenger ( #18596 )
2020-05-27 09:17:16 +12:00
stuartmorgan
903ef0892f
Support AOT mode for Windows ( #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
680eb90a42
Add fl_value_to_string ( #18540 )
2020-05-22 10:57:21 +12:00
Albert Wang
2187523093
[profiling] Memory Profiling support for iOS ( #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
f3b7ed4078
Let run_tests.py just stream output ( #18534 )
2020-05-20 21:38:37 -07:00
Robert Ancell
72f7a7c4ea
Add FlKeyEventPlugin ( #18313 )
2020-05-21 16:08:56 +12:00
Mehmet Fidanboylu
6c5f2396e1
Add tests for StandardMethodCodec ( #18521 )
2020-05-20 21:02:03 -07:00
David Worsham
1429534707
fuchsia: Fix runtime_tests and shell_tests ( #18492 )
2020-05-20 18:47:02 -07:00
Robert Ancell
e48ad6ec73
Add FlMethodChannel, FlMethodCodec, FlStandardMethodCodec and FlJsonMethodCodec ( #18220 )
...
* Add FlMethodChannel, FlMethodCall, FlMethodResponse and FlMethodCodec
* Add FlJsonMethodCodec
* Add FlStandardMethodCodec
2020-05-21 12:53:15 +12:00