Krita Source Code Documentation
Loading...
Searching...
No Matches
KisOpenGLSync.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2021 Dmitry Kazakov <dimula73@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#ifndef KISOPENGLSYNC_H
8
#define KISOPENGLSYNC_H
9
10
#ifndef Q_OS_MACOS
11
#include <QOpenGLFunctions>
12
#else
13
#include <QOpenGLFunctions_3_2_Core>
14
#endif
15
16
#include <
opengl/kis_opengl.h
>
17
18
class
KisOpenGLSync
19
{
20
public
:
21
KisOpenGLSync
();
22
~KisOpenGLSync
();
23
24
bool
isSignaled
();
25
26
static
void
init
(QOpenGLContext *ctx);
27
28
private
:
29
GLsync
m_syncObject
= 0;
30
};
31
32
#endif
// KISOPENGLSYNC_H
KisOpenGLSync
Definition
KisOpenGLSync.h:19
KisOpenGLSync::init
static void init(QOpenGLContext *ctx)
Definition
KisOpenGLSync.cpp:113
KisOpenGLSync::~KisOpenGLSync
~KisOpenGLSync()
Definition
KisOpenGLSync.cpp:103
KisOpenGLSync::KisOpenGLSync
KisOpenGLSync()
Definition
KisOpenGLSync.cpp:98
KisOpenGLSync::isSignaled
bool isSignaled()
Definition
KisOpenGLSync.cpp:108
KisOpenGLSync::m_syncObject
GLsync m_syncObject
Definition
KisOpenGLSync.h:29
kis_opengl.h
libs
ui
opengl
KisOpenGLSync.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52