Repository navigation
Add Liquid Glass as an optional blur material - #1904
Open
kiteretsu903 wants to merge 2 commits into
Open
kiteretsu903 wants to merge 2 commits into
kiteretsu903 wants to merge 2 commits into
Conversation
This was referenced Oct 8, 2026
kiteretsu903
force-pushed
the
fix/review-liquid-glass
branch
2 times, most recently
from
October 10, 2026 02:51
aaabc47 to
cc153e7
Compare
kiteretsu903
force-pushed
the
fix/review-liquid-glass
branch
from
October 14, 2026 01:31
cc153e7 to
60770e3
Compare
kiteretsu903
marked this pull request as ready for review
October 14, 2026 04:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Liquid Glass choice for blurred previews on macOS 26 and later, with Light, Dark, and Follow System appearance. Earlier systems retain standard blur.
Behavior
Implementation and dependency
BlurSurfaceViewowns material selection and the native Glass view. This change uses the synchronized snap-preview geometry now merged into main, which keeps the material and its host aligned. Glass does not introduce a separate geometry animation path.Helper and divider surfaces can reuse this material in their own PRs; those features are not included here.
Validation
The branch passed all 593 XCTest tests, including native material checks, and the material-switching regression passed 20 fresh-process repetitions. The earlier intermittent assertion was reproduced and diagnosed: after installing a new Glass view, the test could compare its model frame with its parent’s previous presentation frame before Glass had a presentation layer. The corrected test checks model geometry separately, compares presentation geometry only when both layers exist, and requires a rendered sample within a bounded wait. No production rendering change was needed. This branch has no dependency on the closed learned-size-limits PR #1902.
A combined-build recording covered initial and repeated Glass previews with window animation disabled; sampled stationary transparent regions showed no obvious flicker.
This replaces the corresponding part of #1889.
Demo
07-liquid-glass.mp4
Window animation is disabled. Recorded with the combined build and only this feature and its required visual options enabled.
Settings