File indexing completed on 2024-05-12 15:58:37
0001 /* 0002 * SPDX-FileCopyrightText: 2014 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "kis_projection_updates_filter.h" 0008 0009 0010 #include <QtGlobal> 0011 #include <QRect> 0012 0013 KisProjectionUpdatesFilter::~KisProjectionUpdatesFilter() 0014 { 0015 } 0016 0017 bool KisDropAllProjectionUpdatesFilter::filter(KisImage *image, KisNode *node, const QVector<QRect> &rects, bool resetAnimationCache) 0018 { 0019 Q_UNUSED(image); 0020 Q_UNUSED(node); 0021 Q_UNUSED(rects); 0022 Q_UNUSED(resetAnimationCache); 0023 return true; 0024 } 0025 0026 bool KisDropAllProjectionUpdatesFilter::filterRefreshGraph(KisImage *image, KisNode *node, const QVector<QRect> &rects, const QRect &cropRect, KisUpdatesFacade::UpdateFlags flags) 0027 { 0028 Q_UNUSED(image); 0029 Q_UNUSED(node); 0030 Q_UNUSED(rects); 0031 Q_UNUSED(cropRect); 0032 Q_UNUSED(flags); 0033 return true; 0034 } 0035 0036 bool KisDropAllProjectionUpdatesFilter::filterProjectionUpdateNoFilthy(KisImage *image, KisNode *pseudoFilthy, const QVector<QRect> &rects, const QRect &cropRect, const bool resetAnimationCache) 0037 { 0038 Q_UNUSED(image); 0039 Q_UNUSED(pseudoFilthy); 0040 Q_UNUSED(rects); 0041 Q_UNUSED(cropRect); 0042 Q_UNUSED(resetAnimationCache); 0043 return true; 0044 }