Skip to main content

Module render_loop

Module render_loop 

Source
Expand description

Render loop — per-window compositor + vsync loop.

Chrome: cc::LayerTreeHostImpl on the compositor thread. Runs on its own thread, owns the GPU surface and Compositor. Handles scroll at vsync rate without view thread involvement.

Enums§

RenderEvent
Events received by the render loop.

Type Aliases§

OnSurfaceLost
Error callback — called when the GPU surface is lost. The platform-specific adapter provides this.