1. 19 9月, 2019 21 次提交
    • S
      Roll src/third_party/skia 6344cbd1df76..18531cde2ab7 (2 commits) (#12358) · 1cada0a6
      skia-flutter-autoroll 提交于
      
      https://skia.googlesource.com/skia.git/+log/6344cbd1df76..18531cde2ab7
      
      git log 6344cbd1df76..18531cde2ab7 --date=short --no-merges --format='%ad %ae %s'
      2019-09-19 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/angle2 a7003d5fc306..bf4268a3963b (7 commits)
      2019-09-19 skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com Update Go deps
      
      Created with:
        gclient setdep -r src/third_party/skia@18531cde2ab7
      
      If this roll has caused a breakage, revert this CL and stop the roller
      using the controls here:
      https://autoroll.skia.org/r/skia-flutter-autoroll
      Please CC brianosman@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=brianosman@google.com
      1cada0a6
    • S
      Roll src/third_party/skia e2a903e18b59..6344cbd1df76 (3 commits) (#12357) · bf3af4d1
      skia-flutter-autoroll 提交于
      
      https://skia.googlesource.com/skia.git/+log/e2a903e18b59..6344cbd1df76
      
      git log e2a903e18b59..6344cbd1df76 --date=short --no-merges --format='%ad %ae %s'
      2019-09-19 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ../src b1c1d2844bd1..b8149cbe28ad (423 commits)
      2019-09-19 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/swiftshader 61a2765940a7..e9b6f28fdd71 (3 commits)
      2019-09-19 mtklein@google.com fold srcover coverage with SkVMBlitter
      
      Created with:
        gclient setdep -r src/third_party/skia@6344cbd1df76
      
      If this roll has caused a breakage, revert this CL and stop the roller
      using the controls here:
      https://autoroll.skia.org/r/skia-flutter-autoroll
      Please CC brianosman@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=brianosman@google.com
      bf3af4d1
    • B
      Roll src/third_party/dart cb80ea7ba9..ea969c358e (52 commits) · 9ead1be5
      Ben Konyi 提交于
      dart-lang/sdk@ea969c358e [vm/assembler] Split popcnt and lzcnt tests over feature set
      dart-lang/sdk@c9d187ec9c [vm/bytecode] Finalize type parameters while reading bytecode
      dart-lang/sdk@397c7e4d9a Revert "[vm/bytecode] Enable bytecode compiler by default in Dart SDK"
      dart-lang/sdk@108fe9cbcf Revert "[fuchsia] migrate from ioctls to FIDL"
      dart-lang/sdk@ad7374fcdb assist to insert null checks
      dart-lang/sdk@51d6145e77 [vm/assembler] Skip tests on hosts without POPCNT/LZCNT
      dart-lang/sdk@27c127db86 Use Process.start in ddb
      dart-lang/sdk@7305ae6c35 Revert "Update BoringSSL to 4dfd5af70191b068aebe567b8e29ce108cee85ce."
      dart-lang/sdk@93793a4ee8 Migration: add tests to document missing `required` keyword functionality.
      dart-lang/sdk@8acd1fe517 Update build rules to point to Fuchsia SDK rather than Flutter's buildroot
      dart-lang/sdk@39ff937afa [vm] Rename _LocalXMirror to _XMirror.
      dart-lang/sdk@bcca3c483b [vm/bytecode] Enable bytecode compiler by default in Dart SDK
      dart-lang/sdk@b988928c33 Declare type system fields as Dart2TypeSystem where we cast them.
      dart-lang/sdk@2e34231c8e [vm] Do not mirror default values of parameters of abstract methods
      dart-lang/sdk@771ee9f9ba Pass the output directory to dartfix and install a listener when output should be generated
      dart-lang/sdk@93f1324449 Update BoringSSL to 4dfd5af70191b068aebe567b8e29ce108cee85ce.
      dart-lang/sdk@0ad30fafc1 [vm/assembler] Added cpufeatures, added LZCNT (IA32/X64)
      dart-lang/sdk@4d9792668c Flow anaylsis: fix definite assignment tracking for for-each loop vars
      dart-lang/sdk@b43bb452f0 [vm/concurrency] Fix asan memory leak caused by longjmp over std::function<> objects
      dart-lang/sdk@f057e2506e [dart2js] Extended structured clone algorithm to JSObject.
      dart-lang/sdk@b699852e6d Add 'out'/'inout' keywords for variance.
      dart-lang/sdk@a1fdfb8fc8 Move ClassElement.thisType to API.
      dart-lang/sdk@4102e63f37 Deprecate TypeProvider.listType/mapType
      dart-lang/sdk@f1afb34924 Move strict-raw-type tests; add tests for extensions
      dart-lang/sdk@4fcef04d61 Deprecate TypeProvider.iterableType/streamType
      dart-lang/sdk@74af5f3496 Add a representation of the information captured from an nnbd migration
      dart-lang/sdk@bd28bad820 [dartdevc] add modular tests for old ddc
      dart-lang/sdk@9f4f0acb9e [vm/bytecode] Generate dependencies in front-end server in bytecode mode
      dart-lang/sdk@678f561ea6 Syntax tests for disabled variance flag.
      dart-lang/sdk@b510b91424 [vm] Bump abi version.
      dart-lang/sdk@998a421128 Migration: expose fix reasons through the instrumentation interface.
      dart-lang/sdk@a5683dfb62 Migration: add a repro for an issue with field formal parameters.
      dart-lang/sdk@dce98a23d1 Fix a typo in a diagnostic message (issue 38449)
      dart-lang/sdk@d4f1b8f8db Deprecate TypeProvider.futureType/futureOrType
      dart-lang/sdk@546440074a Stop reporting diagnostics on synthetic identifiers (issue 38448)
      dart-lang/sdk@f3b54fae0a Information for the migration result pages
      dart-lang/sdk@205b90f0de Take 3 for '[vm/ffi] Implement FFI callbacks on AOT for ELF and Asm snapshots (excl. blobs).'
      dart-lang/sdk@3731cfdef9 [vm] source report marks all const field as executed
      dart-lang/sdk@a56b4ee790 [cfe] Thread nullability from source for function types
      dart-lang/sdk@0c948521ca Update expectations in static_extesion_operators_test
      dart-lang/sdk@ce6f40bccc [dartdevc] fix for const / overridden fields
      dart-lang/sdk@38c6152884 [vm/concurrency] Add IsolateGroup::RunWithStoppedMutators and use it in various places
      dart-lang/sdk@97b561a8de [cfe] Update CoreTypes to handle raw types with it
      dart-lang/sdk@0281f9c425 [cfe] Add members to construct nullability in Library and LibraryBuilder
      dart-lang/sdk@6a27310b87 Reland "[build] Speed up debug and simulator builds by running steps on the prebuilt VM."
      dart-lang/sdk@4f1b0fdd0f [dart2js] (New RTI) Check all subtypes for trivial substitutions only when necessary.
      dart-lang/sdk@12c1b43365 Substitute bounds of fresh type parameters using all fresh type parameters.
      dart-lang/sdk@1a812bb6bb Deprecate TypeProvider.setType
      dart-lang/sdk@4b6ab33cfa [SDK] Reland: Remove dart:profiler library which has been deprecated since Dart 1.2       and remove all references to it in tests and the SDK build scripts.
      dart-lang/sdk@30d24335a8 [vm] Fix all wasm exception memory leaks
      dart-lang/sdk@bab399b5ae [vm, arm64] Add missing store barrier to PushArrayOfArguments.
      dart-lang/sdk@085f81224a [fuchsia] migrate from ioctls to FIDL
      9ead1be5
    • D
      skip flaky test (#12355) · dd081bea
      Dan Field 提交于
      dd081bea
    • D
      java lints (#12354) · 7fb14000
      Dan Field 提交于
      7fb14000
    • K
      [flutter_runner] Port vulkan surface changes (#12350) · 8dcd105f
      Kaushik Iska 提交于
      [flutter_runner] use dedicated allocation info
      
          This informs the vulkan driver that we're allocating memory
          dedicated to a single image. This is required for aemu and
          might also allow future drivers to make optimizations currently
          not possible.
      
          No change in behavior. Existing tests (modular_tests,
          scenic_tests, etc.) are sufficient and regressions will be
          prevented by running these tests on aemu.
      
          DX-939 #comment
      
          Test: fx shell run fuchsia-pkg://fuchsia.com/basemgr#meta/basemgr.cmx --base_shell=fuchsia-pkg://fuchsia.com/spinning_cube#meta/spinning_cube.cmx
          Change-Id: If4ecd9aaa09f12f94654a68e8e9fe979748f44af
      
          [flutter_runner] use external image create info
      
          DX-939 #progress
          MA-394 #progress
      
          This informs the vulkan driver that we're creating an image
          that will be backed by external memory. The driver driver can
          decide to use different memory requirements based on the if
          memory for the image can be exported or not.
      
          No change in behavior. Existing tests (modular_tests,
          scenic_tests, etc.) are sufficient and regressions will be
          prevented by running these tests on aemu.
      
          Test: fx shell run fuchsia-pkg://fuchsia.com/basemgr#meta/basemgr.cmx --base_shell=fuchsia-pkg://fuchsia.com/spinning_cube#meta/spinning_cube.cmx
          Change-Id: I489318c2e31f752f76c80a81245e203861d44d94
      8dcd105f
    • S
      Roll src/third_party/skia f19f9caab2b4..e2a903e18b59 (1 commits) (#12351) · 92afbfdf
      skia-flutter-autoroll 提交于
      
      https://skia.googlesource.com/skia.git/+log/f19f9caab2b4..e2a903e18b59
      
      git log f19f9caab2b4..e2a903e18b59 --date=short --no-merges --format='%ad %ae %s'
      2019-09-18 csmartdalton@google.com Reland "Reorder msaa and mipmap resolves to happen all at once"
      
      Created with:
        gclient setdep -r src/third_party/skia@e2a903e18b59
      
      If this roll has caused a breakage, revert this CL and stop the roller
      using the controls here:
      https://autoroll.skia.org/r/skia-flutter-autoroll
      Please CC brianosman@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=brianosman@google.com
      92afbfdf
    • K
      [flutter_runner] Explicitly set |trace_skia| to false (#12349) · eed16d34
      Kaushik Iska 提交于
      Explicitly set |Application|'s |flutter::Settings| |trace_skia| field to
      false (it currently defaults to false), in order to slightly simplify
      the enabling skia trace events workflow.
      
      PT-145 #comment-patch
      
      Change-Id: Ib40f9ed3dc6f824056465db2cd45309c78b7e3b4
      eed16d34
    • K
    • K
      [flutter_runner][async] Migrate dart/flutter to new async-loop APIs (#12347) · 9036234c
      Kaushik Iska 提交于
      Change-Id: I11ca124878d2652798ed49958c42aa10ae019ef9
      9036234c
    • K
      [flutter_runner] Move from runner context to component context (#12346) · 725dc259
      Kaushik Iska 提交于
      * [flutter_runner] Move from runner context to component context
      
      * remove the file references
      725dc259
    • K
      33ad6757
    • K
      [flutter_runner] Remove usages of shared snapshots from CC sources (#12343) · e0a24d63
      Kaushik Iska 提交于
      Build rules still reference creating share snapshot data and instructions. This makes the engine to always pass them as empty to the dart vm. To be followed up with a change to alter the build rules to stop referencing the shared snapshots.
      
      This is not being used currently and the fact that the runner will be built outside of the flutter tree means that the apps will not have much to gain via shared snapshots. The rationale behind this change is to partially make migrating the runner out of topaz tree easier.
      
      Change-Id: Ibc4dd6a298d65082416af753522f5a17c88a750a
      e0a24d63
    • K
      7f7250f4
    • D
      Add missing CL, fix targets for Fuchsia (#12338) · 00a12c41
      Dan Field 提交于
      00a12c41
    • D
      More controls for Screenshot tests (for web) (#12284) · d3c60ace
      David Iglesias 提交于
      New features for golden tests (for web):
      
      * Height/width of headless browser instance extracted to constants
      * Remove border from the host iframe
      * Added 'region' to matchGoldenFile, so screenshots can capture only
      a subset of the viewport
      * Added image-format-awareness (png) to screenshot comparison, so it
      doesn't only look at raw bytes
      * When a test fails, output a diff image alongside the unexpected
      output.
      d3c60ace
    • S
      Roll src/third_party/skia 8391bac5c6f0..f19f9caab2b4 (8 commits) (#12341) · de1e7415
      skia-flutter-autoroll 提交于
      
      https://skia.googlesource.com/skia.git/+log/8391bac5c6f0..f19f9caab2b4
      
      git log 8391bac5c6f0..f19f9caab2b4 --date=short --no-merges --format='%ad %ae %s'
      2019-09-18 bsalomon@google.com Handle F16Norm clamping in SkPaint->GrPaint conversion.
      2019-09-18 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
      2019-09-18 mtklein@google.com move skvm debug tools back to core
      2019-09-18 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
      2019-09-18 herb@google.com Reland "SkZip - synchronized indexing of several pointers"
      2019-09-18 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
      2019-09-18 robertphillips@google.com Last tranche of new SkColorTypes
      2019-09-18 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
      
      Created with:
        gclient setdep -r src/third_party/skia@f19f9caab2b4
      
      If this roll has caused a breakage, revert this CL and stop the roller
      using the controls here:
      https://autoroll.skia.org/r/skia-flutter-autoroll
      Please CC brianosman@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=brianosman@google.com
      de1e7415
    • T
      [fuchsia] add fuchsia.netstack.Netstack (#12325) · 00f23b2e
      Tamir Duberstein 提交于
      Needed in preparation for
      https://dart-review.googlesource.com/c/sdk/+/117620.
      
      Test:
        git grep -l -E '(socket\.Provider|NameLookup)' | \
        xargs grep -L fuchsia.netstack.Netstack
      00f23b2e
    • S
      Roll src/third_party/skia dd0dff1c35d2..8391bac5c6f0 (8 commits) (#12337) · d5225dfc
      skia-flutter-autoroll 提交于
      
      https://skia.googlesource.com/skia.git/+log/dd0dff1c35d2..8391bac5c6f0
      
      git log dd0dff1c35d2..8391bac5c6f0 --date=short --no-merges --format='%ad %ae %s'
      2019-09-18 bsalomon@google.com Add F16Norm mode to viewer
      2019-09-18 bsalomon@google.com blurrect_compare GM: draw "masks" in white for RGBA fallback.
      2019-09-18 csmartdalton@google.com Weed out duplicates from the proxy version of addDependency
      2019-09-18 mtklein@google.com faster PNG encoding in skottie_tool
      2019-09-18 csmartdalton@google.com Revert "Use a "decal" domain for filterMaskGPU"
      2019-09-18 csmartdalton@google.com Revert "Abolish absClear"
      2019-09-18 bsalomon@google.com Use mipmapping/protected to lookup scratch textures.
      2019-09-18 jvanverth@google.com Reland "Add ETC2 support to Metal backend."
      
      Created with:
        gclient setdep -r src/third_party/skia@8391bac5c6f0
      
      If this roll has caused a breakage, revert this CL and stop the roller
      using the controls here:
      https://autoroll.skia.org/r/skia-flutter-autoroll
      Please CC brianosman@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=brianosman@google.com
      d5225dfc
    • D
      Ensure DRRects without corners also draw. (#12330) · 8814f686
      David Iglesias 提交于
      Uncovered this bug running some additional engine tests. Backported the
      test here, and fixed the recording_canvas code.
      8814f686
    • A
      Update ExternalViewEmbedder class comment. (#11063) · 113be249
      Amir Hardon 提交于
      113be249
  2. 18 9月, 2019 19 次提交
    • S
      Roll src/third_party/skia d545bfbb94ca..dd0dff1c35d2 (25 commits) (#12334) · 22890727
      skia-flutter-autoroll 提交于
      
      https://skia.googlesource.com/skia.git/+log/d545bfbb94ca..dd0dff1c35d2
      
      git log d545bfbb94ca..dd0dff1c35d2 --date=short --no-merges --format='%ad %ae %s'
      2019-09-18 kjlubick@google.com [canvaskit] roll to 0.7.0
      2019-09-18 csmartdalton@google.com Abolish absClear
      2019-09-18 csmartdalton@google.com Revert "Reorder msaa and mipmap resolves to happen all at once"
      2019-09-18 csmartdalton@google.com Reorder msaa and mipmap resolves to happen all at once
      2019-09-18 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/angle2 d32dae1bb37c..a7003d5fc306 (11 commits)
      2019-09-18 skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com Update Go deps
      2019-09-18 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ../src c6edebc270af..b1c1d2844bd1 (382 commits)
      2019-09-18 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/swiftshader 30847688f059..61a2765940a7 (7 commits)
      2019-09-18 herb@google.com Revert "SkZip - synchronized indexing of several pointers"
      2019-09-18 csmartdalton@google.com Use a "decal" domain for filterMaskGPU
      2019-09-17 herb@google.com SkZip - synchronized indexing of several pointers
      2019-09-17 ethannicholas@google.com fixed an SkSL parse issue
      2019-09-17 bungeman@google.com Properly subset the run in ShapeThenWrap.
      2019-09-17 csmartdalton@google.com Reland "Use "clamp" when reexpanding gaussian blurs"
      2019-09-17 ethannicholas@google.com Additional SkSL swizzle optimizations
      2019-09-17 brianosman@google.com Update SkParticleEffect comments based on review feedback
      2019-09-17 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
      2019-09-17 bsalomon@google.com Respect ImageSetEntry alpha in one-at-a-time code path
      2019-09-17 brianosman@google.com Fix standalone SkSL build after adding SkOnce to SkSLByteCode
      2019-09-17 herb@google.com A fix and unit test for jagged characters
      2019-09-17 brianosman@google.com Move raster hack for color type on layers with image filters to device
      2019-09-17 halcanary@google.com experimental/minimal_ios_mtl_skia_app
      2019-09-17 brianosman@google.com Make SkSL::ByteCodeFunction::preprocess thread-safe
      2019-09-17 bsalomon@google.com Pass color types when creating texture with initial data.
      2019-09-17 bsalomon@google.com Fix bug where coverage on interior of stroked rects is applied twice
      
      Created with:
        gclient setdep -r src/third_party/skia@dd0dff1c35d2
      
      If this roll has caused a breakage, revert this CL and stop the roller
      using the controls here:
      https://autoroll.skia.org/r/skia-flutter-autoroll
      Please CC brianosman@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=brianosman@google.com
      22890727
    • B
      Roll src/third_party/dart f22f62c85d..cb80ea7ba9 (8 commits) · fce8be3a
      Ben Konyi 提交于
      dart-lang/sdk@cb80ea7ba9 [vm/bytecode] Avoid using stale bytecode after expression evaluation
      dart-lang/sdk@765651b079 Fix some diagnostics in ddb tool
      dart-lang/sdk@fc4021b68d [vm/assembler] add support for bsf, bsr, popcnt (IA32/X64)
      dart-lang/sdk@0a5d6a5263 [ VM / Service ] Add --write-service-info=<filename> flag to allow for writing VM service connection information to a file
      dart-lang/sdk@37016a7397 Migration: use virtual dispatch to compute nullability fix descriptions.
      dart-lang/sdk@5fc5c68c87 [vm/fuzzer] Deprecate DBC from DartFuzz tools
      dart-lang/sdk@e32706ec05 Remove '--use-summary2' from DAS.
      dart-lang/sdk@f342d07b0d Report an error if an extension override is used in a cascade (issue 38417)
      fce8be3a
    • M
    • B
      Roll src/third_party/dart 7505b3a5f0..f22f62c85d (5 commits) · ecab4f8e
      Ben Konyi 提交于
      dart-lang/sdk@f22f62c85d [vm/bytecode] Fix assertion in simdbc version of Environment::DropArguments
      dart-lang/sdk@f7e0968955 [vm] Remove redundant classes from wasm.cc
      dart-lang/sdk@b0fa0aebb7 [build] Ensure kernel service trains on the source.
      dart-lang/sdk@d4fd853523 fix for unused_element
      dart-lang/sdk@6e76bdac38 [vm, gc] Provide more information when VisitPointers/HeapSize fails.
      ecab4f8e
    • K
      Revert "Provide dart vm initalize isolate callback so that children isolates... · 23835f55
      Kaushik Iska 提交于
      Revert "Provide dart vm initalize isolate callback so that children isolates belong to parent's isolate group. (#9888)" (#12327)
      
      This reverts commit e6620ddb.
      23835f55
    • A
      [flutter] Remove old A11y API's. (#12308) · 3b09d9f1
      Ankit Dave 提交于
      3b09d9f1
    • S
      Roll fuchsia/sdk/core/linux-amd64 from RRgw-... to F-g18... (#12326) · 6a964174
      skia-flutter-autoroll 提交于
      Roll fuchsia/sdk/core/linux-amd64 from RRgw-... to F-g18...
      
      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
      6a964174
    • C
      Account for root surface transformation on the surfaces managed by the... · 1c7300ed
      Chinmay Garde 提交于
      Account for root surface transformation on the surfaces managed by the external view embedder. (#11384)
      
      The earlier design speculated that embedders could affect the same
      transformations on the layers post engine compositor presentation but before
      final composition.
      
      However, the linked issue points out that this design is not suitable for use
      with hardware overlay planes. When rendering to the same, to affect the
      transformation before composition, embedders would have to render to an
      off-screen render target and then apply the transformation before presentation.
      This patch negates the need for that off-screen render pass.
      
      To be clear, the previous architecture is still fully viable. Embedders still
      have full control over layer transformations before composition. This is an
      optimization for the hardware overlay planes use-case.
      
      Fixes b/139758641
      1c7300ed
    • M
      Introduce FlutterFragmentActivity (#12305) · f38f3a2f
      Matt Carroll 提交于
      f38f3a2f
    • C
      Shuffle test order and repeat test runs once. (#12275) · b4d81583
      Chinmay Garde 提交于
      The tests we write must be resilient to the order in which they are run in the
      harness. That is, they must not rely on global state set by other tests that
      have already run in the process. Also, these tests must themselves be
      repeatable. That is, they must correctly clean up after themselves and be able
      to run successfully again in the same process.
      
      This patch adds some safeguards against (but does NOT guarantee) the addition of
      tests that violate the dictum.
      
      Additionally, test failures must be easily reproducible for folks investigating
      the test failure. Also, tests that assert correctness of unrelated code must not
      stop progress on the authors patch.
      
      This changes does not hinder reproducibility of test failures because the random
      seed is printed in the logs before running each test. Developers attempting to
      reproduce the failure locally can do the same via the following invocation
      `--gtest_shuffle --gtest_repeat=<the count> --gtest_random_seed=<seed from failing run>`.
      
      This change does introduce potential burden on patch authors that may see
      failures in unrelated code as a newly failing shuffle seed is used on their
      runs. To ameliorate this, we will formulate guidance for them to aggressively
      mark such tests as disabled and file bugs to enable the same.
      
      The test seed is intentionally kept low because it’s purpose is to test that
      individual tests are repeatable. It must not be used as a replacement for
      fuzzing.
      b4d81583
    • H
      Update canvaskit backend (#12318) · d1692d4c
      Harry Terkelsen 提交于
      * Improve the CanvasKit backend for Flutter Web
      
      - Improve font handling by trying to load a "normal" font face
        instead of using the first face matching the family.
      - Implement Vertices and drawVertices
      
      * Add license header to vertices.dart
      
      * Remove unused 'encodedPositions'
      
      * Delete commented old code. Don't use Skia by default
      
      * Add `vertices.dart` to licenses file
      d1692d4c
    • M
      README for the felt tool (#12323) · b790d48e
      Mouad Debbar 提交于
      b790d48e
    • J
      Fix continuous event polling in the GLFW event loop (#12320) · b4d76555
      Jason Simmons 提交于
      * Do not pass a milliseconds::max() timeout that will overflow when converted
        to nanoseconds
      * Avoid holding the task_queue_mutex_ while calling glfwWaitEventsTimeout
      * Use a signed type to hold the difference between a task's timestamp and
        the current engine time
      
      Fixes https://github.com/flutter/flutter/issues/40281
      b4d76555
    • R
      Tests for #11283 (#12322) · caf1df6b
      rafern 提交于
      Added tests for #11283. The itEncodesNullObjects test fails with the branch before the merge and succeeds with the master branch
      caf1df6b
    • D
      Improve check to render (or not) a DRRect when inner falls outside of outer on... · 851f4606
      David Iglesias 提交于
      Improve check to render (or not) a DRRect when inner falls outside of outer on RecordingCanvas (#12229)
      
      * Improve check to determine if a rrect is fully contained within another in RecordingCanvas.
      * Add unit tests.
      
      Fixes https://github.com/flutter/flutter/issues/37772 (and others)
      851f4606
    • B
      Roll src/third_party/dart dd1969a43a..7505b3a5f0 (39 commits) · 1bdcca67
      Ben Konyi 提交于
      dart-lang/sdk@7505b3a5f0 [vm] Boilerplate for wasm types.
      dart-lang/sdk@4adbc8f1e6 Use single TypeSystem.inferGenericFunctionOrType(), avoid using full generic DartType.
      dart-lang/sdk@7f90b562be Migration: clean up nomenclature of graph edge "sources".
      dart-lang/sdk@9bb9c05f92 Rename EdgeInfo.hard to EdgeInfo.isHard
      dart-lang/sdk@478e3cfe87 Migration: test and fix a few more instrumentation corner cases.
      dart-lang/sdk@9753a397bf Allow responses with no "type" field to succeed for ServiceExtensionConsumers.
      dart-lang/sdk@e00c8f3cb7 Add a command-line option to dartfix to specify the output directory
      dart-lang/sdk@b87c9afb82 Revert "Reland "[build] Speed up debug and simulator builds by running steps on the prebuilt VM.""
      dart-lang/sdk@9f0872847d [VM] Linux with symbolic link to dart: still find kernel-service snapshot
      dart-lang/sdk@f309ca5faa improvements to remove_unused_local_variable
      dart-lang/sdk@9385a879e5 Status file cleanup.
      dart-lang/sdk@dd83ded1e9 Add output directory field to dartfix API
      dart-lang/sdk@93980b75ce Add TypeProvider.xyzType2() for platform classes with type parameters.
      dart-lang/sdk@035c428b31 Delete language_2/config_import_test.
      dart-lang/sdk@1222a97e46 [nnbd_migration] principle is check types non-null, component types nullable
      dart-lang/sdk@114fdbc50b Fix the messages associated with the invalid_override diagnostic
      dart-lang/sdk@eb208b1074 Move inference-failure-on-collection-literal tests
      dart-lang/sdk@74fb313c78 nodeInList utility
      dart-lang/sdk@631e547c2f [vm/bytecode] Setup initial scope before the first CheckStack
      dart-lang/sdk@6a9d792454 Move NullabilitySuffix to API.
      dart-lang/sdk@4ae145e173 Migration: Introduce an instrumentation interface.
      dart-lang/sdk@90b44e77d8 Report strict-inference issues with function return types
      dart-lang/sdk@c1d0ca7518 [vm/bytecode] Minor cleanup.
      dart-lang/sdk@ecc99cca3b Fix lib_2/async/stream_distinct_test.
      dart-lang/sdk@0d0630bf52 Compile with -lpthread by default on linux.
      dart-lang/sdk@405ff47ebe Add ClassElement.isDartCoreObject, use instead of 'classElement.type.isObject'.
      dart-lang/sdk@3290912366 Remove code reference to Never
      dart-lang/sdk@46f2603781 Reland "[build] Speed up debug and simulator builds by running steps on the prebuilt VM."
      dart-lang/sdk@07cd62af19 [ package:vm_service ] 2.0.0 Release: Added named parameters to VM service object constructors
      dart-lang/sdk@188ad65b2d [vm] Support serializaing PcDescriptors in kFull snapshots.
      dart-lang/sdk@e978b32a7e Stop using '.type' in analysis_server.
      dart-lang/sdk@87ba885a45 Delete language_2/call_method_implicit_tear_off_implements_function_test.
      dart-lang/sdk@b53b425195 Migration: change EdgeOrigin classes to store AST nodes rather than offsets.
      dart-lang/sdk@233189e598 Migration: clean up EdgeOrigin class hierarchy.
      dart-lang/sdk@74db01f1c2 Migration: Remove edge origins from GraphEdge data structure.
      dart-lang/sdk@963b98715d [vm/fuzzer] Reduce limit on emitted classes
      dart-lang/sdk@ec1b9615b1 fix for unused_field
      dart-lang/sdk@c5c2c1bcca Migration: Fix assignment of FutureOr<T> to FutureOr<U>.
      dart-lang/sdk@f470695875 Stop using ClassElement/TypeParameterElement.type in tests.
      1bdcca67
    • G
      Channel buffers (#12167) · 0a455a82
      gaaclarke 提交于
      Added channel buffers to 'ui' so that messages have a place to
      go until message handling is setup.
      0a455a82
    • X
      Make iOS FlutterViewController stop sending inactive/pause on app lifecycle... · 4159c2bf
      xster 提交于
      Make iOS FlutterViewController stop sending inactive/pause on app lifecycle events when not visible (#12128)
      
      4159c2bf
    • S
      Adds PluginRegistry to the C++ client wrapper API (#12287) · 709fc6e0
      stuartmorgan 提交于
      Makes the plugin registration structure consistent with macOS. This will
      be used in generated plugin registrant files rather than a specific
      implemenation class, so this helps unblock the creation of generated
      registrants on Windows and Linux.
      709fc6e0