1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:47:45 +00:00

LibWeb: Paint backdrop-filter effects!

This implements all the filters other than `saturate()`,
`hue-rotate()`, and `drop-shadow()`.

There are still a lot of FIXMEs to handle in the actual implementation
though, particularly around supporting transforms, but this handles
the most common use cases :^)
This commit is contained in:
MacDue 2022-09-15 08:31:32 +01:00 committed by Sam Atkins
parent 60356c8dde
commit 011439d3e3
5 changed files with 159 additions and 0 deletions

View file

@ -118,6 +118,7 @@ protected:
explicit PaintableBox(Layout::Box const&);
virtual void paint_border(PaintContext&) const;
virtual void paint_backdrop_filter(PaintContext&) const;
virtual void paint_background(PaintContext&) const;
virtual void paint_box_shadow(PaintContext&) const;