1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 03:08:11 +00:00
serenity/Userland/Libraries/LibWeb/Page
Aliaksandr Kalenik 02936f6944 LibWebView+WebContent: Drive repainting from WebContent process
With this change, chrome no longer has to ask the WebContent process
to paint the next frame into a specified bitmap. Instead, it allocates
bitmaps and sends them to WebContent, which then lets chrome know when
the painting is done.

This work is a preparation to move the execution of painting commands
into a separate thread. Now, it is much easier to start working on the
next frame while the current one is still rendering. This is because
WebContent does not have to inform chrome that the current frame is
ready before it can request the next frame.

Additionally, as a side bonus, we can now eliminate the
did_invalidate_content_rect and did_change_selection IPC calls. These
were used solely for the purpose of informing chrome that it needed to
request a repaint.
2023-12-22 17:47:34 +01:00
..
EditEventHandler.cpp LibWeb: Change DOM::Position to be GC-allocated 2023-09-26 21:25:54 +02:00
EditEventHandler.h LibWeb: Change DOM::Position to be GC-allocated 2023-09-26 21:25:54 +02:00
EventHandler.cpp LibWebView+WebContent: Drive repainting from WebContent process 2023-12-22 17:47:34 +01:00
EventHandler.h Ladybird+LibWeb: Add MouseEvent screenX and screenY support 2023-09-15 22:12:56 +02:00
Page.cpp LibWebView+WebContent: Drive repainting from WebContent process 2023-12-22 17:47:34 +01:00
Page.h LibWebView+WebContent: Drive repainting from WebContent process 2023-12-22 17:47:34 +01:00