BackingStoreManager was owned by Navigable and allocated on the GC heap, which left backing-store sizing decisions on the main thread even though the compositor thread was already responsible for allocating the actual surfaces. That split ownership makes it harder to isolate the compositor behind a process boundary. Move the manager into LibWeb's compositor code and let CompositorThread thread data own it. The main thread now reports viewport size changes through a compositor command, and the compositor uses that message to decide when to resize and publish backing stores. The delayed shrink timer remains with the main-thread CompositorThread facade so it can use the Core event loop, but it now only sends another viewport-size update. This removes the GC edge from Navigable, drops stale WebContent includes and keeps the existing resize padding and delayed shrink behavior. |
||
|---|---|---|
| .. | ||
| ImageDecoder | ||
| RequestServer | ||
| WebContent | ||
| WebDriver | ||
| WebWorker | ||
| CMakeLists.txt | ||