3348 Commits

Author SHA1 Message Date
skia-flutter-autoroll
f052d2e03a
Roll fuchsia/sdk/core/linux-amd64 from VHyDa... to YPr0t... (#16701) 2020-02-19 19:36:04 -08:00
skia-flutter-autoroll
8f0bbfad3e
Roll src/third_party/skia 9baef3593c3c..ed1ff23c2768 (5 commits) (#16699) 2020-02-19 18:01:05 -08:00
skia-flutter-autoroll
bdd2cf869e
Roll src/third_party/skia 7dfb46e7f397..9baef3593c3c (3 commits) (#16696) 2020-02-19 16:26:04 -08:00
skia-flutter-autoroll
ab454ea086
Roll src/third_party/dart 0f141be8bd52..7469b87b042a (9 commits) (#16693) 2020-02-19 14:56:06 -08:00
skia-flutter-autoroll
cbb0ff8fd1
Roll src/third_party/skia c5ff41f2976e..7dfb46e7f397 (20 commits) (#16691) 2020-02-19 14:51:05 -08:00
skia-flutter-autoroll
89830c88ea
Roll src/third_party/dart 707ecda05e14..0f141be8bd52 (4 commits) (#16683)
https://dart.googlesource.com/sdk.git/+log/707ecda05e14..0f141be8bd52

git log 707ecda05e14..0f141be8bd52 --date=short --first-parent --format='%ad %ae %s'
2020-02-19 dmitryas@google.com [cfe] Implement new rules around types of case expressions
2020-02-19 johnniwinther@google.com [cfe] Do not hoist this expressions
2020-02-19 davidmorgan@google.com Revert "Reland "[ VM ] Removed Dart_Allocate, Dart_AllocateWithNativeFields, and Dart_InvokeConstructor from embedding API""
2020-02-19 dacoharkes@google.com [test/ffi] Re-enable disabled tests

Created with:
  gclient setdep -r src/third_party/dart@0f141be8bd52

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: dart-vm-team@google.com
2020-02-19 09:34:40 -08:00
skia-flutter-autoroll
8e82311e3a
Roll src/third_party/skia a037445e07a7..c5ff41f2976e (1 commits) (#16677) 2020-02-19 00:06:04 -08:00
skia-flutter-autoroll
151688ceb3
Roll src/third_party/skia d0d033a12556..a037445e07a7 (4 commits) (#16676) 2020-02-18 22:31:04 -08:00
skia-flutter-autoroll
80f73eeaf5
Roll src/third_party/skia 799a23cf0602..d0d033a12556 (3 commits) (#16675) 2020-02-18 20:56:04 -08:00
skia-flutter-autoroll
4f4a1d503b
Roll src/third_party/dart 3883c6070942..c11c0ae3fdca (9 commits) (#16673) 2020-02-18 19:41:03 -08:00
skia-flutter-autoroll
c79620580f
Roll fuchsia/sdk/core/linux-amd64 from 2W9Xr... to VHyDa... (#16670) 2020-02-18 19:26:05 -08:00
skia-flutter-autoroll
16eeac54c1
Roll src/third_party/skia fe6fe6c5a8a8..799a23cf0602 (1 commits) (#16669) 2020-02-18 19:21:03 -08:00
Chinmay Garde
ef9e7b1a13
Revert "Lift restriction that embedders may not trample the render thread OpenGL context in composition callbacks. (#16653)" (#16674)
This reverts commit 110c1c9adf0f580d16c8252e3b37992af93e9cea.
2020-02-18 18:59:21 -08:00
skia-flutter-autoroll
9309ff5494
Roll src/third_party/skia 7281a8623799..fe6fe6c5a8a8 (7 commits) (#16667) 2020-02-18 15:51:03 -08:00
skia-flutter-autoroll
c264e1cf93
Roll src/third_party/dart 999eeea5a3ff..3883c6070942 (5 commits) (#16666) 2020-02-18 14:21:06 -08:00
skia-flutter-autoroll
ca6165f911
Roll src/third_party/skia c1bb9cba16be..7281a8623799 (9 commits) (#16665) 2020-02-18 14:16:03 -08:00
Chinmay Garde
110c1c9adf
Lift restriction that embedders may not trample the render thread OpenGL context in composition callbacks. (#16653)
During the implementation of custom compositor integration, the embedder gets
callbacks on the render thread to prepare render targets (framebuffers,
textures, etc) for the engine to render into, callbacks to present these render
targets along with platform managed contents, and, callbacks to collect render
targets once they can no longer be recycled by the engine in subsequent frames.
During these callbacks, the engine mandates the OpenGL state on the render
thread be preserved. This restriction has been the source of hard to isolate
issues where the embedder trampled on the OpenGL bindings state in the callback
but failed to restore state before control went back to the engine. Due to the
nature of the OpenGL API, such errors are easy to make and overlook. This patch
lifts the restriction from the embedder. Embedders may now freely work with the
OpenGL state in custom compositor callbacks and the engine will make sure to
disregard OpenGL bindings when control flows back to it.

Disregarding current OpenGL state has a certain performance penalty and the
majority of this patch handles refactoring various engine embedder components
such that this happens only once per frame. The most trivial version of this
patch would reset context bindings on every transition of control flow from the
embedder to the engine. However, that naive approach would have necessitated
more than 50 binding resets in existing unit-test cases (depending on the number
of platform view interleaving levels and render target recycling hit rates). In
this implementation, bindings will be reset only once per frame and this does
not depend on the number of platform views in the scene.

The majority of this patch is a refactoring of engine subsystems used in
`ExternalViewEmbedder::SubmitFrame` which is thoroughly documented with each
opportunity for the embedder to invalidate OpenGL state tagged.

The refactoring also enables the implementation of the following optimizations
to engine behavior which should aid in reducing the memory needed for the
creation of render targets. These optimization include:
* The engine will only ask the embedder for render targets in which it expects
  to render into. This was a quirk in the way in which root and non-root render
  targets were handled. The engine could require the embedder to create a render
  target but then realize it didn’t have anything to render into it. In the
  presentation callback, it would skip that render target. But the embedder
  still had to allocate that extra render target. This will no longer be the
  case and should reduce memory use.
* The engine may now skip always realizing (via the embedder render target
  creation callback) and presenting the root render target. This was also a side
  effect of the same quirk. Previously, the engine would always ask the embedder
  to present the root render target even if it was empty. Since this is no
  longer the case, few render targets should be allocated which will reduce
  memory consumption.
* The engine will now ask the embedder to collect unused render targets before
  it asks it to create new ones. The previous behavior was to ask the embedder
  for new targets and then collect old ones. This would cause spikes in memory
  use when the size of the render targets would change. These memory use spikes
  should now be troughs.
* The previous render target cache also considered the platform view ID in cache
  viability considerations (instead of just the size of the render target). This
  was a bug which has been fixed. This should lead to better cache utilization
  in some situations.

These optimizations are now codified in unit-tests and the updated test
expectations are a result of these optimizations now being in place.

* Fixes https://github.com/flutter/flutter/issues/50751
* Fixes https://github.com/flutter/flutter/issues/46911
* Fixes https://github.com/flutter/flutter/issues/43778
* Fixes b/146142979
2020-02-18 12:51:49 -08:00
skia-flutter-autoroll
46d341c5c7
Roll src/third_party/skia 78b471760dd9..c1bb9cba16be (1 commits) (#16662) 2020-02-18 08:46:04 -08:00
skia-flutter-autoroll
5e0953f834
Roll src/third_party/dart a314cff6ee03..999eeea5a3ff (15 commits) (#16661) 2020-02-18 08:11:03 -08:00
skia-flutter-autoroll
84f92fdb57
Roll fuchsia/sdk/core/linux-amd64 from Uc8XS... to 2W9Xr... (#16659) 2020-02-18 04:31:02 -08:00
skia-flutter-autoroll
1866012410
Roll src/third_party/dart b20c35c7d90f..a314cff6ee03 (4 commits) (#16657) 2020-02-18 02:41:02 -08:00
skia-flutter-autoroll
cfbf5497ab
Roll src/third_party/skia 9dbb98007b7b..4af17e434cdc (2 commits) (#16656) 2020-02-18 01:51:03 -08:00
skia-flutter-autoroll
59db33f641
Roll src/third_party/skia 3c4f3c178ade..9dbb98007b7b (2 commits) (#16655) 2020-02-17 22:51:03 -08:00
skia-flutter-autoroll
686a982f4b
Roll fuchsia/sdk/core/linux-amd64 from m7Xt4... to Uc8XS... (#16652) 2020-02-17 14:51:02 -08:00
skia-flutter-autoroll
943599d6cb
Roll src/third_party/skia 706f6b4069b1..3c4f3c178ade (1 commits) (#16650) 2020-02-17 13:36:02 -08:00
skia-flutter-autoroll
2d91e4ac23
Roll src/third_party/skia c65cd5c8dba9..706f6b4069b1 (1 commits) (#16649) 2020-02-17 11:36:03 -08:00
skia-flutter-autoroll
fe02708cec
Roll src/third_party/dart 7ed1690b4ed6..b20c35c7d90f (9 commits) (#16648) 2020-02-17 09:16:03 -08:00
skia-flutter-autoroll
3ac65b62ae
Roll src/third_party/dart 374c9c448fdc..7ed1690b4ed6 (1 commits) (#16647) 2020-02-17 03:56:03 -08:00
skia-flutter-autoroll
83b659825f
Roll fuchsia/sdk/core/linux-amd64 from CNbNp... to m7Xt4... (#16645) 2020-02-17 01:16:03 -08:00
skia-flutter-autoroll
0c70c20386
Roll src/third_party/skia 660a73ada09d..c65cd5c8dba9 (2 commits) (#16644) 2020-02-17 00:11:02 -08:00
skia-flutter-autoroll
90a5677d71
Roll src/third_party/skia bfe80bb552b0..660a73ada09d (1 commits) (#16643) 2020-02-16 22:26:08 -08:00
skia-flutter-autoroll
da31c17a2a
Roll src/third_party/skia 8935981317ca..bfe80bb552b0 (1 commits) (#16642) 2020-02-16 13:36:02 -08:00
skia-flutter-autoroll
1eb39ff2b5
Roll src/third_party/dart 6ae9dedc6058..374c9c448fdc (1 commits) (#16641) 2020-02-16 12:46:04 -08:00
skia-flutter-autoroll
61f4e0ad47
Roll src/third_party/skia a27ca5566533..8935981317ca (1 commits) (#16640) 2020-02-16 06:11:03 -08:00
skia-flutter-autoroll
ef7a747b20
Roll fuchsia/sdk/core/linux-amd64 from Dx_qu... to CNbNp... (#16639) 2020-02-16 00:26:03 -08:00
skia-flutter-autoroll
5a5b8b5725
Roll src/third_party/skia 2c5ee187245a..a27ca5566533 (1 commits) (#16638) 2020-02-15 22:56:04 -08:00
skia-flutter-autoroll
065fcb1c32
Roll src/third_party/skia 81e84a6e7f03..2c5ee187245a (1 commits) (#16637) 2020-02-15 12:21:02 -08:00
skia-flutter-autoroll
485133898f
Roll src/third_party/skia b7ceaa8efd2b..81e84a6e7f03 (2 commits) (#16636) 2020-02-15 10:46:03 -08:00
skia-flutter-autoroll
8b62538aca
Roll fuchsia/sdk/core/linux-amd64 from J-_s6... to Dx_qu... (#16635) 2020-02-15 04:31:03 -08:00
skia-flutter-autoroll
884f4c0e2a
Roll src/third_party/skia 05676f7bc238..b7ceaa8efd2b (1 commits) (#16633) 2020-02-15 01:36:03 -08:00
skia-flutter-autoroll
1ab2af9de1
Roll src/third_party/dart 11ae06e988de..361f881b8edc (7 commits) (#16632) 2020-02-14 22:06:03 -08:00
skia-flutter-autoroll
81983a8ff1
Roll src/third_party/skia 55f040bcb943..05676f7bc238 (47 commits) (#16631) 2020-02-14 18:41:03 -08:00
skia-flutter-autoroll
2257304f78
Roll src/third_party/dart edd64e6d5c79..11ae06e988de (44 commits) (#16628) 2020-02-14 16:51:03 -08:00
skia-flutter-autoroll
bb01cb7faf
Roll fuchsia/sdk/core/linux-amd64 from Bmq1m... to J-_s6... (#16592)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC  on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
2020-02-14 14:29:35 -08:00
Siva
d60f298d9e
Manual roll of Dart 0299903f3e...edd64e6d5c (#16604)
* Manual roll of Dart 0299903f3e...fcf88fe6fa

dart-lang/sdk@ fcf88fe6fa Revert "[vm/concurrency] Remove redundant isolates list, ensure shutdown procedure waits until the isolates actually got deleted"
dart-lang/sdk@ c894118574 [dart2js] Migrate js patch file to NNBD.
dart-lang/sdk@ 0d34bf5571 Remove another one of the unittest-like libraries.
dart-lang/sdk@ 40d544bc26 Always count non-core libs when tracking migration progress.
dart-lang/sdk@ 9e2d9ecd92 tests for missing getter/setter available suggestions
dart-lang/sdk@ 63c8bb7e46 Collect information about the AST structure at completion points
dart-lang/sdk@ c7b501625e Validate not only errors, but also warnings.
dart-lang/sdk@ 867d6537df enum constant and named cons test cases
dart-lang/sdk@ 01e079eff1 The initial dartdev pub * command - pass on all arguments from the 'dartdev pub *' invocation directly to 'pub *'.
dart-lang/sdk@ 4bde1f1851 Migration: test to make sure exact nullability isn't applied too much.
dart-lang/sdk@ ed705e8c84 Move DEAD_NULL_COALESCE reporting to ErrorVerifier.
dart-lang/sdk@ 93bb4b0f1b [dart2js] Migrate a couple of trivial libraries to nnbd.
dart-lang/sdk@ b03ef5b3fe Convert more doc comments in analysis_server
dart-lang/sdk@ 4ca3d267ee Run legacy co19 tests in analyzer-asserts-weak configuration.
dart-lang/sdk@ 166edab750 [dart2js] Migrate developer patch file to nnbd.
dart-lang/sdk@ 0838c9ebc2 Enable co19_2 legacy tests in the NNBD bots.
dart-lang/sdk@ d42b7bc15a partition imported/not-imported suggestion sets / de-dup
dart-lang/sdk@ 6a7d4e22b5 [vm/aot] Include entries for null in the dispatch table to avoid check.
dart-lang/sdk@ 27e64c309e [vm/aot] Optimize selector offsets for smaller instruction sequences.
dart-lang/sdk@ 1c2d378068 [vm/aot] Use TFA to eliminate unused selectors in dispatch table.
dart-lang/sdk@ 022b362e84 [vm/aot/tfa] Add missing visitor methods for call site instrumentation.
dart-lang/sdk@ e75c9192a1 Start converting dartdoc style in analysis_server
dart-lang/sdk@ 16033f922d Enable prefer_contains in analysis_server
dart-lang/sdk@ 1cc9413926 Add dartfix support for prefer_contains
dart-lang/sdk@ bcc0900e6a [vm] AOT blobs snapshots are obsolete. Remove dead code.
dart-lang/sdk@ a0323c755f convert test path (for windows)
dart-lang/sdk@ c90fca7188 [infra] Inline content of cloud epiloque file into approval script
dart-lang/sdk@ 902e2b097b Revert "[vm] Arm Assembler simplify code for SubImmediateSetFlags"
dart-lang/sdk@ c096f9d6e5 [gardening] Fix 3H patching logic with respect to newly added dependencies.
dart-lang/sdk@ 34447c8dbb Revert "[ VM ] Removed Dart_Allocate, Dart_AllocateWithNativeFields, and Dart_InvokeConstructor from embedding API"
dart-lang/sdk@ 0a8484ca20 [CFE/VM] Add patch after 'Use package config v2'
dart-lang/sdk@ f1d715b4d6 [dart2js] migrate dart:_interceptors and dart:internal patch files
dart-lang/sdk@ 3fbf5f93b6 [vm, service] Fix stack overflow in heap_snapshot.dart's data representation.
dart-lang/sdk@ 43bbf73da3 Update doc comments for dart:js_util
dart-lang/sdk@ fb7e6ba494 fix nnbd http parsing bug for http_headers_test
dart-lang/sdk@ cefd113de2 [dart2js] Migrate convert to nnbd.
dart-lang/sdk@ ddef611e04 Copy over the README.
dart-lang/sdk@ ca6cb6ce75 Always pass --default-language-version=2.7 to analyzer for legacy tests.
dart-lang/sdk@ 0a57671f90 [vm/nnbd] Use legacy types to create lists in Dart_NewListOf
dart-lang/sdk@ 5c332bea91 Stop using 'factory something() => null;' in most cases.
dart-lang/sdk@ 3d1b8b26c2 [ VM ] Removed Dart_Allocate, Dart_AllocateWithNativeFields, and Dart_InvokeConstructor from embedding API
dart-lang/sdk@ 91eee195fc [http] loosen status code constraints and rephrase some http exceptions
dart-lang/sdk@ 86b1b9d03c Enhance member depth completion metrics
dart-lang/sdk@ dd9adebad0 [dartdevc] Fixes to support un-forking dart:_runtime
dart-lang/sdk@ 84ff9e5008 Fix NullabilityEliminator to substitute type parameters in bounds.
dart-lang/sdk@ 0966e06ee4 Reland "[vm/nnbd] Enable type testing stubs in NNBD weak mode"
dart-lang/sdk@ f57f1eb56b Add an analyzer test step to test legacy code using the unforked SDK
dart-lang/sdk@ afaeb04137 sanity check project files for errors
dart-lang/sdk@ 4f6a5811fc Add json support to completion metrics computation
dart-lang/sdk@ 86f8e3438a Migrate language_2/async_nested to NNBD.
dart-lang/sdk@ b671b916d4 Treat the observatory service tests as opted out of NNBD.
dart-lang/sdk@ 78b1e15637 Don't report NULLABLE_TYPE_IN_CATCH_CLAUSE in opt-out libraries.
dart-lang/sdk@ 60295a2cef [dart2js] Migrate async_patch.dart to nnbd.
dart-lang/sdk@ 272a03a71d [ddc,dart2js] restore null check in dart:js
dart-lang/sdk@ 0fa3d79a3f Move applying LEGACY_ERASURE to isCorrectOverrideOf().
dart-lang/sdk@ e0621b65b2 [nnbd] Stop writing chunked into headers
dart-lang/sdk@ 9f4769fd30 [ddc] Add back nullcheck in js_array
dart-lang/sdk@ fa74c546b1 Use default FeatureSet for a file in its unlinked unit key hash.
dart-lang/sdk@ e34299101c Add back null check to _StreamIterator constructor in NNBD.
dart-lang/sdk@ c96f1928f6 Revert "[vm/nnbd] Enable type testing stubs in NNBD weak mode"
dart-lang/sdk@ 08778f9045 In legacy libraries apply LEGACY_ERASURE to concrete members.
dart-lang/sdk@ ad5ee10e69 [dart2js] Migrate a number of trivial libraries to nnbd fork.
dart-lang/sdk@ 30213c4188 Fix expression compiler tests on windows
dart-lang/sdk@ 5fd18be9c5 track analysis errors
dart-lang/sdk@ 31de73f074 [infra] Publish results messages to pub/sub at a slower rate
dart-lang/sdk@ 81d4ac07d4 [CFE] Use package config v2
dart-lang/sdk@ ed2df21191 [cfe] Decouple MemberBuilder from ClassMember
dart-lang/sdk@ 776b984115 [cfe] Correctly register parameters as initialized
dart-lang/sdk@ 6a2c350a3e [cfe] Fix isSubtypeOf for FutureOrs

* Update to edd64e6d5c7924a5fb1ef80c5226d24006e7977b
2020-02-14 00:15:42 -08:00
skia-flutter-autoroll
c210c3d51d
Roll src/third_party/skia 3bf3b92dfab0..55f040bcb943 (3 commits) (#16587) 2020-02-13 10:03:06 -08:00
skia-flutter-autoroll
2e6786621f
Roll src/third_party/skia 1d1333fcedf8..3bf3b92dfab0 (1 commits) (#16584) 2020-02-13 07:38:02 -08:00
skia-flutter-autoroll
050d29db5a
Roll src/third_party/skia 1a733b5b760a..1d1333fcedf8 (3 commits) (#16578) 2020-02-12 23:48:02 -08:00
skia-flutter-autoroll
db030ec183
Roll src/third_party/skia 6029cbd560b7..1a733b5b760a (1 commits) (#16577) 2020-02-12 22:08:02 -08:00
Matt Carroll
f39bc73d6a
Exposes FlutterSurfaceView, and FlutterTextureView to FlutterActivity and FlutterFragment. (#41984, #47557) (#16552) 2020-02-12 19:21:00 -08:00