Commit 6bef07c0 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Do not include KoCompositeOps.h where not needed

Use KoCompositeOpRegistry.h to get IDs of the composite opsinstead.
The former one is used by colorspaces to actually create the composite
op objects.
parent 2fdd504d
......@@ -26,6 +26,7 @@
#include <KoColorSpace.h>
#include <KoColorSpaceRegistry.h>
#include <KoColor.h>
#include <KoCompositeOpRegistry.h>
#include <kis_image.h>
......@@ -33,8 +34,6 @@
#include <kis_fill_painter.h>
#include <KoCompositeOps.h>
void KisFloodFillBenchmark::initTestCase()
{
m_colorSpace = KoColorSpaceRegistry::instance()->rgb8();
......
......@@ -27,6 +27,7 @@
#include <KoColorSpace.h>
#include <KoColorSpaceRegistry.h>
#include <KoColor.h>
#include <KoCompositeOpRegistry.h>
#include <kis_image.h>
......@@ -34,7 +35,6 @@
#include <kis_gradient_painter.h>
#include <KoCompositeOps.h>
#include <resources/KoStopGradient.h>
void KisGradientBenchmark::initTestCase()
......
......@@ -23,7 +23,6 @@
#include "KoCompositeOpAlphaDarken.h"
#include "KoAlphaDarkenParamsWrapper.h"
#include "KoCompositeOpOver.h"
#include "KoCompositeOps.h"
template<>
template<>
......
......@@ -29,7 +29,6 @@
#include <kis_paint_device.h>
#include <kis_paint_layer.h>
#include <kis_group_layer.h>
#include <KoCompositeOps.h>
#include <kis_mask_generator.h>
#include <kis_gaussian_kernel.h>
......@@ -41,6 +40,7 @@
#include <KoMixColorsOp.h>
#include <kis_paint_device.h>
#include "kis_lod_transform.h"
#include <KoCompositeOpRegistry.h>
#include "wdg_gaussianhighpass.h"
#include "ui_wdggaussianhighpass.h"
......
......@@ -24,11 +24,11 @@
#include <klocalizedstring.h>
#include <KoUpdater.h>
#include <KoCompositeOps.h>
#include <filter/kis_filter_category_ids.h>
#include "kis_filter_configuration.h"
#include <kis_filter_registry.h>
#include <KoCompositeOpRegistry.h>
#include <kis_random_accessor_ng.h>
#include <kis_sequential_iterator.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment