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

Commit 8ec3fb8

Browse files
author
jonahwilliams
committed
[Impeller] testing.
1 parent b45a86d commit 8ec3fb8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

impeller/aiks/picture.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ std::shared_ptr<Texture> Picture::RenderToTexture(
6767
"Picture Snapshot MSAA", // label
6868
RenderTarget::
6969
kDefaultColorAttachmentConfigMSAA, // color_attachment_config
70-
std::nullopt // stencil_attachment_config
70+
RenderTarget::
71+
kDefaultStencilAttachmentConfig // stencil_attachment_config
7172
);
7273
} else {
7374
target = render_target_allocator.CreateOffscreen(
@@ -76,7 +77,8 @@ std::shared_ptr<Texture> Picture::RenderToTexture(
7677
/*mip_count=*/1,
7778
"Picture Snapshot", // label
7879
RenderTarget::kDefaultColorAttachmentConfig, // color_attachment_config
79-
std::nullopt // stencil_attachment_config
80+
RenderTarget::
81+
kDefaultStencilAttachmentConfig // stencil_attachment_config
8082
);
8183
}
8284
if (!target.IsValid()) {

impeller/entity/contents/content_context.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ class ContentContext {
408408
///
409409
// TODO(bdero): Remove this setting once StC is fully de-risked
410410
// https://github.com/flutter/flutter/issues/123671
411-
static constexpr bool kEnableStencilThenCover = false;
411+
static constexpr bool kEnableStencilThenCover = true;
412412

413413
#if IMPELLER_ENABLE_3D
414414
std::shared_ptr<scene::SceneContext> GetSceneContext() const;

0 commit comments

Comments
 (0)