LibWeb: Delete DisplayListPlayerCPU

No longer used after switching to Skia as a default.
This commit is contained in:
Aliaksandr Kalenik 2024-07-20 15:59:22 +02:00 committed by Andreas Kling
commit f3b3b3f5b9
Notes: github-actions[bot] 2024-07-21 11:27:06 +00:00
8 changed files with 0 additions and 574 deletions

View file

@ -15,7 +15,6 @@
#include <LibWeb/HTML/TraversableNavigable.h>
#include <LibWeb/Layout/Viewport.h>
#include <LibWeb/Page/Page.h>
#include <LibWeb/Painting/DisplayListPlayerCPU.h>
#include <LibWeb/Painting/DisplayListPlayerSkia.h>
#include <LibWeb/Painting/PaintContext.h>
#include <LibWeb/Painting/ViewportPaintable.h>
@ -100,11 +99,6 @@ RefPtr<Gfx::Bitmap> SVGDecodedImageData::render(Gfx::IntSize size) const
auto painting_command_executor_type = m_page_client->display_list_player_type();
switch (painting_command_executor_type) {
case DisplayListPlayerType::CPU: {
Painting::DisplayListPlayerCPU executor { *bitmap };
display_list.execute(executor);
break;
}
case DisplayListPlayerType::SkiaGPUIfAvailable:
case DisplayListPlayerType::SkiaCPU: {
Painting::DisplayListPlayerSkia executor { *bitmap };