aboutsummaryrefslogtreecommitdiffstats
path: root/components/shared/profile/ipc.rs
diff options
context:
space:
mode:
authorsagudev <16504129+sagudev@users.noreply.github.com>2025-04-23 09:32:47 +0200
committerGitHub <noreply@github.com>2025-04-23 07:32:47 +0000
commit73b778e67f2f399846af57a2c93e22da05bb7657 (patch)
tree447ef0a21762dbac581a8113fe4bb28520bc508d /components/shared/profile/ipc.rs
parentb6967fc4c8cc2513a85c535d87c28f5451f7de7e (diff)
downloadservo-73b778e67f2f399846af57a2c93e22da05bb7657.tar.gz
servo-73b778e67f2f399846af57a2c93e22da05bb7657.zip
Introduce snapshot concept of canvas (#36119)
Each canvas context returns snapshot instead of just raw bytes. This allows as to hold off conversions (BGRA <-> RGBA, (un)premultiply) to when/if they are actually needed. For example when loading snapshot into webgl we can load both RGBA and BGRA so no conversion is really needed. Currently whole thing is designed to be able to be extend on https://github.com/servo/ipc-channel/pull/356, to make less copies. Hence some commented out code. Fixes #35759 There are tests for these changes in WPT --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Diffstat (limited to 'components/shared/profile/ipc.rs')
0 files changed, 0 insertions, 0 deletions