Commit Graph

218 Commits

Author SHA1 Message Date
Jenn Magder a4de006f21 Remove ENABLE_BITCODE from Scenarios test app (#11839) 2019-09-09 12:10:31 -07:00
Kaushik Iska 35875e0f00 Revert "Manage resource and onscreen contexts using separate IOSGLContext objects (#11798)" (#12055)
This reverts commit a353f93d37.
2019-09-06 18:12:16 -07:00
George Wright a353f93d37 Manage resource and onscreen contexts using separate IOSGLContext objects (#11798)
Manage resource and onscreen contexts using separate IOSGLContext objects
2019-09-06 16:44:49 -07:00
xster dd71e7be8e remove extra redundant channels setup in iOS embedding engine (#11886) 2019-09-05 11:13:04 -07:00
liyuqian 4243324a03 Revert "Add a BroadcastStream to FrameTiming (#11041)" (#11841)
This reverts commit e97ed36e58.

Reason for revert: Stream is considered a bad API: https://github.com/flutter/engine/pull/11041#issuecomment-526892247
2019-09-05 10:41:55 -07:00
Matt Carroll 3aafd0f971 Updated API usage in scenario app by deleting unnecessary method. (#11844) 2019-09-03 19:25:54 -07:00
xster 6a0ca8dc78 Let java unit tests build with autoninja (#11799) 2019-08-30 20:10:29 -07:00
Michael Klimushyn 0287144fa3 Assert that the JUnit tests are running on Java 8 (#11466) 2019-08-27 10:38:52 -07:00
Chris Bracken 92c63e848a Ensure trailing newline before EOF in C++ sources (#11489)
In generated text fixture location lookup code:
When the second argument to write_file() is a list, it is written one
item per line to the path specified by the first argument. This ensures
that we emit a trailing newline at EOF to comply with -Wnewline-eof.

Elsewhere:
Lack of a newline at EOF was undefined behaviour prior to C++11. The
Fuchsia tree sets -Wnewline-eof in its buildroot, so we plan to do the
same. This cleans up remaining first-party C++ sources that don't
include a trailing newline.
2019-08-27 00:13:00 -07:00
Amir Hardon a34f9a811c Skip empty platform view overlays. (#11427)
This change sets up a "spying canvas" to try and detect empty canvases.
When using platform views with a custom embedder, if a platform view
overlay canvas is known to be empty we skip creating a compositor layer
for that overlay.
2019-08-26 11:40:49 -07:00
liyuqian 4d83ef8c7f Support non-60 refresh rate on PerformanceOverlay (#11419)
So we can get the correct graph on 90fps/120fps devices :)

See https://github.com/flutter/flutter/issues/37888
2019-08-24 15:22:52 -07:00
Chinmay Garde b7d03138ed Remove deprecated ThreadTest::GetThreadTaskRunner and use the newer CreateNewThread API. (#11395)
We will end up creating fewer threads in tests.
2019-08-23 12:21:46 -07:00
Dan Field cffa8b0c94 Update scenarios readme (#11374)
This is out of date.
2019-08-22 11:12:04 -07:00
Dan Field 1efb5b770c update sim script (#11355) 2019-08-21 13:10:34 -07:00
Dan Field 4b5ffb0a90 Firebase test for Platform Views on iOS (#11350) 2019-08-21 12:48:39 -07:00
Chinmay Garde ba51408257 Reference the Flutter framework instead of the dylib in iOS tests. (#11337) 2019-08-21 00:04:01 -07:00
Dan Field c8f02c95ea Add tests for platform views (#11319) 2019-08-20 20:48:40 -07:00
liyuqian e97ed36e58 Add a BroadcastStream to FrameTiming (#11041)
Without this, developers have to override `onReportTimings` to listen for `FrameTiming`.
That can potentially break previous `onReportTimings` listeners if they forget to call
the old listener in their new callback.

This PR replaces the similar RP in the framework: https://github.com/flutter/flutter/pull/38574

Once this PR landed, we'll have to create another framework PR to use the stream to replace
`onReportTimings` usages.

Once that's done, we can then propose the breaking change of removing the deprecated
`onReportTimings`.
2019-08-19 10:52:16 -07:00
Michael Klimushyn 1e1eb4d34a Minor update to the Robolectric test harness (#11067)
Make sure that any `android.util.Log`s during the tests are reported to
stdout.
2019-08-16 16:25:59 -07:00
Shi-Hao Hong 014ab76ad0 Pass Android Q insets.systemGestureInsets to Window (#10413)
* Pass Android Q system gesture inset information from insets.systemGestureInsets to Window.systemGestureInsets
2019-08-16 13:42:56 -04:00
liyuqian a7c965caec Hide verbose dart snapshot during run_test.py (#11040)
Without this change, a single dart test will print out 306 lines.
With this change, a single dart test will only print out 33 lines.
This helps a lot in local tests.

In order to return to the old logging, set `--verbose-dart-snapshot` flag.
2019-08-15 16:40:30 -07:00
Matt Carroll 5bb144ca8b Re-lands platform brightness support on iOS, plus platform contrast (#10791) 2019-08-15 14:51:07 -07:00
Dan Field 938b4d94c5 remove OS version (#11033) 2019-08-15 13:42:19 -07:00
Dan Field 4f00cb745c Add script for running ios Tests on simulator (#10999) 2019-08-14 12:43:33 -07:00
Dan Field 90656d8824 Add isDisplayingFlutterUI to FlutterViewController (#10816) 2019-08-14 09:10:22 -07:00