servo/components/canvas
Mukilan Thiyagarajan c2502120cf
Fix webgl regression after WebRender upgrade (#30390)
Sending WebRender an explicit ResourceUpdate message
after every buffer swap invalidates the tile caches
that depend on the image resource created for the
webgl canvas.

The previous WebRender code that Servo was using
might have worked with WebGL only accidentally since
picture caching was disabled by [default][1] and so the
tiles were not cached between frames.

Fixes #30367

[1]: c385b3c973/third_party/webrender/webrender/src/renderer.rs (L7073)

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2023-09-20 13:21:02 +00:00
..
webgl_mode Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
canvas_data.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
canvas_paint_thread.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
Cargo.toml [chore] Update 'half' in components/canvas (#30098) 2023-08-15 05:58:31 +00:00
lib.rs remove extern crate (#30311) 2023-09-08 12:11:31 +00:00
raqote_backend.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
webgl_limits.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
webgl_thread.rs Fix webgl regression after WebRender upgrade (#30390) 2023-09-20 13:21:02 +00:00