mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:38:10 +00:00
![]() When the WebContent process has painted to its shared bitmaps, it sends a synchronous IPC to the browser process to let the chrome paint. It is synchronous to ensure the WC process doesn't paint onto the backing bitmap again while it is being displayed. However, this can cause a crash at exit if the browser process quits while the WC process is waiting for a response to this IPC. This patch makes the painting logic asynchronous by letting the browser process broadcast when it has finished handling the paint IPC. The WC process will not paint anything again until it receives that message. If it had tried to repaint while waiting for that message, that paint will be deferred until it arrives. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ConnectionFromClient.cpp | ||
ConnectionFromClient.h | ||
ConsoleGlobalEnvironmentExtensions.cpp | ||
ConsoleGlobalEnvironmentExtensions.h | ||
Documentation.txt | ||
Forward.h | ||
ImageCodecPluginSerenity.cpp | ||
ImageCodecPluginSerenity.h | ||
main.cpp | ||
PageClient.cpp | ||
PageClient.h | ||
PageHost.cpp | ||
PageHost.h | ||
WebContentClient.ipc | ||
WebContentConsoleClient.cpp | ||
WebContentConsoleClient.h | ||
WebContentServer.ipc | ||
WebDriverClient.ipc | ||
WebDriverConnection.cpp | ||
WebDriverConnection.h | ||
WebDriverServer.ipc |