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

Commit 0ab790f

Browse files
authored
Merge branch 'main' into rotate_color
2 parents d2b0009 + 65515ad commit 0ab790f

File tree

9 files changed

+24
-22
lines changed

9 files changed

+24
-22
lines changed

DEPS

Lines changed: 2 additions & 2 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': '827013b3dbef2cf91399d3516e36c050719040bb',
21+
'skia_revision': 'c162dae2b29713736750af2e39f1acf5d458478f',
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.
@@ -48,7 +48,7 @@ vars = {
4848
# Dart is: https://github.com/dart-lang/sdk/blob/main/DEPS
4949
# You can use //tools/dart/create_updated_flutter_deps.py to produce
5050
# updated revision list of existing dependencies.
51-
'dart_revision': '73127306ac6bd0db1ce3ca6c6a0b77dc26241b5e',
51+
'dart_revision': 'f97b9d9b2f6454c258042ada26309a9126d0da73',
5252

5353
# WARNING: DO NOT EDIT MANUALLY
5454
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py

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: db14afda8d4df5d196cdf2ad2abef14d
1+
Signature: 8ee8750ec91435fbd8334baa10ee0e35
22

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

ci/licenses_golden/licenses_third_party

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Signature: 7ea770e2e44fb8185050261387151d17
1+
Signature: 7c30a2e45672e44f4d80f62471a5e1b0
22

33
====================================================================================================
44
LIBRARY: angle

impeller/base/validation.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,17 @@ struct ScopedValidationDisable {
3838

3939
} // namespace impeller
4040

41+
//------------------------------------------------------------------------------
42+
/// Get a stream to the log Impeller uses for all validation errors. The
43+
/// behavior of these logs is as follows:
44+
///
45+
/// * Validation error are completely ignored in the Flutter release
46+
/// runtime-mode.
47+
/// * In non-release runtime-modes, validation logs are redirected to the
48+
/// Flutter `INFO` log. These logs typically show up when verbose logging is
49+
/// enabled.
50+
/// * If `ImpellerValidationErrorsSetFatal` is set to `true`, validation logs
51+
/// are fatal. The runtime-mode restriction still applies. This usually
52+
/// happens in test environments.
53+
///
4154
#define VALIDATION_LOG ::impeller::ValidationLog{}.GetStream()

impeller/renderer/pipeline_builder.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,15 @@ struct PipelineBuilder {
9393
<< VertexShader::kLabel << "'.";
9494
return false;
9595
}
96-
if (!vertex_descriptor->SetDescriptorSetLayouts(
96+
if (!vertex_descriptor->RegisterDescriptorSetLayouts(
9797
VertexShader::kDescriptorSetLayouts)) {
9898
VALIDATION_LOG << "Cound not configure vertex descriptor set layout for"
9999
" pipeline named '"
100100
<< VertexShader::kLabel << "'.";
101101
return false;
102102
}
103103

104-
if (!vertex_descriptor->SetDescriptorSetLayouts(
104+
if (!vertex_descriptor->RegisterDescriptorSetLayouts(
105105
FragmentShader::kDescriptorSetLayouts)) {
106106
VALIDATION_LOG << "Cound not configure vertex descriptor set layout for"
107107
" pipeline named '"

impeller/renderer/vertex_descriptor.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ bool VertexDescriptor::SetStageInputs(
2020
return true;
2121
}
2222

23-
bool VertexDescriptor::SetDescriptorSetLayouts(
23+
bool VertexDescriptor::RegisterDescriptorSetLayouts(
2424
const DescriptorSetLayout desc_set_layout[],
2525
size_t count) {
2626
desc_set_layouts_.reserve(desc_set_layouts_.size() + count);

impeller/renderer/vertex_descriptor.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@ class VertexDescriptor final : public Comparable<VertexDescriptor> {
3737
}
3838

3939
template <size_t Size>
40-
bool SetDescriptorSetLayouts(
40+
bool RegisterDescriptorSetLayouts(
4141
const std::array<DescriptorSetLayout, Size>& inputs) {
42-
return SetDescriptorSetLayouts(inputs.data(), inputs.size());
42+
return RegisterDescriptorSetLayouts(inputs.data(), inputs.size());
4343
}
4444

4545
bool SetStageInputs(const ShaderStageIOSlot* const stage_inputs[],
4646
size_t count);
4747

48-
bool SetDescriptorSetLayouts(const DescriptorSetLayout desc_set_layout[],
49-
size_t count);
48+
bool RegisterDescriptorSetLayouts(const DescriptorSetLayout desc_set_layout[],
49+
size_t count);
5050

5151
const std::vector<ShaderStageIOSlot>& GetStageInputs() const;
5252

sky/packages/sky_engine/BUILD.gn

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import("//third_party/dart/sdk/lib/js_interop/js_interop_sources.gni")
2525
import("//third_party/dart/sdk/lib/js_util/js_util_sources.gni")
2626
import("//third_party/dart/sdk/lib/math/math_sources.gni")
2727
import("//third_party/dart/sdk/lib/typed_data/typed_data_sources.gni")
28-
import("//third_party/dart/sdk/lib/wasm/wasm_sources.gni")
2928

3029
if (!is_fuchsia) {
3130
copy("copy_sky_engine_authors") {
@@ -170,13 +169,6 @@ copy("typed_data") {
170169
]
171170
}
172171

173-
copy("wasm") {
174-
lib_path = rebase_path("wasm", "", dart_sdk_lib_path)
175-
sources = rebase_path(wasm_sdk_sources, "", lib_path)
176-
outputs =
177-
[ "$root_gen_dir/dart-pkg/sky_engine/lib/wasm/{{source_file_part}}" ]
178-
}
179-
180172
copy("copy_dart_ui") {
181173
sources = dart_ui_files
182174

@@ -213,7 +205,6 @@ group("copy_dart_sdk") {
213205
":js_util",
214206
":math",
215207
":typed_data",
216-
":wasm",
217208
]
218209
}
219210

@@ -239,7 +230,6 @@ generated_file("_embedder_yaml") {
239230
" \"dart:math\": \"math/math.dart\"",
240231
" \"dart:typed_data\": \"typed_data/typed_data.dart\"",
241232
" \"dart:ui\": \"ui/ui.dart\"",
242-
" \"dart:wasm\": \"wasm/wasm_types.dart\"",
243233
"",
244234
" \"dart:_http\": \"_http/http.dart\"",
245235
" \"dart:_interceptors\": \"_interceptors/interceptors.dart\"",

sky/packages/sky_engine/lib/_embedder.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ embedded_libs:
1717
"dart:math": "../../../../../third_party/dart/sdk/lib/math/math.dart"
1818
"dart:typed_data": "../../../../../third_party/dart/sdk/lib/typed_data/typed_data.dart"
1919
"dart:ui": "../../../../lib/ui/ui.dart"
20-
"dart:wasm": "../../../../../third_party/dart/sdk/lib/wasm/wasm_types.dart"
2120

2221
"dart:_http": "../../../../../third_party/dart/sdk/lib/_http/http.dart"
2322
"dart:_interceptors": "../../../../../third_party/dart/sdk/lib/_interceptors/interceptors.dart"

0 commit comments

Comments
 (0)