mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 12:46:06 +00:00
LibGfx+LibWeb: Turn Gfx::Filter into a SkImageFilter wrapper
This commit is contained in:
parent
417f4edc46
commit
0fcb574041
Notes:
github-actions[bot]
2025-06-01 21:23:19 +00:00
Author: https://github.com/ananas-dev
Commit: 0fcb574041
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4692
Reviewed-by: https://github.com/kalenikaliaksandr ✅
Reviewed-by: https://github.com/konradekk
26 changed files with 412 additions and 256 deletions
|
@ -308,7 +308,7 @@ struct DrawLine {
|
|||
struct ApplyBackdropFilter {
|
||||
Gfx::IntRect backdrop_region;
|
||||
BorderRadiiData border_radii_data;
|
||||
Vector<Gfx::Filter> backdrop_filter;
|
||||
Optional<Gfx::Filter> backdrop_filter;
|
||||
|
||||
[[nodiscard]] Gfx::IntRect bounding_rect() const { return backdrop_region; }
|
||||
|
||||
|
@ -422,8 +422,8 @@ struct ApplyCompositeAndBlendingOperator {
|
|||
Gfx::CompositingAndBlendingOperator compositing_and_blending_operator;
|
||||
};
|
||||
|
||||
struct ApplyFilters {
|
||||
Vector<Gfx::Filter> filter;
|
||||
struct ApplyFilter {
|
||||
Gfx::Filter filter;
|
||||
};
|
||||
|
||||
struct ApplyTransform {
|
||||
|
@ -483,7 +483,7 @@ using Command = Variant<
|
|||
PaintScrollBar,
|
||||
ApplyOpacity,
|
||||
ApplyCompositeAndBlendingOperator,
|
||||
ApplyFilters,
|
||||
ApplyFilter,
|
||||
ApplyTransform,
|
||||
ApplyMaskBitmap>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue