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

Commit 85ab856

Browse files
authored
[Impeller] Enable depth buffer clipping & Stencil-then-Cover path rendering. (#51219)
Turn the page, wash your hands. Addresses the following issues: * flutter/flutter#143077 * flutter/flutter#137714 * flutter/flutter#138460 * flutter/flutter#123671 * flutter/flutter#141961 * flutter/flutter#134432 Previous attempts: 1. #50856 - reverted with #51191 - fixed with #51198 2. #51209 - reverted with #51217 - fixed with #51218
1 parent 01e88b4 commit 85ab856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)