Skip to content

[Impeller] Perform clipping on the depth buffer. #138460

@bdero

Description

@bdero

See this design doc.

Now that we simply replay clips and no longer ever need to store the multisample depth/stencil attachments, we can safely perform clipping on the depth buffer and free up the stencil buffer for Stencil-then-Cover of concave shapes.

Further, since we have a lot more bits to work with in the depth buffer, we can eliminate the need for clip restores altogether.

All of this can be done in a way that synergizes well with optimizing the draw order to minimize overdraw.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work liste: impellerImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions