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:
Arthur Grillo 2024-04-10 16:21:02 -03:00 committed by Alexander Kalenik
commit 3645b676fb
Notes: sideshowbarker 2024-07-17 10:10:18 +09:00
13 changed files with 13 additions and 37 deletions

View file

@ -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);
},