mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibWeb: Remove RecordingPainter::paint_frame()
PaintFrame is not primitive painting command, we inherited from OS, that is hard to replicate in GPU-painter or alternative CPU-painter API. We should remove it as a part of refactoring towards simplifying recording painter commands set. Fixes: #23796
This commit is contained in:
parent
3b89a187ac
commit
3645b676fb
Notes:
sideshowbarker
2024-07-17 10:10:18 +09:00
Author: https://github.com/Grillo-0 🔰
Commit: 3645b676fb
Pull-request: https://github.com/SerenityOS/serenity/pull/23925
Issue: https://github.com/SerenityOS/serenity/issues/23796
Reviewed-by: https://github.com/tcl3
13 changed files with 13 additions and 37 deletions
|
@ -183,9 +183,6 @@ void CommandList::execute(CommandExecutor& executor)
|
|||
return executor.draw_signed_distance_field(command.rect, command.color, command.sdf,
|
||||
command.smoothing);
|
||||
},
|
||||
[&](PaintFrame const& command) {
|
||||
return executor.paint_frame(command.rect, command.palette, command.style);
|
||||
},
|
||||
[&](ApplyBackdropFilter const& command) {
|
||||
return executor.apply_backdrop_filter(command.backdrop_region, command.backdrop_filter);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue