mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 19:57:45 +03:00
LibGfx: Flatten AntiAliasingPainter::draw_ellipse_part()
This seemed to drop the time spent here a few percent in profiling.
This commit is contained in:
parent
ff1e61bd11
commit
bb48a61d50
Notes:
sideshowbarker
2024-07-17 10:01:10 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/bb48a61d50 Pull-request: https://github.com/SerenityOS/serenity/pull/14343 Reviewed-by: https://github.com/linusg
@ -289,7 +289,7 @@ void AntiAliasingPainter::fill_ellipse(IntRect const& a_rect, Color color, Blend
|
||||
draw_ellipse_part(center, radius_b, radius_a, color, true, x_paint_range, blend_mode);
|
||||
}
|
||||
|
||||
AntiAliasingPainter::Range AntiAliasingPainter::draw_ellipse_part(
|
||||
FLATTEN AntiAliasingPainter::Range AntiAliasingPainter::draw_ellipse_part(
|
||||
IntPoint center, int radius_a, int radius_b, Color color, bool flip_x_and_y, Optional<Range> x_clip, BlendMode blend_mode)
|
||||
{
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user