Skip to content

Expand localized damage for retained foreground blur #491

Closed

Description

@wieslawsoltes

Problem

Localized retained-scene damage uses raw command boxes plus two-pixel antialias padding. A foreground blur can paint roughly three standard deviations outside its element, and descendant pixel changes do not change the enclosing filter command. Partial redraw can therefore leave stale blurred pixels around a changed Code OSS surface.

Scope

  • Track active retained blur groups while comparing old/new DOM command streams.
  • Expand every changed enclosed command by the cumulative bounded 3 × sigma blur extent from its old and new group stacks.
  • Include a changed blur group itself, handle nested/repeated blurs conservatively, and preserve the existing 40% full-damage fallback.
  • Keep non-blurred localized damage byte-for-byte equivalent.
  • Add a native regression that mutates pixels inside a blur group and asserts expanded damage.

Validation debt

Native pixels, backend partial-redraw behavior, scaling/performance, memory, lifecycle, exact package, and CI gates remain required before release promotion but are deferred under the current implementation-throughput directive.

Parent: #256. Coordination: #235/#243.

Activity

  1. wieslawsoltes commented on Sep 18, 2026

    @wieslawsoltes
    CollaboratorAuthor

    Implemented and merged by PR #492 at 49a4458f8c15500650f539e285638d8a26afc937. Localized old/new command damage now includes cumulative bounded 3 × sigma padding from active blur groups. CI tails were canceled; authored native coverage and cumulative backend pixel/performance/memory/package validation remain debt under #256/#235.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions