mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Delete BlitCornerClipping display list command
Contrary to LibGfx, where corner clipping was implemented by sampling and blitting pixels under corners into a temporary bitmap, Skia allows us to simply apply a mask. As a result, we no longer need the BlitCornerClipping command, which has become a no-op. - SampleUnderCorners is renamed to AddRoundedRectClip - The optimization that skipped unnecessary blit and sample commands has been removed. However, this should not result in a performance regression because Skia seems to perform mask rasterization lazily.
This commit is contained in:
parent
333c9270b1
commit
2c0f03f5b6
Notes:
github-actions[bot]
2024-07-30 07:46:42 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 2c0f03f5b6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/884
13 changed files with 16 additions and 143 deletions
|
@ -2143,7 +2143,6 @@ void Navigable::record_display_list(Painting::DisplayListRecorder& display_list_
|
|||
scroll_offsets_by_frame_id[scrollable_frame->id] = scroll_offset;
|
||||
}
|
||||
display_list_recorder.display_list().apply_scroll_offsets(scroll_offsets_by_frame_id);
|
||||
display_list_recorder.display_list().mark_unnecessary_commands();
|
||||
}
|
||||
|
||||
m_needs_repaint = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue