Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
/*
* SPDX-FileCopyrightText: 2010 Lukáš Tvrdý lukast.dev @gmail.com
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KIS_BCONTRAST_BENCHMARK_H
#define KIS_BCONTRAST_BENCHMARK_H
#include <KoColor.h>
#include <kis_types.h>
#include <simpletest.h>
#include <kis_paint_device.h>
class KoColor;
class KisBContrastBenchmark : public QObject
{
Q_OBJECT
private:
const KoColorSpace * m_colorSpace;
KoColor m_color;
KisPaintDeviceSP m_device;
private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
void benchmarkFilter();
};
#endif