[Impeller] Enable depth buffer clipping & Stencil-then-Cover path rendering. (flutter/engine#51209)
Turn the page, wash your hands. Addresses the following issues: * https://github.com/flutter/flutter/issues/143077 * https://github.com/flutter/flutter/issues/137714 * https://github.com/flutter/flutter/issues/138460 * https://github.com/flutter/flutter/issues/123671 * https://github.com/flutter/flutter/issues/141961 * https://github.com/flutter/flutter/issues/134432 Previous attempt: - https://github.com/flutter/engine/pull/50856 - reverted with https://github.com/flutter/engine/pull/51191 - fixed with https://github.com/flutter/engine/pull/51198
This commit is contained in:
@@ -408,7 +408,7 @@ class ContentContext {
|
|||||||
///
|
///
|
||||||
// TODO(bdero): Remove this setting once StC is fully de-risked
|
// TODO(bdero): Remove this setting once StC is fully de-risked
|
||||||
// https://github.com/flutter/flutter/issues/123671
|
// https://github.com/flutter/flutter/issues/123671
|
||||||
static constexpr bool kEnableStencilThenCover = false;
|
static constexpr bool kEnableStencilThenCover = true;
|
||||||
|
|
||||||
#if IMPELLER_ENABLE_3D
|
#if IMPELLER_ENABLE_3D
|
||||||
std::shared_ptr<scene::SceneContext> GetSceneContext() const;
|
std::shared_ptr<scene::SceneContext> GetSceneContext() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user