Functions | |
| bool | is_enabled () |
| Checks if SIMD hardware acceleration is allowed/enabeled. More... | |
Variables | |
| constexpr std::size_t | SIMD_THRESHOLD = 64 |
| Minimum number of pixels required to trigger SIMD optimizations. More... | |
|
inline |
Checks if SIMD hardware acceleration is allowed/enabeled.
Definition at line 38 of file utils_simd.hpp.
References prefs::get(), and game_config::no_simd.
Referenced by adjust_surface_color(), apply_surface_opacity(), map_labels::enable(), flip_surface(), and mask_surface().
|
constexpr |
Minimum number of pixels required to trigger SIMD optimizations.
Definition at line 35 of file utils_simd.hpp.
Referenced by adjust_surface_color_simd(), apply_surface_opacity_simd(), flip_image_simd(), and mask_surface_simd().