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

Commit 36f988b

Browse files
Merge branch 'main' into skwasm_image
2 parents fb6c2a6 + fe24767 commit 36f988b

123 files changed

Lines changed: 1893 additions & 807 deletions

File tree

Some content is hidden

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

.ci.yaml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,17 +262,23 @@ targets:
262262
properties:
263263
release_build: "true"
264264
config_name: linux_fuchsia
265+
drone_dimensions:
266+
- os=Linux
265267

266268
- name: Linux linux_arm_host_engine
267269
recipe: engine_v2/engine_v2
268270
timeout: 60
269271
properties:
270272
release_build: "true"
271273
config_name: linux_arm_host_engine
274+
drone_dimensions:
275+
- os=Linux
272276

273277
- name: Linux linux_host_engine
274278
recipe: engine_v2/engine_v2
275279
timeout: 60
280+
dimensions:
281+
os: "Linux"
276282
properties:
277283
release_build: "true"
278284
config_name: linux_host_engine
@@ -283,26 +289,31 @@ targets:
283289
properties:
284290
release_build: "true"
285291
config_name: linux_host_desktop_engine
292+
drone_dimensions:
293+
- os=Linux
286294

287295
- name: Linux linux_android_aot_engine
288296
recipe: engine_v2/engine_v2
289297
timeout: 60
290298
properties:
291299
release_build: "true"
292300
config_name: linux_android_aot_engine
301+
drone_dimensions:
302+
- os=Linux
293303

294304
- name: Linux linux_android_debug_engine
295305
recipe: engine_v2/engine_v2
296306
timeout: 60
297307
properties:
298308
release_build: "true"
299309
config_name: linux_android_debug_engine
310+
drone_dimensions:
311+
- os=Linux
300312

301313
- name: Linux linux_license
302314
recipe: engine_v2/builder
303315
timeout: 60
304316
properties:
305-
release_build: "true"
306317
config_name: linux_license
307318
clobber: "true"
308319

@@ -312,12 +323,13 @@ targets:
312323
properties:
313324
release_build: "true"
314325
config_name: linux_web_engine
326+
drone_dimensions:
327+
- os=Linux
315328

316329
- name: Linux linux_unopt
317330
recipe: engine_v2/engine_v2
318331
timeout: 60
319332
properties:
320-
release_build: "true"
321333
config_name: linux_unopt
322334

323335
- name: Linux Web Framework tests
@@ -375,7 +387,10 @@ targets:
375387
recipe: engine_v2/engine_v2
376388
timeout: 60
377389
properties:
390+
release_build: "true"
378391
config_name: mac_android_aot_engine
392+
drone_dimensions:
393+
- os=Linux
379394

380395
- name: Mac mac_clang_tidy
381396
recipe: engine_v2/engine_v2
@@ -409,6 +424,8 @@ targets:
409424
]
410425
$flutter/osx_sdk : >-
411426
{ "sdk_version": "14e222b" }
427+
drone_dimensions:
428+
- os=Mac-12
412429

413430
- name: Linux mac_unopt
414431
recipe: engine_v2/engine_v2
@@ -494,13 +511,14 @@ targets:
494511
[
495512
{"dependency": "jazzy", "version": "0.14.1"}
496513
]
514+
drone_dimensions:
515+
- os=Mac-12
497516

498517
- name: Mac impeller-cmake-example
499518
bringup: true
500519
recipe: engine_v2/engine_v2
501520
timeout: 60
502521
properties:
503-
release_build: "true"
504522
cpu: arm64
505523
config_name: mac_impeller_cmake_example
506524

@@ -529,13 +547,17 @@ targets:
529547
properties:
530548
release_build: "true"
531549
config_name: windows_android_aot_engine
550+
drone_dimensions:
551+
- os=Windows
532552

