Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit b0ac11e

Browse files
committed
Merge branch 'main' into woff2
2 parents 69b6dab + ad9e4fe commit b0ac11e

File tree

175 files changed

+2141
-1592
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+2141
-1592
lines changed

DEPS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ vars = {
1414
'flutter_git': 'https://flutter.googlesource.com',
1515
'skia_git': 'https://skia.googlesource.com',
1616
'llvm_git': 'https://llvm.googlesource.com',
17-
'skia_revision': '69d9d593a0954a1225423dd4902485cd6625e408',
17+
'skia_revision': '3a081993e2a740118839621e0b0fd206e045987e',
1818

1919
# WARNING: DO NOT EDIT canvaskit_cipd_instance MANUALLY
2020
# See `lib/web_ui/README.md` for how to roll CanvasKit to a new version.
@@ -56,7 +56,7 @@ vars = {
5656
# Dart is: https://github.com/dart-lang/sdk/blob/main/DEPS
5757
# You can use //tools/dart/create_updated_flutter_deps.py to produce
5858
# updated revision list of existing dependencies.
59-
'dart_revision': '148b7c530657586019d8fd21f8dd04d56ab337df',
59+
'dart_revision': '993d3069f42e98b2b29e441bc98424065cc255ca',
6060

6161
# WARNING: DO NOT EDIT MANUALLY
6262
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
@@ -960,7 +960,7 @@ deps = {
960960
'packages': [
961961
{
962962
'package': 'fuchsia/sdk/core/linux-amd64',
963-
'version': 'OTfEfbaoT9c0HcprIUsjqYMW5Loqkbups24sOQ8JM0MC'
963+
'version': '9F_NaKPd2twhbPwP7A4a6UlWT-_f9PVyLrS8ZFo-3UkC'
964964
}
965965
],
966966
'condition': 'download_fuchsia_deps and not download_fuchsia_sdk',

analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ linter:
5050
- avoid_init_to_null
5151
- avoid_js_rounded_ints
5252
# - avoid_multiple_declarations_per_line # seems to be a stylistic choice we don't subscribe to
53+
- avoid_null_checks_in_equality_operators
5354
# - avoid_positional_boolean_parameters # would have been nice to enable this but by now there's too many places that break it
5455
- avoid_print
5556
# - avoid_private_typedef_functions # we prefer having typedef (discussion in https://github.com/flutter/flutter/pull/16356)

ci/licenses_golden/excluded_files

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,6 +1495,7 @@
14951495
../../../flutter/third_party/dart/runtime/vm/compiler/backend/locations_helpers_test.cc
14961496
../../../flutter/third_party/dart/runtime/vm/compiler/backend/loops_test.cc
14971497
../../../flutter/third_party/dart/runtime/vm/compiler/backend/memory_copy_test.cc
1498+
../../../flutter/third_party/dart/runtime/vm/compiler/backend/pragma_unsafe_no_bounds_check_test.cc
14981499
../../../flutter/third_party/dart/runtime/vm/compiler/backend/range_analysis_test.cc
14991500
../../../flutter/third_party/dart/runtime/vm/compiler/backend/reachability_fence_test.cc
15001501
../../../flutter/third_party/dart/runtime/vm/compiler/backend/redundancy_elimination_test.cc

ci/licenses_golden/licenses_dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Signature: 991c0e3446a2339187c83faec7e40d21
1+
Signature: 29033265e95e2a79cca60a10ae90b328
22

33
====================================================================================================
44
LIBRARY: dart
@@ -4803,7 +4803,7 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice
48034803
This Source Code Form is "Incompatible With Secondary Licenses", as
48044804
defined by the Mozilla Public License, v. 2.0.
48054805

4806-
You may obtain a copy of this library's Source Code Form from: https://dart.googlesource.com/sdk/+/7fce3544047c41018b8c00b4453c0262f463dd74
4806+
You may obtain a copy of this library's Source Code Form from: https://dart.googlesource.com/sdk/+/993d3069f42e98b2b29e441bc98424065cc255ca
48074807
/third_party/fallback_root_certificates/
48084808

48094809
====================================================================================================

ci/licenses_golden/licenses_flutter

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44791,8 +44791,6 @@ ORIGIN: ../../../flutter/shell/platform/linux/fl_key_embedder_responder_private.
4479144791
ORIGIN: ../../../flutter/shell/platform/linux/fl_key_embedder_responder_test.cc + ../../../flutter/LICENSE
4479244792
ORIGIN: ../../../flutter/shell/platform/linux/fl_key_event.cc + ../../../flutter/LICENSE
4479344793
ORIGIN: ../../../flutter/shell/platform/linux/fl_key_event.h + ../../../flutter/LICENSE
44794-
ORIGIN: ../../../flutter/shell/platform/linux/fl_key_responder.cc + ../../../flutter/LICENSE
44795-
ORIGIN: ../../../flutter/shell/platform/linux/fl_key_responder.h + ../../../flutter/LICENSE
4479644794
ORIGIN: ../../../flutter/shell/platform/linux/fl_keyboard_handler.cc + ../../../flutter/LICENSE
4479744795
ORIGIN: ../../../flutter/shell/platform/linux/fl_keyboard_handler.h + ../../../flutter/LICENSE
4479844796
ORIGIN: ../../../flutter/shell/platform/linux/fl_keyboard_handler_test.cc + ../../../flutter/LICENSE
@@ -47694,8 +47692,6 @@ FILE: ../../../flutter/shell/platform/linux/fl_key_embedder_responder_private.h
4769447692
FILE: ../../../flutter/shell/platform/linux/fl_key_embedder_responder_test.cc
4769547693
FILE: ../../../flutter/shell/platform/linux/fl_key_event.cc
4769647694
FILE: ../../../flutter/shell/platform/linux/fl_key_event.h
47697-
FILE: ../../../flutter/shell/platform/linux/fl_key_responder.cc
47698-
FILE: ../../../flutter/shell/platform/linux/fl_key_responder.h
4769947695
FILE: ../../../flutter/shell/platform/linux/fl_keyboard_handler.cc
4770047696
FILE: ../../../flutter/shell/platform/linux/fl_keyboard_handler.h
4770147697
FILE: ../../../flutter/shell/platform/linux/fl_keyboard_handler_test.cc

ci/licenses_golden/licenses_fuchsia

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Signature: 24f927b02d0fce18209f0972eeceeedb
1+
Signature: e6795c8a2a5ff5824f7e5b3c503cf201
22

33
====================================================================================================
44
LIBRARY: fuchsia_sdk
@@ -14859,7 +14859,6 @@ ORIGIN: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/
1485914859
ORIGIN: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/exception.h + ../../../fuchsia/sdk/linux/LICENSE
1486014860
ORIGIN: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/functional.h + ../../../fuchsia/sdk/linux/LICENSE
1486114861
ORIGIN: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/span.h + ../../../fuchsia/sdk/linux/LICENSE
14862-
ORIGIN: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/tuple.h + ../../../fuchsia/sdk/linux/LICENSE
1486314862
ORIGIN: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/type_traits.h + ../../../fuchsia/sdk/linux/LICENSE
1486414863
ORIGIN: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/iterator.h + ../../../fuchsia/sdk/linux/LICENSE
1486514864
ORIGIN: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/span.h + ../../../fuchsia/sdk/linux/LICENSE
@@ -15042,7 +15041,6 @@ FILE: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/er
1504215041
FILE: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/exception.h
1504315042
FILE: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/functional.h
1504415043
FILE: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/span.h
15045-
FILE: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/tuple.h
1504615044
FILE: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/type_traits.h
1504715045
FILE: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/iterator.h
1504815046
FILE: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/span.h
@@ -15415,7 +15413,6 @@ ORIGIN: ../../../fuchsia/sdk/linux/pkg/mmio/include/lib/mmio/mmio-view.h + ../..
1541515413
ORIGIN: ../../../fuchsia/sdk/linux/pkg/scenic_cpp_testing/fake_flatland.cc + ../../../fuchsia/sdk/linux/LICENSE
1541615414
ORIGIN: ../../../fuchsia/sdk/linux/pkg/scenic_cpp_testing/fake_flatland_types.cc + ../../../fuchsia/sdk/linux/LICENSE
1541715415
ORIGIN: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/linkage.h + ../../../fuchsia/sdk/linux/LICENSE
15418-
ORIGIN: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/variant.h + ../../../fuchsia/sdk/linux/LICENSE
1541915416
ORIGIN: ../../../fuchsia/sdk/linux/pkg/sys/component/realm_builder_absolute.shard.cml + ../../../fuchsia/sdk/linux/LICENSE
1542015417
ORIGIN: ../../../fuchsia/sdk/linux/pkg/sys/component/realm_builder_base.shard.cml + ../../../fuchsia/sdk/linux/LICENSE
1542115418
ORIGIN: ../../../fuchsia/sdk/linux/pkg/sys_component_cpp_testing/internal/convert.cc + ../../../fuchsia/sdk/linux/LICENSE
@@ -15769,7 +15766,6 @@ FILE: ../../../fuchsia/sdk/linux/pkg/mmio/include/lib/mmio/mmio-view.h
1576915766
FILE: ../../../fuchsia/sdk/linux/pkg/scenic_cpp_testing/fake_flatland.cc
1577015767
FILE: ../../../fuchsia/sdk/linux/pkg/scenic_cpp_testing/fake_flatland_types.cc
1577115768
FILE: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/linkage.h
15772-
FILE: ../../../fuchsia/sdk/linux/pkg/stdcompat/include/lib/stdcompat/internal/variant.h
1577315769
FILE: ../../../fuchsia/sdk/linux/pkg/sys/component/realm_builder_absolute.shard.cml
1577415770
FILE: ../../../fuchsia/sdk/linux/pkg/sys/component/realm_builder_base.shard.cml
1577515771
FILE: ../../../fuchsia/sdk/linux/pkg/sys_component_cpp_testing/internal/convert.cc
@@ -16126,6 +16122,8 @@ ORIGIN: ../../../fuchsia/sdk/linux/obj/x64-api-22/sysroot/include/zircon/availab
1612616122
ORIGIN: ../../../fuchsia/sdk/linux/obj/x64-api-23/sysroot/include/zircon/availability_levels.inc + ../../../fuchsia/sdk/linux/LICENSE
1612716123
ORIGIN: ../../../fuchsia/sdk/linux/obj/x64-api-24/sysroot/include/zircon/availability_levels.inc + ../../../fuchsia/sdk/linux/LICENSE
1612816124
ORIGIN: ../../../fuchsia/sdk/linux/obj/x64-api-NEXT/sysroot/include/zircon/availability_levels.inc + ../../../fuchsia/sdk/linux/LICENSE
16125+
ORIGIN: ../../../fuchsia/sdk/linux/pkg/driver_incoming_cpp/include/lib/driver/incoming/cpp/service_validator.h + ../../../fuchsia/sdk/linux/LICENSE
16126+
ORIGIN: ../../../fuchsia/sdk/linux/pkg/driver_incoming_cpp/service_validator.cc + ../../../fuchsia/sdk/linux/LICENSE
1612916127
ORIGIN: ../../../fuchsia/sdk/linux/pkg/driver_metadata_cpp/include/lib/driver/metadata/cpp/metadata.h + ../../../fuchsia/sdk/linux/LICENSE
1613016128
ORIGIN: ../../../fuchsia/sdk/linux/pkg/driver_metadata_cpp/include/lib/driver/metadata/cpp/metadata_server.h + ../../../fuchsia/sdk/linux/LICENSE
1613116129
ORIGIN: ../../../fuchsia/sdk/linux/pkg/driver_node_cpp/add_child.cc + ../../../fuchsia/sdk/linux/LICENSE
@@ -16209,6 +16207,8 @@ FILE: ../../../fuchsia/sdk/linux/obj/x64-api-22/sysroot/include/zircon/availabil
1620916207
FILE: ../../../fuchsia/sdk/linux/obj/x64-api-23/sysroot/include/zircon/availability_levels.inc
1621016208
FILE: ../../../fuchsia/sdk/linux/obj/x64-api-24/sysroot/include/zircon/availability_levels.inc
1621116209
FILE: ../../../fuchsia/sdk/linux/obj/x64-api-NEXT/sysroot/include/zircon/availability_levels.inc
16210+
FILE: ../../../fuchsia/sdk/linux/pkg/driver_incoming_cpp/include/lib/driver/incoming/cpp/service_validator.h
16211+
FILE: ../../../fuchsia/sdk/linux/pkg/driver_incoming_cpp/service_validator.cc
1621216212
FILE: ../../../fuchsia/sdk/linux/pkg/driver_metadata_cpp/include/lib/driver/metadata/cpp/metadata.h
1621316213
FILE: ../../../fuchsia/sdk/linux/pkg/driver_metadata_cpp/include/lib/driver/metadata/cpp/metadata_server.h
1621416214
FILE: ../../../fuchsia/sdk/linux/pkg/driver_node_cpp/add_child.cc

ci/licenses_golden/licenses_skia

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Signature: b9b6f2c2020b1a65d3a8b0a21f32c09d
1+
Signature: 83c4ecafc6e635226445e328864ab843
22

33
====================================================================================================
44
LIBRARY: etc1

display_list/benchmarking/dl_complexity_gl.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ unsigned int DisplayListGLComplexityCalculator::GLHelper::BatchedComplexity() {
5151
void DisplayListGLComplexityCalculator::GLHelper::saveLayer(
5252
const DlRect& bounds,
5353
const SaveLayerOptions options,
54-
const DlImageFilter* backdrop) {
54+
const DlImageFilter* backdrop,
55+
std::optional<int64_t> backdrop_id) {
5556
if (IsComplex()) {
5657
return;
5758
}
@@ -627,7 +628,8 @@ void DisplayListGLComplexityCalculator::GLHelper::drawDisplayList(
627628
GLHelper helper(Ceiling() - CurrentComplexityScore());
628629
if (opacity < SK_Scalar1 && !display_list->can_apply_group_opacity()) {
629630
auto bounds = display_list->GetBounds();
630-
helper.saveLayer(bounds, SaveLayerOptions::kWithAttributes, nullptr);
631+
helper.saveLayer(bounds, SaveLayerOptions::kWithAttributes, nullptr,
632+
/*backdrop_id=*/-1);
631633
}
632634
display_list->Dispatch(helper);
633635
AccumulateComplexity(helper.ComplexityScore());

display_list/benchmarking/dl_complexity_gl.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ class DisplayListGLComplexityCalculator
3737

3838
void saveLayer(const DlRect& bounds,
3939
const SaveLayerOptions options,
40-
const DlImageFilter* backdrop) override;
40+
const DlImageFilter* backdrop,
41+
std::optional<int64_t> backdrop_id) override;
4142

4243
void drawLine(const DlPoint& p0, const DlPoint& p1) override;
4344
void drawDashedLine(const DlPoint& p0,

display_list/benchmarking/dl_complexity_metal.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ DisplayListMetalComplexityCalculator::MetalHelper::BatchedComplexity() {
6565
void DisplayListMetalComplexityCalculator::MetalHelper::saveLayer(
6666
const DlRect& bounds,
6767
const SaveLayerOptions options,
68-
const DlImageFilter* backdrop) {
68+
const DlImageFilter* backdrop,
69+
std::optional<int64_t> backdrop_id) {
6970
if (IsComplex()) {
7071
return;
7172
}
@@ -571,7 +572,8 @@ void DisplayListMetalComplexityCalculator::MetalHelper::drawDisplayList(
571572
MetalHelper helper(Ceiling() - CurrentComplexityScore());
572573
if (opacity < SK_Scalar1 && !display_list->can_apply_group_opacity()) {
573574
auto bounds = display_list->GetBounds();
574-
helper.saveLayer(bounds, SaveLayerOptions::kWithAttributes, nullptr);
575+
helper.saveLayer(bounds, SaveLayerOptions::kWithAttributes, nullptr,
576+
/*backdrop_id=*/-1);
575577
}
576578
display_list->Dispatch(helper);
577579
AccumulateComplexity(helper.ComplexityScore());

0 commit comments

Comments
 (0)