mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-06 08:09:45 +00:00
LibWebView+WebContent: Make it possible to change the painting interval
This allows us to paint at the refresh rate of the screen. The default is 60, as before, in case it never gets set by anything.
This commit is contained in:
parent
31faf31f6a
commit
c93c30d596
Notes:
github-actions[bot]
2025-07-26 14:10:40 +00:00
Author: https://github.com/Lubrsi
Commit: c93c30d596
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5606
Reviewed-by: https://github.com/Psychpsyo
Reviewed-by: https://github.com/kalenikaliaksandr
7 changed files with 31 additions and 1 deletions
|
@ -589,6 +589,7 @@ void ViewImplementation::initialize_client(CreateNewClient create_new_client)
|
|||
client().async_set_window_handle(m_client_state.page_index, m_client_state.client_handle);
|
||||
|
||||
client().async_set_device_pixels_per_css_pixel(m_client_state.page_index, m_device_pixel_ratio);
|
||||
client().async_set_maximum_frames_per_second(m_client_state.page_index, m_maximum_frames_per_second);
|
||||
client().async_set_system_visibility_state(m_client_state.page_index, m_system_visibility_state);
|
||||
|
||||
if (auto webdriver_content_ipc_path = Application::browser_options().webdriver_content_ipc_path; webdriver_content_ipc_path.has_value())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue