mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 14:02:51 +00:00
Everywhere: Remove AffineCommandExecutorCPU
No need to have it after introduction of Skia painter that supports transforms.
This commit is contained in:
parent
de6d99e940
commit
0b48c1ea3f
Notes:
sideshowbarker
2024-07-17 06:35:23 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 0b48c1ea3f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/212
Reviewed-by: https://github.com/awesomekling ✅
17 changed files with 12 additions and 443 deletions
|
@ -101,7 +101,6 @@ RefPtr<Gfx::Bitmap> SVGDecodedImageData::render(Gfx::IntSize size) const
|
|||
auto painting_command_executor_type = m_page_client->painting_command_executor_type();
|
||||
switch (painting_command_executor_type) {
|
||||
case PaintingCommandExecutorType::CPU:
|
||||
case PaintingCommandExecutorType::CPUWithExperimentalTransformSupport:
|
||||
case PaintingCommandExecutorType::GPU: { // GPU painter does not have any path rasterization support so we always fall back to CPU painter
|
||||
Painting::CommandExecutorCPU executor { *bitmap };
|
||||
painting_commands.execute(executor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue