LibWeb: Rename CommandExecutor to DisplayListPlayer

Use more widely recognized name among browser engine developers.
This commit is contained in:
Aliaksandr Kalenik 2024-06-23 18:42:39 +02:00 committed by Alexander Kalenik
commit 760dfdcc1a
Notes: sideshowbarker 2024-07-18 00:41:35 +09:00
18 changed files with 153 additions and 153 deletions

View file

@ -26,7 +26,7 @@
#include <WebContent/WebDriverConnection.h>
#ifdef HAS_ACCELERATED_GRAPHICS
# include <LibWeb/Painting/CommandExecutorGPU.h>
# include <LibWeb/Painting/DisplayListPlayerGPU.h>
#endif
namespace WebContent {
@ -740,13 +740,13 @@ void PageClient::did_get_js_console_messages(i32 start_index, Vector<ByteString>
client().async_did_get_js_console_messages(m_id, start_index, move(message_types), move(messages));
}
Web::PaintingCommandExecutorType PageClient::painting_command_executor_type() const
Web::DisplayListPlayerType PageClient::display_list_player_type() const
{
if (s_use_gpu_painter)
return Web::PaintingCommandExecutorType::GPU;
return Web::DisplayListPlayerType::GPU;
if (s_use_skia_painter)
return Web::PaintingCommandExecutorType::Skia;
return Web::PaintingCommandExecutorType::CPU;
return Web::DisplayListPlayerType::Skia;
return Web::DisplayListPlayerType::CPU;
}
void PageClient::queue_screenshot_task(Optional<i32> node_id)