Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_opengl_canvas_debugger.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2015 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef __KIS_OPENGL_CANVAS_DEBUGGER_H
8#define __KIS_OPENGL_CANVAS_DEBUGGER_H
9
10#include <QScopedPointer>
11#include <QObject>
12
13
14class KisOpenglCanvasDebugger : public QObject
15{
16 Q_OBJECT
17public:
20
22
23 bool showFpsOnCanvas() const;
24
26 void notifySyncStatus(bool value);
27 qreal accumulatedFps();
28
29private Q_SLOTS:
30 void slotConfigChanged();
31
32private:
33 struct Private;
34 const QScopedPointer<Private> m_d;
35};
36
37#endif /* __KIS_OPENGL_CANVAS_DEBUGGER_H */
float value(const T *src, size_t ch)
static KisOpenglCanvasDebugger * instance()
const QScopedPointer< Private > m_d