summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-06-20 12:20:50 +0100
committerLinus Groh <mail@linusgroh.de>2022-06-23 19:13:24 +0100
commitbb48a61d50ed1f1a9c4e0bdec9debfd2d0ad3b22 (patch)
treedc7200185ce81965e28bd7deeb5ced42356238c0 /Userland/Libraries/LibGfx/AntiAliasingPainter.cpp
parentff1e61bd11f35bfd34d927347bb57978ecbcdf09 (diff)
downloadserenity-bb48a61d50ed1f1a9c4e0bdec9debfd2d0ad3b22.zip
LibGfx: Flatten AntiAliasingPainter::draw_ellipse_part()
This seemed to drop the time spent here a few percent in profiling.
Diffstat (limited to 'Userland/Libraries/LibGfx/AntiAliasingPainter.cpp')
-rw-r--r--Userland/Libraries/LibGfx/AntiAliasingPainter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp b/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp
index 7cfb82110f..8f0aee5d6a 100644
--- a/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp
+++ b/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp
@@ -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)
{
/*