Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions display_list/display_list_color_source.h
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,6 @@ class DlSceneColorSource final : public DlColorSource {

impeller::Matrix camera_matrix() const { return camera_matrix_; }

sk_sp<SkShader> skia_object() const override { return nullptr; }

protected:
bool equals_(DlColorSource const& other) const override {
FML_DCHECK(other.type() == DlColorSourceType::kScene);
Expand Down
5 changes: 5 additions & 0 deletions display_list/skia/dl_sk_conversions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ sk_sp<SkShader> ToSk(const DlColorSource* source) {
return runtime_effect->skia_runtime_effect()->makeShader(
sk_uniform_data, sk_samplers.data(), sk_samplers.size());
}
#ifdef IMPELLER_ENABLE_3D
case DlColorSourceType::kScene:
// Impeller Scene is not supported for Skia.
return nullptr;
#endif
}
}

Expand Down