This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -66,17 +66,15 @@ std::shared_ptr<Texture> Picture::RenderToTexture(
66
66
/* mip_count=*/ 1 ,
67
67
" Picture Snapshot MSAA" , // label
68
68
RenderTarget::
69
- kDefaultColorAttachmentConfigMSAA , // color_attachment_config
70
- std::nullopt // stencil_attachment_config
69
+ kDefaultColorAttachmentConfigMSAA // color_attachment_config
71
70
);
72
71
} else {
73
72
target = render_target_allocator.CreateOffscreen (
74
73
*impeller_context, // context
75
74
size, // size
76
75
/* mip_count=*/ 1 ,
77
- " Picture Snapshot" , // label
78
- RenderTarget::kDefaultColorAttachmentConfig , // color_attachment_config
79
- std::nullopt // stencil_attachment_config
76
+ " Picture Snapshot" , // label
77
+ RenderTarget::kDefaultColorAttachmentConfig // color_attachment_config
80
78
);
81
79
}
82
80
if (!target.IsValid ()) {
Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ class ContentContext {
408
408
// /
409
409
// TODO(bdero): Remove this setting once StC is fully de-risked
410
410
// https://github.com/flutter/flutter/issues/123671
411
- static constexpr bool kEnableStencilThenCover = false ;
411
+ static constexpr bool kEnableStencilThenCover = true ;
412
412
413
413
#if IMPELLER_ENABLE_3D
414
414
std::shared_ptr<scene::SceneContext> GetSceneContext () const ;
You can’t perform that action at this time.
0 commit comments