servo/tests/wpt/meta/html/canvas/element/manual/drawing-images-to-the-canvas
sagudev 413fd15264
canvas: prune vello scene on each render and make rendering cacheable (#38406)
As noted in #38345, vello scenes only grow. While we can reset them when
clearing viewport (#38356) that is not enough. We need to reset scene on
each render (~each frame) and providing old frame as backdrop to new
scene. Be do this lazily so multiple rendering without any changes
should be cheaper, we still do GPUBuffer mapping, because that would
require more complex work.

Testing: Code functionality is covered by existing WPT tests, but we do
not have any performance test.

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-08-01 13:48:44 +00:00
..
image-orientation imagebitmap: Add support of Blob as ImageBitmapSource (#37560) 2025-06-20 06:53:04 +00:00
drawimage_canvas.html.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
drawimage_html_image.html.ini canvas: prune vello scene on each render and make rendering cacheable (#38406) 2025-08-01 13:48:44 +00:00
drawimage_svg_image_1.html.ini Rename metadata directories 2023-06-22 21:15:41 +02:00