Skip to content

[Impeller] Tessellation for convex shadows (non-uniform RRects) #170764

@jonahwilliams

Description

@jonahwilliams

Currently Impeller has two techniques for rendering a shadow:

  • Fast RRect/Rect/Circle path that works in a single draw.
  • Generic Gaussian Blur 3-Pass

The second case is required for blurring rasters or complex shapes, but is much slower than the fast path. Skia has an intermediate approach, where they compute the tessellated shadow for convex and concave shapes. This is useful in case buttons and such end up non-uniform.

We should devise a similar approach, which as a motivating case can use the application in: #169423

Sources:

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work liste: impellerImpeller rendering backend issues and features requeststeam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions