Skip to content

Commit

Permalink
LibGfx: Slap an -O3 optimization #pragma on FastBoxBlurFilter
Browse files Browse the repository at this point in the history
This is done elsewhere in LibGfx, but adding it here is more of a
prayer for speed.
  • Loading branch information
MacDue authored and linusg committed Jun 23, 2022
1 parent 30a0ed6 commit 4ffbe92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Userland/Libraries/LibGfx/Filters/FastBoxBlurFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 4ffbe92

Please sign in to comment.