mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-23 01:38:56 +00:00
LibWeb: Rename CommandExecutor to DisplayListPlayer
Use more widely recognized name among browser engine developers.
This commit is contained in:
parent
854b269338
commit
760dfdcc1a
Notes:
sideshowbarker
2024-07-18 00:41:35 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 760dfdcc1a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/260
18 changed files with 153 additions and 153 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue