mirror of
https://github.com/servo/servo.git
synced 2025-06-20 23:28:59 +01:00
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]:
|
||
---|---|---|
.. | ||
webgl_mode | ||
canvas_data.rs | ||
canvas_paint_thread.rs | ||
Cargo.toml | ||
lib.rs | ||
raqote_backend.rs | ||
webgl_limits.rs | ||
webgl_thread.rs |