File indexing completed on 2024-12-22 04:09:15

0001 /*
0002  *  SPDX-FileCopyrightText: 2023 Wolthera van Hövell tot Westerflier <griffinvalley@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #include "KoClipMaskApplicatorFactoryImpl.h"
0008 
0009 #ifndef DISABLE_CLIP_MASK_PAINTER_ON_MACOS
0010 
0011 template<>
0012 KoClipMaskApplicatorBase * KoClipMaskApplicatorFactoryImpl::create<xsimd::current_arch>()
0013 {
0014     return new KoClipMaskApplicator<xsimd::current_arch>();
0015 }
0016 
0017 #else
0018 
0019 template<>
0020 KoClipMaskApplicatorBase * KoClipMaskApplicatorFactoryImpl::create<xsimd::generic>()
0021 {
0022     return new KoClipMaskApplicator<xsimd::generic>();
0023 }
0024 
0025 #endif