servo/components/shared/constellation
Andrei Volykhin 86b3b16b4c
imagebitmap: Use snapshot::Snapshot as bitmap data (#37131)
Replace the holder of actual pixel data of the ImageBitmap interface
([[BitmapData]] slot) from Vec<u8> to snapshot::Snapshot (image bitmap
with metadata).
https://html.spec.whatwg.org/multipage/#the-imagebitmap-interface

It will allow to have all required information (e.g. size, pixel format,
alpha mode)
for further drawing processing to/from canvas2D output bitmap.

Testing: No required tests
Fixes: https://github.com/servo/servo/issues/34112

Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>
2025-05-27 06:41:25 +00:00
..
structured_data imagebitmap: Use snapshot::Snapshot as bitmap data (#37131) 2025-05-27 06:41:25 +00:00
Cargo.toml imagebitmap: Use snapshot::Snapshot as bitmap data (#37131) 2025-05-27 06:41:25 +00:00
from_script_message.rs constellation: Pass system theme to new Pipelines (#37132) 2025-05-26 12:05:38 +00:00
lib.rs constellation: Pass system theme to new Pipelines (#37132) 2025-05-26 12:05:38 +00:00