File indexing completed on 2024-04-28 04:21:30

0001 /*
0002  *  SPDX-FileCopyrightText: 2010 Lukáš Tvrdý lukast.dev @gmail.com
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #ifndef KIS_BCONTRAST_BENCHMARK_H
0008 #define KIS_BCONTRAST_BENCHMARK_H
0009 
0010 #include <KoColor.h>
0011 
0012 #include <kis_types.h>
0013 #include <simpletest.h>
0014 #include <kis_paint_device.h>
0015 
0016 class KoColor;
0017 
0018 class KisBContrastBenchmark : public QObject
0019 {
0020     Q_OBJECT
0021 private:
0022     const KoColorSpace * m_colorSpace;
0023     KoColor m_color;
0024     KisPaintDeviceSP m_device;        
0025     
0026     
0027 private Q_SLOTS:
0028     void initTestCase();
0029     void cleanupTestCase();
0030     
0031     void benchmarkFilter();
0032     
0033 };
0034 
0035 #endif