mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb: Delete DisplayListPlayerCPU
No longer used after switching to Skia as a default.
This commit is contained in:
parent
3627329bed
commit
f3b3b3f5b9
Notes:
github-actions[bot]
2024-07-21 11:27:06 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: f3b3b3f5b9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/736
Reviewed-by: https://github.com/jamierocks
8 changed files with 0 additions and 574 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue