mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibGfx: Slap an -O3 optimization #pragma on FastBoxBlurFilter
This is done elsewhere in LibGfx, but adding it here is more of a prayer for speed.
This commit is contained in:
parent
30a0ed6678
commit
4ffbe9284e
Notes:
sideshowbarker
2024-07-17 18:06:52 +09:00
Author: https://github.com/MacDue
Commit: 4ffbe9284e
Pull-request: https://github.com/SerenityOS/serenity/pull/14343
Reviewed-by: https://github.com/linusg
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
# pragma GCC optimize("O3")
|
||||
#endif
|
||||
|
||||
#include <AK/Function.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibGfx/Filters/FastBoxBlurFilter.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue