servo/components/shared
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
..
background_hang_monitor script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
base imagebitmap: Make ImageBitmap serializable and transferable (#37101) 2025-05-23 20:40:25 +00:00
bluetooth Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
canvas Introduce snapshot concept of canvas (#36119) 2025-04-23 07:32:47 +00:00
compositing Synchronize dispatch_actions in WebDriver (#36932) 2025-05-21 11:03:04 +00:00
constellation imagebitmap: Use snapshot::Snapshot as bitmap data (#37131) 2025-05-27 06:41:25 +00:00
devtools devtools: Allow highlighting elements from the inspector (#35822) 2025-05-05 10:10:25 +00:00
embedder constellation: Pass system theme to new Pipelines (#37132) 2025-05-26 12:05:38 +00:00
fonts Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
net net: Measure memory usage of storage thread. (#37053) 2025-05-20 14:50:02 +00:00
profile Removing unused dependencies in crates. (#37096) 2025-05-23 12:58:00 +00:00
script constellation: Pass system theme to new Pipelines (#37132) 2025-05-26 12:05:38 +00:00
script_layout constellation: Pass system theme to new Pipelines (#37132) 2025-05-26 12:05:38 +00:00
snapshot imagebitmap: Use snapshot::Snapshot as bitmap data (#37131) 2025-05-27 06:41:25 +00:00
webgpu Introduce snapshot concept of canvas (#36119) 2025-04-23 07:32:47 +00:00
webxr libservo: Move EventLooperWaker from webxr_traits to embedder_traits (#36420) 2025-04-09 14:19:33 +00:00