mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02:00
LibWeb: Replace ScrollStateSnapshotByDisplayList with a plain snapshot
Cleanup following the per-Navigable rasterization split: since each Navigable now rasterizes its own display list independently, the HashMap keyed on display list was always populated with exactly one entry. Pass the ScrollStateSnapshot directly through the display list player and rendering thread instead.
This commit is contained in:
committed by
Alexander Kalenik
parent
ad2ee4fe7a
commit
d9eec0d204
Notes:
github-actions[bot]
2026-04-07 13:10:37 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/d9eec0d204a Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8793
@@ -40,7 +40,7 @@ public:
|
||||
void set_skia_player(OwnPtr<Painting::DisplayListPlayerSkia>&& player);
|
||||
void set_presentation_mode(PresentationMode);
|
||||
|
||||
void update_display_list(NonnullRefPtr<Painting::DisplayList>, Painting::ScrollStateSnapshotByDisplayList&&);
|
||||
void update_display_list(NonnullRefPtr<Painting::DisplayList>, Painting::ScrollStateSnapshot&&);
|
||||
void update_backing_stores(RefPtr<Gfx::PaintingSurface> front, RefPtr<Gfx::PaintingSurface> back, i32 front_id, i32 back_id);
|
||||
u64 present_frame(Gfx::IntRect);
|
||||
void wait_for_frame(u64 frame_id);
|
||||
|
||||
Reference in New Issue
Block a user