File indexing completed on 2025-02-16 04:05:06
0001 /* 0002 * SPDX-FileCopyrightText: 2015 Thorsten Zachmann <zachmann@kde.org> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KIS_LEVEL_FILTER_BENCHMARK_H 0008 #define KIS_LEVEL_FILTER_BENCHMARK_H 0009 0010 #include <simpletest.h> 0011 #include <kis_types.h> 0012 #include <KoColor.h> 0013 #include <kis_paint_device.h> 0014 0015 class KoColor; 0016 0017 class KisLevelFilterBenchmark : public QObject 0018 { 0019 Q_OBJECT 0020 0021 private: 0022 const KoColorSpace * m_colorSpace; 0023 KisPaintDeviceSP m_device; 0024 KoColor m_color; 0025 0026 private Q_SLOTS: 0027 void initTestCase(); 0028 void cleanupTestCase(); 0029 0030 void benchmarkFilter(); 0031 }; 0032 0033 #endif // KIS_LEVEL_FILTER_BENCHMARK_H