Aliaksandr Kalenik
410e82c9fd
LibWeb: Rearrange code such that a lot less files include Command.h
...
With this change number of recompiled files after modification of
`Command.h` goes down from >1000 to <100.
2025-07-11 17:37:27 +02:00
Aliaksandr Kalenik
193900d661
LibWeb: Cache compiled shaders for masks in DisplayListPlayerSkia
...
By avoiding recompilation every time `apply_mask_bitmap()` is called, we
save ~5 ms (20ms -> 15ms) in rendering of browser channel on Discord on
my machine.
2025-07-09 19:21:31 +02:00
Lucien Fiorini
0fcb574041
LibGfx+LibWeb: Turn Gfx::Filter into a SkImageFilter wrapper
2025-06-01 23:22:10 +02:00
Glenn Skrzypczak
6906f1722a
LibWeb/Painting: Add back SaveLayer command
...
This reverts commit 552dd18696 .
2025-04-01 13:38:00 +02:00
Aliaksandr Kalenik
1229328adc
Revert "LibWeb/Painting: Add SaveLayer command"
...
This reverts commit 1898643ba4 .
2025-03-28 16:48:03 +00:00
Glenn Skrzypczak
1898643ba4
LibWeb/Painting: Add SaveLayer command
...
This adds a command for saving the current layer of the canvas.
This is useful for painting content onto a blank background in
isolation and later compositing it onto the canvas.
2025-03-28 09:41:06 +00:00
Glenn Skrzypczak
0fe30886f5
LibWeb/CSS: Implement mix-blend-mode
...
This adds support for the `mix-blend-mode` CSS property.
2025-02-05 11:26:58 +00:00
Jelle Raaijmakers
342cb7addf
LibGfx+LibWeb: Reuse DisplayListPlayer and PaintingSurface when possible
...
Previously, we were reinstantiating the DisplayListPlayer and
PaintingSurface on every paint.
2025-01-31 13:28:09 +01:00
Jelle Raaijmakers
4fbeea6482
LibWeb+Services: Remove unused #includes
...
No functional changes.
2025-01-31 13:28:09 +01:00
Saksham Mittal
8562b0e33b
LibWeb: Migrate CSS filter application to new ApplyFilters command
...
This helps reuse this code in other areas, such as for filters for SVGs
2024-11-23 20:20:12 +01:00
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00