mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
The `OffscreenRenderingContext` does not need to be double-buffered. Instead, when resizing the framebuffer, create a new one and blit the old contents onto the new surface. This allows immediately displaying the contents without having to render paint the WebRender scene one more time. In addition to speeding up the rendering pipeline, the goal here is to reduce flickering during resizes (though there is more work to do). Signed-off-by: Martin Robinson <mrobinson@igalia.com> |
||
---|---|---|
.. | ||
Cargo.toml | ||
display_list.rs | ||
lib.rs | ||
rendering_context.rs |