533553
- name: Windows windows_host_engine
534554
recipe: engine_v2/engine_v2
535555
timeout: 60
536556
properties:
537557
release_build: "true"
538558
config_name: windows_host_engine
559+
drone_dimensions:
560+
- os=Windows
539561

540562
- name: Windows windows_arm_host_engine
541563
recipe: engine_v2/engine_v2
@@ -546,6 +568,8 @@ targets:
546568
properties:
547569
release_build: "true"
548570
config_name: windows_arm_host_engine
571+
drone_dimensions:
572+
- os=Windows
549573

550574
- name: Windows windows_unopt
551575
recipe: engine_v2/builder

.github/workflows/mirror.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- name: Mirror action step
2323
id: mirror
24-
uses: google/mirror-branch-action@c6b07e441a7ffc5ae15860c1d0a8107a3a151db8
24+
uses: google/mirror-branch-action@30c52ee21f5d3bd7fb28b95501c11aae7f17eebb
2525
with:
2626
github-token: ${{ secrets.FLUTTERMIRRORINGBOT_TOKEN }}
2727
source: 'main'

DEPS

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ vars = {
1818
'llvm_git': 'https://llvm.googlesource.com',
1919
# OCMock is for testing only so there is no google clone
2020
'ocmock_git': 'https://github.com/erikdoe/ocmock.git',
21-
'skia_revision': '1c00432c2a85dd409145aef99b37ff834b985178',
21+
'skia_revision': '9b0e912a1cb9dfd34b8982336295f7eaa4d6563d',
2222

2323
# WARNING: DO NOT EDIT canvaskit_cipd_instance MANUALLY
2424
# See `lib/web_ui/README.md` for how to roll CanvasKit to a new version.
@@ -53,7 +53,7 @@ vars = {
5353
# Dart is: https://github.com/dart-lang/sdk/blob/main/DEPS
5454
# You can use //tools/dart/create_updated_flutter_deps.py to produce
5555
# updated revision list of existing dependencies.
56-
'dart_revision': '005648f027a3242ba2e14c0ee339f09fbad90c47',
56+
'dart_revision': 'd2b2ac8298424f04f547a72e8aabde27206cbe05',
5757

5858
# WARNING: DO NOT EDIT MANUALLY
5959
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
@@ -255,7 +255,7 @@ allowed_hosts = [
255255
]
256256

257257
deps = {
258-
'src': 'https://github.com/flutter/buildroot.git' + '@' + '05ec9f7124191c7ba354521f3ffd34b09af872e7',
258+
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'b1e6e81b568b633f05cb9ac4afb465013b774a80',
259259

260260
# Fuchsia compatibility
261261
#
@@ -881,7 +881,7 @@ deps = {
881881
'packages': [
882882
{
883883
'package': 'fuchsia/sdk/core/mac-amd64',
884-
'version': 'wxolyLvEWZ9IMOCU_UAzasjFznqX9nwjSnnmcvExiOIC'
884+
'version': 'N4LwCRxg0oIevhQ_OAtrHsdzFjvIzDp3XHf1VT-3N90C'
885885
}
886886
],
887887
'condition': 'host_os == "mac" and not download_fuchsia_sdk',
@@ -891,7 +891,7 @@ deps = {
891891
'packages': [
892892
{
893893
'package': 'fuchsia/sdk/core/linux-amd64',
894-
'version': 'mAQy_vMru3cTWSoBlVa97StetsvWvJfyzgMpmC0FZB8C'
894+
'version': 'D_EOM3rJ8AMk3-WexatyJMtC-gqcf7EEO6BThUEP6CQC'
895895
}
896896
],
897897
'condition': 'host_os == "linux" and not download_fuchsia_sdk',

ci/licenses_golden/licenses_fuchsia

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Signature: 2e46d52340de215bcd536586cc7c06df
1+
Signature: 8a685a547b0472dacff6aa912e273c85
22

33
====================================================================================================
44
LIBRARY: fuchsia_sdk

ci/licenses_golden/licenses_skia

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Signature: fc6dcf958ef333159814135f1e066c55
1+
Signature: bb6600b0cd62920a0e689a68c325634e
22

33
====================================================================================================
44
LIBRARY: etc1
@@ -8006,8 +8006,6 @@ ORIGIN: ../../../third_party/skia/src/sksl/SkSLPosition.h + ../../../third_party
80068006
ORIGIN: ../../../third_party/skia/src/sksl/SkSLProgramKind.h + ../../../third_party/skia/LICENSE
80078007
ORIGIN: ../../../third_party/skia/src/sksl/dsl/DSLFunction.cpp + ../../../third_party/skia/LICENSE
80088008
ORIGIN: ../../../third_party/skia/src/sksl/dsl/DSLFunction.h + ../../../third_party/skia/LICENSE
8009-
ORIGIN: ../../../third_party/skia/src/sksl/dsl/DSLLayout.cpp + ../../../third_party/skia/LICENSE
8010-
ORIGIN: ../../../third_party/skia/src/sksl/dsl/DSLLayout.h + ../../../third_party/skia/LICENSE
80118009
ORIGIN: ../../../third_party/skia/src/sksl/dsl/DSLStatement.cpp + ../../../third_party/skia/LICENSE
80128010
ORIGIN: ../../../third_party/skia/src/sksl/dsl/DSLStatement.h + ../../../third_party/skia/LICENSE
80138011
ORIGIN: ../../../third_party/skia/src/sksl/dsl/priv/DSL_priv.h + ../../../third_party/skia/LICENSE
@@ -8046,8 +8044,6 @@ FILE: ../../../third_party/skia/src/sksl/SkSLPosition.h
80468044
FILE: ../../../third_party/skia/src/sksl/SkSLProgramKind.h
80478045
FILE: ../../../third_party/skia/src/sksl/dsl/DSLFunction.cpp
80488046
FILE: ../../../third_party/skia/src/sksl/dsl/DSLFunction.h
8049-
FILE: ../../../third_party/skia/src/sksl/dsl/DSLLayout.cpp
8050-
FILE: ../../../third_party/skia/src/sksl/dsl/DSLLayout.h
80518047
FILE: ../../../third_party/skia/src/sksl/dsl/DSLStatement.cpp
80528048
FILE: ../../../third_party/skia/src/sksl/dsl/DSLStatement.h
80538049
FILE: ../../../third_party/skia/src/sksl/dsl/priv/DSL_priv.h
@@ -9036,6 +9032,7 @@ ORIGIN: ../../../third_party/skia/src/sksl/analysis/SkSLGetLoopControlFlowInfo.c
90369032
ORIGIN: ../../../third_party/skia/src/sksl/analysis/SkSLGetReturnComplexity.cpp + ../../../third_party/skia/LICENSE
90379033
ORIGIN: ../../../third_party/skia/src/sksl/analysis/SkSLIsDynamicallyUniformExpression.cpp + ../../../third_party/skia/LICENSE
90389034
ORIGIN: ../../../third_party/skia/src/sksl/analysis/SkSLReturnsInputAlpha.cpp + ../../../third_party/skia/LICENSE
9035+
ORIGIN: ../../../third_party/skia/src/sksl/ir/SkSLStructDefinition.cpp + ../../../third_party/skia/LICENSE
90399036
ORIGIN: ../../../third_party/skia/src/sksl/tracing/SkSLTraceHook.cpp + ../../../third_party/skia/LICENSE
90409037
ORIGIN: ../../../third_party/skia/src/sksl/tracing/SkSLTraceHook.h + ../../../third_party/skia/LICENSE
90419038
ORIGIN: ../../../third_party/skia/src/sksl/transform/SkSLRewriteIndexedSwizzle.cpp + ../../../third_party/skia/LICENSE
@@ -9147,6 +9144,7 @@ FILE: ../../../third_party/skia/src/sksl/analysis/SkSLGetLoopControlFlowInfo.cpp
91479144
FILE: ../../../third_party/skia/src/sksl/analysis/SkSLGetReturnComplexity.cpp
91489145
FILE: ../../../third_party/skia/src/sksl/analysis/SkSLIsDynamicallyUniformExpression.cpp
91499146
FILE: ../../../third_party/skia/src/sksl/analysis/SkSLReturnsInputAlpha.cpp
9147+
FILE: ../../../third_party/skia/src/sksl/ir/SkSLStructDefinition.cpp
91509148
FILE: ../../../third_party/skia/src/sksl/tracing/SkSLTraceHook.cpp
91519149
FILE: ../../../third_party/skia/src/sksl/tracing/SkSLTraceHook.h
91529150
FILE: ../../../third_party/skia/src/sksl/transform/SkSLRewriteIndexedSwizzle.cpp

display_list/benchmarking/dl_complexity_unittests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ TEST(DisplayListComplexity, DrawAtlas) {
423423
std::vector<SkRSXform> xforms;
424424
for (int i = 0; i < 10; i++) {
425425
rects.push_back(SkRect::MakeXYWH(0, 0, 10, 10));
426-
xforms.push_back(SkRSXform::Make(0, 0, 0, 0));
426+
xforms.push_back(SkRSXform::Make(1, 0, 0, 0));
427427
}
428428

429429
DisplayListBuilder builder;

display_list/display_list.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ DisplayList::DisplayList()
2222
unique_id_(0),
2323
bounds_({0, 0, 0, 0}),
2424
can_apply_group_opacity_(true),
25-
is_ui_thread_safe_(true) {}
25+
is_ui_thread_safe_(true),
26+
affects_transparent_surface_(false) {}
2627

2728
DisplayList::DisplayList(DisplayListStorage&& storage,
2829
size_t byte_count,
@@ -32,6 +33,7 @@ DisplayList::DisplayList(DisplayListStorage&& storage,
3233
const SkRect& bounds,
3334
bool can_apply_group_opacity,
3435
bool is_ui_thread_safe,
36+
bool affects_transparent_surface,
3537
sk_sp<const DlRTree> rtree)
3638
: storage_(std::move(storage)),
3739
byte_count_(byte_count),
@@ -42,6 +44,7 @@ DisplayList::DisplayList(DisplayListStorage&& storage,
4244
bounds_(bounds),
4345
can_apply_group_opacity_(can_apply_group_opacity),
4446
is_ui_thread_safe_(is_ui_thread_safe),
47+
affects_transparent_surface_(affects_transparent_surface),
4548
rtree_(std::move(rtree)) {}
4649

4750
DisplayList::~DisplayList() {

display_list/display_list.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@ class DisplayList : public SkRefCnt {
263263
}
264264

265265
bool can_apply_group_opacity() const { return can_apply_group_opacity_; }
266+
bool affects_transparent_surface() const {
267+
return affects_transparent_surface_;
268+
}
266269
bool isUIThreadSafe() const { return is_ui_thread_safe_; }
267270

268271
private:
@@ -274,6 +277,7 @@ class DisplayList : public SkRefCnt {
274277
const SkRect& bounds,
275278
bool can_apply_group_opacity,
276279
bool is_ui_thread_safe,
280+
bool affects_transparent_surface,
277281
sk_sp<const DlRTree> rtree);
278282

279283
static uint32_t next_unique_id();
@@ -292,6 +296,8 @@ class DisplayList : public SkRefCnt {
292296

293297
const bool can_apply_group_opacity_;
294298
const bool is_ui_thread_safe_;
299+
const bool affects_transparent_surface_;
300+
295301
const sk_sp<const DlRTree> rtree_;
296302

297303
void Dispatch(DlOpReceiver& ctx,

0 commit comments

Comments
 (0)