Render foreground brightness filters - #464
Merged
Merged
Conversation
This was referenced Sep 18, 2026
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.
Unchanged Code OSS uses single-function
brightness(...)filters in release notes, the issue reporter, Chat status/debug surfaces, and dictation visuals, but WebScene currently publishes their unfiltered colors. This change resolves bounded number/percentage brightness values, wraps the element and descendant paint in the existing retained group scope, and applies the corresponding RGB color matrix in Avalonia/Uno and Flutter.The scene struct and version remain unchanged: kind 30 reserves its top flag bit for brightness and carries the multiplier in
stroke_width; zero-flag opacity groups keep their prior alpha behavior and kind 31 remains the balanced end. Non-noneforeground filters now establish an atomic stacking context. Compound filters, filter animation, blur damage, other functions, masks, and backdrop sampling remain under #256.Validation debt: per the implementation-throughput priority, tests, browser/native pixel contracts, performance/lifecycle benchmarks, hosted checks, CI monitoring, and exact-package visual acceptance were skipped.
git diff --checkpasses on source head88a82009rebased onto mainc19fbc36.Closes #463
Parent: #256