Aliaksandr Kalenik
45e0f50463
LibWeb: Flip vertically PaintingSurface attached to WebGL context
...
OpenGL's origin is at the bottom-left corner, while Skia's origin is at
the top-left corner. This change adds a transformation to compensate for
this difference when rendering PaintingSurface attached to WebGL
context.
2024-12-03 23:35:45 +01:00
Saksham Mittal
ecdb53cca6
LibWeb: Deduplicate opacity code in ApplyFilters
...
The opacity is still being set separately by using
ApplyOpacity for both CSS and SVG
2024-11-23 20:20:12 +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
Nico Weber
f4b0d17e4b
LibWeb: Plumb svg stroking state to DisplayListPlayerSkia
...
The state is still ignored there, so no behavior change, but this
should make it fairly easy to actually implement complete stroking
support for SVGs.
2024-11-22 12:21:29 +01:00
Jelle Raaijmakers
e21b5cab32
LibWeb: Change Array<T,Size> to Array in DisplayListPlayerSkia
...
No functional changes.
2024-11-15 23:21:13 +01:00
Pavel Shliak
d1c7c0ba19
LibWeb: Reduce DrawGlyphRun struct from 56 to 48 bytes
2024-11-11 17:06:20 +01:00
Aliaksandr Kalenik
68f58b23ce
LibWeb: Save Gfx::ImmutableBitmap in ApplyBitmapMask display list item
...
This allows to delete duplicated code between DisplayListPlayerSkia.cpp
and ImmutableBitmap.cpp responsible for wrapping Gfx::Bitmap in SkImage.
2024-11-10 17:20:34 +01:00
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00