20776 Commits

Author SHA1 Message Date
yaakovschectman
7ed656d596 Merge MSAA alert functionality with UIA (flutter/engine#38745)
* Use AXFragmentRootWin for MSAA functionality.

Some unused code remains to be removed.

Merge MSAA to AXFragmentRootWin

* Removing unused code

* Remove unused files

* Flip macro

* Formatting

* Licenses

* Make reference

* Disable copy constructor/assignment

* Unused import

* Formatting

* Relocate alert logic

* Remove comment and unused mock

* Fix unit test

* Idempotency

* Formatting

* PR feedback

* Doc comments

* Undo string change for now

* Couple fragment root and alert node

* Formatting

* Add comments

* Pointer to reference

* Typo fix
2023-01-19 13:28:27 -05:00
Ben Konyi
1f603711c7 Remove references to Observatory (flutter/engine#38919)
Observatory is being deprecated for Dart 3.0 so it should no longer be referenced in tooling messaging / flags.

See https://github.com/dart-lang/sdk/issues/50233
2023-01-19 09:20:46 -05:00
Jackson Gardner
aa6b732da3 Bump chrome_and_driver version to 110. (flutter/engine#38986) 2023-01-18 15:07:57 -08:00
Chris Yang
1284ee8f45 [ios_platform_view] more precision when determine if a clip rrect is necessary (flutter/engine#38965)
* draft

fix

rename

unittest

* update scenario

* test
2023-01-18 22:19:13 +00:00
Jackson Gardner
b9047c2756 Get unit tests working with dart2wasm (flutter/engine#38784) 2023-01-18 12:28:31 -08:00
Kevin Lubick
0c0e36e37f Remove use of SkTAddOffset and sk_careful_memcpy (flutter/engine#38977) 2023-01-18 09:58:59 -08:00
Brandon DeRosier
f8854b3d6b [Impeller Scene] Add SceneNodeValue for synchronously fetching loaded ipscenes (flutter/engine#38913) 2023-01-18 03:40:04 -08:00
nbayati
cdd3e79854 Fix iOS safari keyboard issue when semantics is enabled (flutter/engine#38822)
* Update branch with changes in main - Fix iOS safari keyboard issue when semantics is enabled

* Update branch with main - small enhancements

* set offset to -9999px instead of -999

* Add editing state tests to ios

* replace editableElement with the null checked one
2023-01-17 20:25:42 -08:00
Jenn Magder
260d48be24 Update scenario screenshots to iOS 16 (flutter/engine#38962)
* Update scenario screenshots to iOS 16

* Rename
2023-01-18 04:16:30 +00:00
Brandon DeRosier
ae581a94ac [Impeller] Fix back-to-back clip restoration (flutter/engine#38964) 2023-01-18 02:55:22 +00:00
alanwutang11
08bfbfebc9 reland fix canvas drawLine bugs (flutter/engine#38949)
* fix canvas drawLine bugs

* removed unecessary params from pathToSvgElement

Co-authored-by: alanwutang11 <alpwu@google.com>
2023-01-17 17:39:40 -08:00
nbayati
a2add485a1 wrap focus() in a post update callback (flutter/engine#38958) 2023-01-17 16:54:47 -08:00
skia-flutter-autoroll
73202c1da2 Roll Skia from 8ea9b39f7213 to 69d8378097df (6 revisions) (flutter/engine#38953)
https://skia.googlesource.com/skia.git/+log/8ea9b39f7213..69d8378097df

2023-01-17 robertphillips@google.com [graphite] Add unit test for new Graphite-specific makeSubset API
2023-01-17 kjlubick@google.com Remove shim files for private Chrome GPU usage
2023-01-17 johnstiles@google.com Disable MatrixEquality test on old Intel GPUs + Win10.
2023-01-17 jlavrova@google.com Revert "Breaking down Copy ReorderVisuals (2)"
2023-01-17 johnstiles@google.com Migrate contexts used by SkRasterPipeline into a separate header.
2023-01-17 ccameron@chromium.org SkJpegCodec: Merge ICC profile parsing with other metadata

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 fmalita@google.com,kaushikiska@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

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/+doc/main/autoroll/README.md
2023-01-17 22:39:59 +00:00
skia-flutter-autoroll
8c2ed1aca9 Roll Skia from 6afb97022fa7 to 8ea9b39f7213 (18 revisions) (flutter/engine#38952)
https://skia.googlesource.com/skia.git/+log/6afb97022fa7..8ea9b39f7213

2023-01-17 jlavrova@google.com Breaking down Copy ReorderVisuals (3)
2023-01-17 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 994627019bcb to 685cc71cd840 (4 revisions)
2023-01-17 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from cbb7b35d4764 to 9f0f02bea4b2
2023-01-17 kjlubick@google.com Improve CQ coverage of Bazel builds
2023-01-17 johnstiles@google.com Improve matrix equality tests.
2023-01-17 jlavrova@google.com Breaking down Copy ReorderVisuals (2)
2023-01-17 johnstiles@google.com Add .skrp support to compile_sksl_tests.
2023-01-17 robertphillips@google.com Fix build
2023-01-17 herb@google.com Remove SkAutoTArray
2023-01-17 cmumford@google.com clang_mac: Use MacSDK from toolchain dir
2023-01-17 robertphillips@google.com [graphite] Add Raster & Graphite implementations of new makeSubset API
2023-01-17 robertphillips@google.com Fix preAbandonGpuContext error
2023-01-17 herb@google.com Rename SkAutoSTMalloc -> AutoSTMalloc move to skia_private
2023-01-17 kjlubick@google.com Move vulkan_android.h to be a textual header
2023-01-17 fmalita@chromium.org [skottie slide] Don't assume we have a text editor
2023-01-17 kjlubick@google.com Remove unused SkSafe_math.h
2023-01-17 robertphillips@google.com [graphite] Update some GMs to use Graphite's makeSubset call
2023-01-17 jlavrova@google.com Breaking down Copy ReorderVisuals (1)

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 fmalita@google.com,kaushikiska@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

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/+doc/main/autoroll/README.md
2023-01-17 20:53:39 +00:00
Mouad Debbar
3b8d9a5429 [web] Reduce code size impact of fallback font data (flutter/engine#38787)
* [web] Reduce code size impact of fallback font data

* fix rangeEnd vs rangeLength mistake
2023-01-17 19:59:14 +00:00
htoor3
032f8d9c19 Revert "Revert "[web] Don't overwrite editing state with semantic updates (#38271)" (#38562)" (flutter/engine#38854)
This reverts commit d412d64cef1d7df348364b64179cc6b8f108f80c.
2023-01-17 17:32:07 +00:00
Brandon DeRosier
f75b94c5ad [Impeller] Map UVs correctly for TiledTextureContents (flutter/engine#38894) 2023-01-16 03:27:16 -08:00
dependabot[bot]
6576060a0e Bump github/codeql-action from 2.1.37 to 2.1.38 (flutter/engine#38910)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.37 to 2.1.38.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](959cbb7472...515828d974)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 08:58:41 +00:00
dependabot[bot]
3aa5e639ec Bump actions/setup-python from 4.4.0 to 4.5.0 (flutter/engine#38909)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](5ccb29d877...d27e3f3d7c)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 08:57:48 +00:00
skia-flutter-autoroll
c5d92f778a Roll Skia from c727016cc09e to 214411b09e92 (2 revisions) (flutter/engine#38907)
https://skia.googlesource.com/skia.git/+log/c727016cc09e..214411b09e92

2023-01-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 5f9ed9b16931 to aae98adc2222 (1 revision)
2023-01-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from d64262f66034 to dc43f9a8e874 (7 revisions)

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 aaclarke@google.com,fmalita@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

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/+doc/main/autoroll/README.md
2023-01-16 07:29:23 +00:00
skia-flutter-autoroll
861e1edc12 Roll Skia from c64a10d525d1 to aa99fa0bdd31 (10 revisions) (flutter/engine#38886)
https://skia.googlesource.com/skia.git/+log/c64a10d525d1..aa99fa0bdd31

2023-01-14 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from a56166d59ebd to d52b983a8d10 (5 revisions)
2023-01-14 rmistry@google.com Add dependabot to AUTHORS file
2023-01-14 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 1c46fa8d185d to 3e3b1fec290d
2023-01-14 herb@google.com Change SkAutoTMalloc -> AutoTMalloc and move to skia_private
2023-01-14 johnstiles@google.com Fix IWYU errors on tree.
2023-01-14 lovisolo@google.com [infra] Update Skolo Windows machines to 2022H2.
2023-01-14 johnstiles@google.com Add RP codegen support to skslc.
2023-01-14 johnstiles@google.com Fix RP::Program to work properly when SKSL_STANDALONE is set.
2023-01-13 johnstiles@google.com Migrate SkRasterPipelineOp enum into a separate header.
2023-01-13 johnstiles@google.com Migrate SkRasterPipeline ops into an enum class.

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 aaclarke@google.com,herb@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

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/+doc/main/autoroll/README.md
2023-01-15 04:51:21 +00:00
skia-flutter-autoroll
71f3574d12 Roll Skia from c72c7bf7e45b to c64a10d525d1 (7 revisions) (flutter/engine#38858)
https://skia.googlesource.com/skia.git/+log/c72c7bf7e45b..c64a10d525d1

2023-01-13 robertphillips@google.com [graphite] Add stubs for new Graphite-specific SkImage::makeSubset API
2023-01-13 kjlubick@google.com [base] Move many files into base
2023-01-13 kjlubick@google.com Make vk_android.h visible for SkVulkan.h
2023-01-13 johnstiles@google.com Rename 'transpose' RP stage to 'shuffle'.
2023-01-13 johnstiles@google.com Eliminate unnecessary portions of a swizzle.
2023-01-13 johnstiles@google.com Add support for matrix-resize in RP builder/codegen.
2023-01-13 kjlubick@google.com [bazel] Do not build GrVkSecondaryCBDrawContext by default

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 aaclarke@google.com,herb@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

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/+doc/main/autoroll/README.md
2023-01-14 23:13:16 +00:00
Brandon DeRosier
875b80a8df Add include to make g3 happy (flutter/engine#38850) 2023-01-14 14:06:32 -08:00
Jonah Williams
8913a47612 [web] cache sample and stencil params (flutter/engine#38829)
* [web] cache sample and stencil params

* test and style

* Update canvaskit_api_test.dart

* Update canvaskit_api_test.dart
2023-01-13 18:32:07 +00:00
Jonah Williams
cc5ae28c49 [web] remove runtime effect check (flutter/engine#38832) 2023-01-13 18:32:04 +00:00
skia-flutter-autoroll
cc48f4d07e Roll Skia from cc983d28f3bf to fd54be29a3cc (3 revisions) (flutter/engine#38833)
https://skia.googlesource.com/skia.git/+log/cc983d28f3bf..fd54be29a3cc

2023-01-13 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 77e7d61086a2 to d64262f66034 (6 revisions)
2023-01-13 armansito@google.com Fix assertion in SkTHashMap::find()
2023-01-13 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 1f9e50edd4d4 to b8072df2aace (9 revisions)

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 aaclarke@google.com,herb@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

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/+doc/main/autoroll/README.md
2023-01-13 07:26:21 +00:00
skia-flutter-autoroll
a071788a62 Roll Skia from dfb838747295 to cc983d28f3bf (27 revisions) (flutter/engine#38830)
https://skia.googlesource.com/skia.git/+log/dfb838747295..cc983d28f3bf

2023-01-13 johnstiles@google.com Use transpose op to generate diagonal matrices.
2023-01-12 kjlubick@google.com Roll CanvasKit to 0.38.0
2023-01-12 jonahwilliams@google.com Allow clients to cache sample count and stencil params
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 0a9529c8cd2d to 4053bc460f32 (6 revisions)
2023-01-12 herb@google.com Fix stack alignment for SkAutoSTArray
2023-01-12 kjlubick@google.com Remove SkBudgeted in favor of skgpu::Budgeted
2023-01-12 johnstiles@google.com Implement comma operator in RP codegen.
2023-01-12 johnstiles@google.com Allow cloning from another stack with an offset-from-top.
2023-01-12 fmalita@chromium.org [skottie] Initial text editing experiment
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 46e3e213b046 to 1f9e50edd4d4 (9 revisions)
2023-01-12 kjlubick@google.com [base] Fold GrConfig.h into SkTypes.h
2023-01-12 kjlubick@google.com Break out metal headers used by C++ and ObjC code
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 77e7d61086a2 to 65176286ea26
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 154fb3872c36 to 0a9529c8cd2d (9 revisions)
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from eab5947427ad to 410d8ba51f95 (17 revisions)
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 8bedae1a44a2 to 77e7d61086a2 (4 revisions)
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 410b5acc7f3f to 46e3e213b046 (14 revisions)
2023-01-12 kyslov@google.com jpegr codec: get image origin from EXIF metadata
2023-01-12 ccameron@chromium.org Enable Jpeg gainmaps on Android
2023-01-11 johnstiles@google.com Add transpose support to RP codegen.
2023-01-11 johnstiles@google.com Add transpose support to the RP builder.
2023-01-11 jvanverth@google.com Some fixes to address null color attachment crash.
2023-01-11 johnstiles@google.com Create a RP transpose op, based on swizzle.
2023-01-11 kjlubick@google.com Remove two shim files
2023-01-11 kjlubick@google.com [canvaskit] Fix return value of Paragraph ranges
2023-01-11 kjlubick@google.com Disable JpegGainmapTest on WASM build
2023-01-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 93e4d1cd4725 to 154fb3872c36 (2 revisions)

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 aaclarke@google.com,herb@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

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/+doc/main/autoroll/README.md
2023-01-13 05:25:56 +00:00
skia-flutter-autoroll
32ed4b3d69 Roll Skia from dfb838747295 to 9e51c2c9e231 (26 revisions) (flutter/engine#38827)
* Roll Skia from dfb838747295 to 9e51c2c9e231 (26 revisions)

https://skia.googlesource.com/skia.git/+log/dfb838747295..9e51c2c9e231

2023-01-12 kjlubick@google.com Roll CanvasKit to 0.38.0
2023-01-12 jonahwilliams@google.com Allow clients to cache sample count and stencil params
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 0a9529c8cd2d to 4053bc460f32 (6 revisions)
2023-01-12 herb@google.com Fix stack alignment for SkAutoSTArray
2023-01-12 kjlubick@google.com Remove SkBudgeted in favor of skgpu::Budgeted
2023-01-12 johnstiles@google.com Implement comma operator in RP codegen.
2023-01-12 johnstiles@google.com Allow cloning from another stack with an offset-from-top.
2023-01-12 fmalita@chromium.org [skottie] Initial text editing experiment
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 46e3e213b046 to 1f9e50edd4d4 (9 revisions)
2023-01-12 kjlubick@google.com [base] Fold GrConfig.h into SkTypes.h
2023-01-12 kjlubick@google.com Break out metal headers used by C++ and ObjC code
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 77e7d61086a2 to 65176286ea26
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 154fb3872c36 to 0a9529c8cd2d (9 revisions)
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from eab5947427ad to 410d8ba51f95 (17 revisions)
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 8bedae1a44a2 to 77e7d61086a2 (4 revisions)
2023-01-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 410b5acc7f3f to 46e3e213b046 (14 revisions)
2023-01-12 kyslov@google.com jpegr codec: get image origin from EXIF metadata
2023-01-12 ccameron@chromium.org Enable Jpeg gainmaps on Android
2023-01-11 johnstiles@google.com Add transpose support to RP codegen.
2023-01-11 johnstiles@google.com Add transpose support to the RP builder.
2023-01-11 jvanverth@google.com Some fixes to address null color attachment crash.
2023-01-11 johnstiles@google.com Create a RP transpose op, based on swizzle.
2023-01-11 kjlubick@google.com Remove two shim files
2023-01-11 kjlubick@google.com [canvaskit] Fix return value of Paragraph ranges
2023-01-11 kjlubick@google.com Disable JpegGainmapTest on WASM build
2023-01-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 93e4d1cd4725 to 154fb3872c36 (2 revisions)

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 aaclarke@google.com,herb@google.com,jacksongardner@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

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/+doc/main/autoroll/README.md

* Adjust to changes to CanvasKit getRectsForRange API.

* remove unused commit

* Roll CIPD CanvasKit and fix some unit tests.

* Adjustments to direction API and unit tests.

Co-authored-by: Jackson Gardner <jacksongardner@google.com>
Co-authored-by: jonahwilliams <jonahwilliams@google.com>
2023-01-12 19:33:45 -08:00
Chris Bracken
42fd13c246 [windows] Eliminate unnecessary iostream imports (flutter/engine#38824)
In 491db72 I replaced use of direct writes to cerr and replaced them
with FML_LOG calls but may have missed removing some iostream #includes,
or they may have been missed in previous cleanups. This removes any
remaining #includes of iostream that are unused.
2023-01-12 18:05:20 -08:00
Chris Bracken
bcfa08f532 [windows] Use FML_DCHECK in place of C assert (flutter/engine#38826)
Now that the embedders depend on FML, migrate assertions to FML_DCHECK,
which allows for an explanatory log message to be emitted along with the
assertion.

No tests since no semantic changes are made.
2023-01-12 18:03:19 -08:00
luckysmg
598fb62a0b Correct FrameTimingRecorder's raster start time. (flutter/engine#38674)
* ++

* ++

* Add tests

* Add missing trace

* ++

* ++

* ++
2023-01-13 01:38:17 +00:00
Matej Knopp
86c5ce8349 [macOS] Do not block raster thread when shutting down (flutter/engine#38777) 2023-01-12 22:28:06 +01:00
gaaclarke
2bff9b8d85 fixed glfw example for arm64 (flutter/engine#38426)
* fixed glfw example for arm64

* jenn feedback
2023-01-12 21:05:56 +00:00
Harry Terkelsen
533519ff6e Add wasm_release build to linux_host_engine.json (flutter/engine#38755) 2023-01-12 11:29:34 -08:00
alanwutang11
40be6de69f Revert "fix canvas drawLine bugs (#38753)" (flutter/engine#38815)
This reverts commit a6ff965c62afafa29183c8dfe0c9ef7d30579475.
2023-01-12 11:02:36 -08:00
skia-flutter-autoroll
36b155b421 Roll Dart SDK from d7235947ff9b to edd406c07399 (2 revisions) (flutter/engine#38814)
https://dart.googlesource.com/sdk.git/+log/d7235947ff9b..edd406c07399

2023-01-12 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.0.0-118.0.dev
2023-01-12 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.0.0-117.0.dev

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 aaclarke@google.com,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter Engine: https://github.com/flutter/flutter/issues/new/choose

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/+doc/main/autoroll/README.md
2023-01-12 18:55:29 +00:00
Brandon DeRosier
c416b6e19e [Impeller Scene] Change how property resolution works to fix Animation blending; add mutation log to nodes; enable backface culling; add vertex color contribution back to meshes (flutter/engine#38766)
* [Impeller Scene] Add mutation log to nodes

* Apply the bind pose matrix when the skin is initialized

* Refactor property resolver to modify decomposed properties

* Make the property resolvers additive again to support complex blending

* Normalize clip weights

* Fix UI-side animation bugs and add looping config

* Backface culling

* Make dart analyzer happy

* Incorporate vertex colors for imported meshes again

* Address comments
2023-01-12 04:04:05 +00:00
alanwutang11
a6ff965c62 fix canvas drawLine bugs (flutter/engine#38753) 2023-01-11 18:20:48 -08:00
Pierrick Bouvier
3811a350df Add CI builder for windows-arm64. (#38394) (flutter/engine#38739)
* Generate zip archives for Windows following target platform.

* Add CI builder for windows-arm64.

All packages can be cross compiled from an x64 machine.
Unittests are disabled, as they require an arm64 machine.

* Add windows-arm64 to CI.
2023-01-11 23:01:08 +00:00
joshualitt
357662a383 [web] Update felt to use generated JS runtime for Dart2Wasm. (flutter/engine#38786) 2023-01-11 14:57:22 -08:00
skia-flutter-autoroll
49f280eaf4 Roll Skia from e1f3980272f3 to dfb838747295 (48 revisions) (flutter/engine#38790)
https://skia.googlesource.com/skia.git/+log/e1f3980272f3..dfb838747295

2023-01-11 kjlubick@google.com Move two chromium-specific headers into i/p/chromium
2023-01-11 robertphillips@google.com [graphite] Make onMakeTextureImage create mipmap levels when needed
2023-01-11 ccameron@chromium.org Remove JpegGainmap from bazel build
2023-01-11 johnstiles@google.com Fix implementation of max(U32,U32) on SSE4.1/AVX.
2023-01-11 jvanverth@google.com [graphite] Trim whitespace and comments from text shaders
2023-01-11 johnstiles@google.com Fix SwizzleAsLValue test in RP.
2023-01-11 johnstiles@google.com Peephole-optimize away repeated branch calls.
2023-01-11 johnstiles@google.com Add for-loop support to RP codegen.
2023-01-11 kjlubick@google.com Reland "Remove staging flag SK_LEGACY_PATH_ARCTO_ENDPOINT"
2023-01-11 ccameron@chromium.org SkJpegCodec: Detect multi-picture format gainmaps
2023-01-11 kjlubick@google.com Break apart more gni file lists
2023-01-11 herb@google.com Make the logic for prepareFor(Mask|SDFT)Drawing the same
2023-01-11 kjlubick@google.com Fix file permissions on source file
2023-01-11 johnstiles@google.com Add support for intrinsic cross() in RP codegen.
2023-01-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 8bedae1a44a2 to c36104f3c23a
2023-01-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from c4a4ae610317 to 93e4d1cd4725 (7 revisions)
2023-01-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 493f3f310a2b to eab5947427ad (9 revisions)
2023-01-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from bc43ccfd822f to 8bedae1a44a2 (4 revisions)
2023-01-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 477744b7b52c to 410b5acc7f3f (16 revisions)
2023-01-10 kjlubick@google.com Add gni file list for Skia codecs used by Chromium
2023-01-10 johnstiles@google.com Add partial RP codegen support for constant indices.
2023-01-10 armansito@google.com [graphite] Introduce ClearBuffersTask
2023-01-10 armansito@google.com [graphite] Use explicit curve type attribute when IEEE infinity is not supported
2023-01-10 johnstiles@google.com Disable all() intrinsic test on some Radeons.
2023-01-10 jmbetancourt@google.com create global symlink to Mac SDK during bazel toochain config
2023-01-10 kjlubick@google.com Break apart public and private gpu files in GN lists
2023-01-10 johnstiles@google.com Add RP builder support for cloning between stacks.
2023-01-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from d110b2a1b9e3 to c4a4ae610317 (1 revision)
2023-01-10 kjlubick@google.com Update defines for libfuzzer builds
2023-01-10 nscobie@google.com Transitional integration of Perfetto tracing in Android Framework
2023-01-10 ccameron@chromium.org SkAndroidCodec: Add getGainmapInfo
2023-01-10 kjlubick@google.com [bazel] Break up shaper srcs
2023-01-10 johnstiles@google.com Add support for intrinsic any()/all() in RP codegen.
2023-01-10 ccameron@chromium.org SkJpegCodec: Add Multi-Picture Format (MPF) Support
2023-01-10 jvanverth@google.com [graphite] Track plot information and use it for conditional uploads
2023-01-10 armansito@google.com [graphite] Change RenderStep::vertexSkSL return type to std::string
2023-01-10 johnstiles@google.com Add support for intrinsic step() in RP codegen.
2023-01-10 robertphillips@google.com Revert "Clear special surfaces with red color on debug tests"
2023-01-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from bc43ccfd822f to d0dc447f5709
2023-01-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 9c1598af45f5 to 493f3f310a2b (8 revisions)
2023-01-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 10524e337d18 to bc43ccfd822f (4 revisions)
2023-01-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from a3544353e82d to 477744b7b52c (11 revisions)
2023-01-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 8c09d95e66d0 to d110b2a1b9e3 (12 revisions)
2023-01-09 johnstiles@google.com Add support for bit-casting in RP codegen.
2023-01-09 herb@google.com Add analysis canvas and glyph data serialization to VIA
2023-01-09 johnstiles@google.com Add support for matrixCompMult in RP codegen.
2023-01-09 ccameron@chromium.org Add JpegSegmentScan utility
2023-01-09 brianosman@google.com Move SkTHash.h to src/core

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 aaclarke@google.com,herb@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

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/+doc/main/autoroll/README.md
2023-01-11 21:58:32 +00:00
Rich Kadel
e43616416f [fuchsia] Replace deprecated AddLocalChild (flutter/engine#38788)
`AddLocalChild(LocalComponent*)` is deprecated.

It was replaced by:

`AddLocalChild(LocalComponentFactory)`, which is a type alias for a
lambda that returns a `std::unique_ptr<LocalComponentImpl>`.

This change addresses problems that arised due to object lifetime
management of the components, and allows RealmBuilder to model the
component lifecycle of local components in a way that's more consistent
with other components.

The RealmBuilder-built `Realm` now owns the lifetime of the local
components, instead of the client, and those objects are valid until
the `Realm` is destroyed.

Bug: fxbug.dev/109804
2023-01-11 16:54:22 -05:00
Jim Graham
eb615c6cc4 delete include of private GrMtlTypes header (flutter/engine#38783) 2023-01-11 19:57:47 +00:00
Kevin Lubick
60b92fe438 Cleanup Skia includes in image_generator/descriptor (flutter/engine#38775)
* Cleanup skia includes in image_generator/descriptor

* format
2023-01-11 10:54:27 -08:00
gaaclarke
85eaa970e2 removed forbidden skia include (flutter/engine#38761)
* removed forbidden skia include

* jason feedback
2023-01-10 20:33:31 -08:00
gaaclarke
dce6ac238b Roll Skia from b8c0a78a2378 to e1f3980272f3 (24 revisions) (flutter/engine#38758)
https://skia.googlesource.com/skia.git/+log/b8c0a78a2378..e1f3980272f3

2023-01-09 johnstiles@google.com Add support for diagonal matrix contructors in RP codegen.
2023-01-09 jcgregorio@google.com Reboot Android devices after running a task.
2023-01-09 johnstiles@google.com Coalesce adjacent push_zeros ops.
2023-01-09 jvanverth@google.com [graphite] More steps to Recording replay for text.
2023-01-09 robertphillips@google.com Clean up compilation settings
2023-01-09 kjlubick@google.com Clear special surfaces with red color on debug tests
2023-01-09 robertphillips@google.com [graphite] Centralize Graphite onMakeTextureImage stubs in SkImage_GpuBase
2023-01-09 kjlubick@google.com Add tests for solving cubic roots with double precision.
2023-01-09 robertphillips@google.com [graphite] Add onReinterpretColorSpace implementation
2023-01-09 kjlubick@google.com Move SkStringView from include/private/base into src/base
2023-01-09 kyslov@google.com jpegr codec: implement opt-in sdr/hdr decoding
2023-01-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 10524e337d18 to 802522fda586
2023-01-09 skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com Update SKP version
2023-01-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from e7c0454c0991 to 8c09d95e66d0 (1 revision)
2023-01-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 3c706ee3c271 to 10524e337d18 (10 revisions)
2023-01-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 1d2b20f53532 to 9c1598af45f5 (8 revisions)
2023-01-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 582ce0b0b4c8 to a3544353e82d (20 revisions)
2023-01-08 49699333+dependabot[bot]@users.noreply.github.com Bump json5 from 1.0.1 to 1.0.2 in /experimental/tskit
2023-01-07 49699333+dependabot[bot]@users.noreply.github.com Bump json5 from 2.1.3 to 2.2.3 in /modules/pathkit
2023-01-07 49699333+dependabot[bot]@users.noreply.github.com Bump json5 from 2.1.3 to 2.2.3 in /modules/canvaskit
2023-01-07 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 68f9998c8591 to e7c0454c0991 (2 revisions)
2023-01-06 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from d3d26aeb92d2 to 68f9998c8591 (4 revisions)
2023-01-06 johnstiles@google.com Implement x++ and x-- in RP codegen.
2023-01-06 johnstiles@google.com Disable fract() intrinsic test on Tegra3.

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 herb@google.com,jimgraham@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

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/+doc/main/autoroll/README.md

Co-authored-by: skia-flutter-autoroll <skia-flutter-autoroll@skia.org>
2023-01-10 16:39:27 -08:00
Ian Hickson
b454e06ec4 Add SpringAnimation.js from React Native (flutter/engine#38750)
* added react native lib

* update license

Co-authored-by: Jake Schafer <pickle.plaza@gmail.com>
2023-01-11 00:36:23 +00:00
Jonah Williams
22c9eb2cf3 [web] retain GL/Gr context on window resize (flutter/engine#38576)
* [web] dont dispose of context on window resize

* ++

* ++

* ++

* ++

* ++

* ++

* always re-create surface

* ++

* ++
2023-01-11 00:04:23 +00:00
Harry Terkelsen
21547b9edb Move canvaskit artifacts to expected location in Web SDK Archive (flutter/engine#38168) 2023-01-10 12:52:45 -08:00
Sam Rawlins
f23ad86dc1 Make operator == parameter non-nullable (flutter/engine#38663) 2023-01-10 12:43:32 -08:00