mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
webgpu: Fix HTML event loop integration (#34631)
* webgpu: Fix HTML event loop integration Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Bring back self.drawing_buffer.borrow().cleared Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Rc webgpu_contexts Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
4ddcba240b
commit
b7e528d2ff
5 changed files with 57 additions and 24 deletions
|
@ -1895,8 +1895,6 @@ impl Window {
|
|||
// up-to-date contents.
|
||||
let for_display = reflow_goal.needs_display();
|
||||
if for_display {
|
||||
#[cfg(feature = "webgpu")]
|
||||
document.flush_dirty_webgpu_canvases();
|
||||
document.flush_dirty_webgl_canvases();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue