19669 Commits

Author SHA1 Message Date
godofredoc
6700a97a86 Move Linux host engine recipes_v2 to prod. (flutter/engine#36540) 2022-09-30 23:47:16 +00:00
skia-flutter-autoroll
be6d65545a Roll Skia from 449265524bc1 to c0105a1831a3 (3 revisions) (flutter/engine#36543) 2022-09-30 23:04:23 +00:00
Tong Mu
06bcc278e3 [macOS] Unify FlutterRenderers' presenting callbacks (flutter/engine#36488) 2022-09-30 15:08:43 -07:00
Mouad Debbar
88f0493704 [web] Remove unnecessary code from sdk_rewriter (flutter/engine#36124) 2022-09-30 21:00:53 +00:00
skia-flutter-autoroll
6015f5d14e Roll Skia from dc9fcab6c661 to 449265524bc1 (5 revisions) (flutter/engine#36541) 2022-09-30 20:59:05 +00:00
Mouad Debbar
10a7bfb644 [web] Fix 'felt test' watch mode (flutter/engine#36423) 2022-09-30 20:59:03 +00:00
Jonah Williams
b1dcbda64e [Impeller] Create the tessellator in the ContentsContext and reuse, reduce initial bucket size. (flutter/engine#36534) 2022-09-30 20:53:17 +00:00
Dan Field
3ec5ace549 [Impeller] update compute unit test to actually read back the data, fix bugs in it (flutter/engine#36521) 2022-09-30 20:40:58 +00:00
cfontas
b203597bab Add DPR To Flatland Embedder (flutter/engine#36449)
* add dpr field to flatland

* format

* more dpr updates

* add inverse

* fix error

* fix error

* fix formatting

* formatting again

* one more formatting fix

* update metrics

* fix build errors

* formatting

* test

* formatting

* test

* test

* fix typo

* clean up a bit

* format

* fix metrics

* remove line

* fix test

* remove prints

* fix formatting

* update checks

* format
2022-09-30 16:37:14 -04:00
skia-flutter-autoroll
65a75969d4 Roll Skia from 5a0973614af4 to dc9fcab6c661 (8 revisions) (flutter/engine#36537) 2022-09-30 19:29:13 +00:00
Dan Field
8f314251d3 [Impeller] Make kHostVisible DeviceBuffers actually be host visible. (flutter/engine#36522) 2022-09-30 17:39:38 +00:00
Zachary Anderson
f33f172ec7 Remove bringup from new clang-tidy builds (flutter/engine#36518) 2022-09-30 08:12:32 -07:00
skia-flutter-autoroll
0e38be0356 Roll Skia from 34bb500bea6c to 5a0973614af4 (1 revision) (flutter/engine#36530) 2022-09-30 14:09:28 +00:00
skia-flutter-autoroll
2421b670e5 Roll Skia from 29b5ce3c9cee to 34bb500bea6c (2 revisions) (flutter/engine#36528) 2022-09-30 10:31:22 +00:00
skia-flutter-autoroll
fc4f82a71b Roll Skia from 0ce7c5fd5538 to 29b5ce3c9cee (1 revision) (flutter/engine#36525) 2022-09-30 08:18:22 +00:00
skia-flutter-autoroll
764c4bc595 Roll Skia from 8ff5be169db5 to 0ce7c5fd5538 (1 revision) (flutter/engine#36523) 2022-09-30 06:30:14 +00:00
skia-flutter-autoroll
66a086949b Roll Skia from 5a55f43918c3 to 8ff5be169db5 (2 revisions) (flutter/engine#36516) 2022-09-30 00:54:05 +00:00
skia-flutter-autoroll
b0a18950d3 Roll Skia from 23d7b1c4369c to 5a55f43918c3 (7 revisions) (flutter/engine#36513) 2022-09-29 23:12:25 +00:00
Zachary Anderson
e46c557a83 Shard clang-tidy builders (flutter/engine#36505) 2022-09-29 15:27:13 -07:00
Chris Bracken
f76273c029 Use strip_bitcode for create_arm_gen_snapshot (flutter/engine#36510)
This migrates the `create_arm_gen_snapshot` target used to create a
copy of gen_snapshot suffixed with its target CPU architecture using the
same `strip_bitcode` macro used for the equivalent target used for
desktop gen_snapshot.

In a followup patch, these will be merged to a single target. They
currently still have incompatible output paths.

Issue: https://github.com/flutter/flutter/issues/103386
Issue: https://github.com/flutter/flutter/issues/101138
Issue: https://github.com/flutter/flutter/issues/107884
2022-09-29 14:27:02 -07:00
Matej Knopp
7d898a85e4 Convert Safari and Firefox wheel delta to physical pixels. (flutter/engine#35428) 2022-09-29 20:04:08 +00:00
Alexander Biggs
16d5012361 [fuchsia] Add --gtest-filter flag for unit tests. (flutter/engine#36509) 2022-09-29 19:57:05 +00:00
skia-flutter-autoroll
5af1af7d1b Roll Skia from ad2aed5c2f56 to 23d7b1c4369c (4 revisions) (flutter/engine#36508) 2022-09-29 19:53:45 +00:00
skia-flutter-autoroll
72347d894d Roll Skia from 1b72d90ed511 to ad2aed5c2f56 (4 revisions) (flutter/engine#36504) 2022-09-29 18:16:16 +00:00
Chris Bracken
d6d0909b65 Generalise gen_snapshots.py to strip_bitcode.py (flutter/engine#36496)
The gen_snapshots.py tool is used to copy an input gen_snapshot to an
output path with an architecture-specific suffix. For example, to copy
gen_snapshot to gen_snapshot_arm64. Bitcode segments, if any, are
stripped.

This moves the input/output filename hardcoding into the BUILD.gn file
and generalises the logic to simply copy an input binary to an output
path with bitcode segments stripped. Since the tool is no longer
gen_snapshot specific, we rename it from gen_snapshots.py to
strip_bitcode.py.

This also renames the generalised `macos_gen_snapshots` rule to
`strip_bitcode`.

Since we're working on removing bitcode support from the engine, this
script will eventually serve no purpose other than to copy the input
binary to an output path, at which point this script, and the associated
`strip_bitcode` template in `//flutter/sky/tools/macos_tools.gni` can be
removed.

Along with the TODO, renaming the script and the rule help ensure we'll
spot this and remove it when bitcode support is removed from the engine.

Finally, this fixes a dependency issue in the target
//flutter/lib/snapshot:create_macos_gen_snapshots. Previously, it
dependended on ":generate_snapshot_bin", but in fact, the only file it
touches is gen_snapshot. This was built transitively as part of the
":generate_snapshot_bin" target, but is now depended on directly.

This is pre-factoring for merging the iOS and macOS gen_snapshot
creation build rules in `flutter/lib/snapshot/BUILD.gn`.

Issue: https://github.com/flutter/flutter/issues/103386
Issue: https://github.com/flutter/flutter/issues/101138
Issue: https://github.com/flutter/flutter/issues/107884
2022-09-29 10:48:56 -07:00
Oleg
6d76d00c33 Fixed visibility of embedded views in safari (google map, video, camera preview etc) (flutter/engine#35948) 2022-09-29 16:41:15 +00:00
Loïc Sharma
ed86837855 Fix the AXPlatformNodeWinTest.IAccessibleHitTest test (flutter/engine#36490) 2022-09-29 16:41:13 +00:00
skia-flutter-autoroll
8d47b777e7 Roll Skia from f0d283f77832 to 1b72d90ed511 (2 revisions) (flutter/engine#36503) 2022-09-29 16:37:16 +00:00
skia-flutter-autoroll
e1cc251343 Roll Skia from 08d10dcd02f9 to f0d283f77832 (1 revision) (flutter/engine#36501) 2022-09-29 14:47:27 +00:00
skia-flutter-autoroll
52c502c595 Roll Skia from 1ef9f8be6f63 to 08d10dcd02f9 (3 revisions) (flutter/engine#36495) 2022-09-29 08:19:39 +00:00
skia-flutter-autoroll
d0f51f1eda Roll Skia from d9785fdcddef to 1ef9f8be6f63 (1 revision) (flutter/engine#36494) 2022-09-29 06:39:28 +00:00
godofredoc
d6421e0dc8 Generate fonts.zip for arm64. (flutter/engine#36492) 2022-09-29 05:35:08 +00:00
xiaomiao
71f3f9605c [Impeller] Make 'linearToSrgbGamma' and 'srgbToLinearGamma' work as expected (flutter/engine#36472) 2022-09-29 01:39:53 +00:00
alanwutang11
1dcdc91882 dont throw on null view embedder (flutter/engine#36479) 2022-09-29 01:07:04 +00:00
ColdPaleLight
c34c9941e4 [Impeller] Blend alpha correctly in the 'DstOver' mode and the 'Dst' mode (flutter/engine#36439) 2022-09-29 00:32:16 +00:00
Harry Terkelsen
1a32fb8191 Fix bug in binary search for font.contains (flutter/engine#36426) 2022-09-28 16:35:56 -07:00
skia-flutter-autoroll
9fdbb5ad9c Roll Skia from 561a5e202c79 to d9785fdcddef (3 revisions) (flutter/engine#36486) 2022-09-28 22:46:27 +00:00
Jonah Williams
463c3d8cba Revert egl presentation time (flutter/engine#36485) 2022-09-28 21:50:13 +00:00
Zachary Anderson
5b36e44eaf Adds a --lint-head flag to the clang-tidy script (flutter/engine#36476)
* Adds a --lint-head flag to the clang-tidy script

* Update tools/clang_tidy/lib/src/git_repo.dart

Co-authored-by: Jenn Magder <magder@google.com>

* Fix comment syntax

Co-authored-by: Jenn Magder <magder@google.com>
2022-09-28 14:28:03 -07:00
skia-flutter-autoroll
fca3afa7c9 Roll Skia from a45438bb1f11 to 561a5e202c79 (2 revisions) (flutter/engine#36483) 2022-09-28 20:55:01 +00:00
Siva
d4a1f7a64b Make Flutter frontend server Null safe. (flutter/engine#36482) 2022-09-28 13:24:07 -07:00
Callum Moffat
582d28921f Fix reversed macOS trackpad rotation (flutter/engine#36444) 2022-09-28 19:52:50 +00:00
Erik
777f08534e Add skip-remove-buckets parameter (flutter/engine#36481) 2022-09-28 19:39:59 +00:00
skia-flutter-autoroll
7ded3054e1 Roll Skia from e17679d03818 to a45438bb1f11 (3 revisions) (flutter/engine#36478) 2022-09-28 18:35:07 +00:00
sealesj
8c24c0eb88 Revert "OSV Vulnerabiltiy Scanning (#36355)" (flutter/engine#36477)
This reverts commit 67333ec64c77c195dd764682a3095c4c1744cbc2.
2022-09-28 13:12:25 -04:00
sealesj
67333ec64c OSV Vulnerabiltiy Scanning (flutter/engine#36355)
* initial flatten deps scan

* move 3rd party scan to separate action

* allow fork to run

* install requests

* use packages

* pip install

* rename

* conditional vuln report

* trailing whitespace

* trailing whitespace

* detailed print

* add testing file

* add upload test sarif

* results sarif

* move sarif

* upload modified sarif

* test flow

* test with results.sarif

* formatting

* test naming convention

* description with text in artifactLocation

* don't use locations

* use template sarif

* just use template

* add one field mod

* add another field mod

* use actual osvReport

* add field

* add field

* test

* no information uri

* no information uri

* add name

* template NA data for results

* back to minimal template

* dynamic rules

* template update

* no results

* only use template

* test

* new test

* new test

* add back locations

* descriptive fields

* test

* use package name

* variable commit hash

* add chromium accessibility readme support

* use batch query test

* clean up

* use variables for sarif template

* initial automating ancestor commit

* allow for workflow on testing

* install gitpython in workflow

* wrap in try

* expand try

* check commit is not none

* quiet clone

* fix commit newline

* proper print for failed deps

* remove gitpython

* remove import

* fix origin source

* remove .dart from dep names

* update dep

* typo

* update

* clone into controlled name repo now

* fix github upstream clone url

* test CVE finding

* use templated rule and result

* typo

* remove test CVE

* add link straight to OSV DB

* comments

* use os mkdir

* check time of pinned commit

* quiet git

* print osv api query results if vulns found

* move upstream mapping into DEPS file

* add testing for DEPS file

* add khronos exception

* add basic ancestor commit test

* no vulns message

* do not produce empty sarif

* add yaml

* remove unused python dep

* no change?

* no more print, causing recipe issues

* string test

* string test

* no more fstrings

* convert to .format

* syntax

* remove unused dep

* test

* switch test script

* no encoding

* add back test

* typo

* remove scan flat deps tests again

* update

* fix tests

* typo

* newline

* use checkout dir

* prefix

* update to use prefix

* lint

* runhook attempt

* lint

* lint

* lint

* lint

* no license blurb

* cleanup

* enable for main

* do not raise error

* run on branch

* data indentation

* check file existence
2022-09-28 12:56:31 -04:00
skia-flutter-autoroll
c298d07c0d Roll Skia from 2d45cb9b66f1 to e17679d03818 (4 revisions) (flutter/engine#36475) 2022-09-28 16:25:28 +00:00
Chris Bracken
72aa64e91f [macOS] Clean up gen_snapshot copy invocation (flutter/engine#36461)
create_macos_gen_snapshots.py uses `xcrun bitcode_strip` to copy
gen_snapshot from its build directory to a suffixed gen_snapshot_arm64
or gen_snapshot_armv7, while stripping the bitcode segment, if any.

This simplifies the python invocation to use subprocess.check_call, and
also guarantees the process exits with failure in such a situation --
we weren't checking the return value of generate_gen_snapshot.

This is cleanup for issues encountered while working on merging
macOS/iOS gen_snapshot tooling.

Issue: https://github.com/flutter/flutter/issues/103386
Issue: https://github.com/flutter/flutter/issues/101138
2022-09-28 09:13:49 -07:00
godofredoc
36fb4e3695 Add artifacts.zip for mac_arm64. (flutter/engine#36467) 2022-09-28 16:02:22 +00:00
skia-flutter-autoroll
4d773b8bd6 Roll Skia from 7556aafc3326 to 2d45cb9b66f1 (1 revision) (flutter/engine#36474) 2022-09-28 14:29:30 +00:00