mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement GPUSwapChain and GPUCanvasContext and interface with Webrender
This commit is contained in:
parent
73760ea594
commit
71401e0855
28 changed files with 882 additions and 91 deletions
|
@ -1665,7 +1665,8 @@ impl Window {
|
|||
// If this reflow is for display, ensure webgl canvases are composited with
|
||||
// up-to-date contents.
|
||||
if for_display {
|
||||
document.flush_dirty_canvases();
|
||||
document.flush_dirty_webgpu_canvases();
|
||||
document.flush_dirty_webgl_canvases();
|
||||
}
|
||||
|
||||
let pending_restyles = document.drain_pending_restyles();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue