DtkDeclarative
DTK Declarative module
载入中...
搜索中...
未找到
dquickblitframebuffer.h
1
// SPDX-FileCopyrightText: 2021 - 2022 UnionTech Software Technology Co., Ltd.
2
//
3
// SPDX-License-Identifier: LGPL-3.0-or-later
4
5
#ifndef DQUICKBLITFRAMEBUFFER_H
6
#define DQUICKBLITFRAMEBUFFER_H
7
8
#include <QQuickItem>
9
#include <dtkdeclarative_global.h>
10
#include <DObject>
11
12
DQUICK_BEGIN_NAMESPACE
13
14
class
DQuickBlitFramebufferPrivate;
15
class
Q_DECL_EXPORT
DQuickBlitFramebuffer
:
public
QQuickItem,
public
DCORE_NAMESPACE::DObject
16
{
17
Q_OBJECT
18
D_DECLARE_PRIVATE(
DQuickBlitFramebuffer
)
19
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
20
QML_NAMED_ELEMENT(BlitFramebuffer)
21
#endif
22
public
:
23
explicit
DQuickBlitFramebuffer
(QQuickItem *parent =
nullptr
);
24
~DQuickBlitFramebuffer
();
25
26
bool
isTextureProvider()
const override
;
27
QSGTextureProvider *textureProvider()
const override
;
28
29
private
Q_SLOTS:
30
void
invalidateSceneGraph();
31
32
private
:
33
QSGNode *updatePaintNode(QSGNode *, UpdatePaintNodeData *)
override
;
34
void
itemChange(ItemChange,
const
ItemChangeData &)
override
;
35
void
releaseResources()
override
;
36
};
37
38
DQUICK_END_NAMESPACE
39
40
#endif
// DQUICKBLITFRAMEBUFFER_H
Dtk::Quick::DQuickBlitFramebuffer
Definition
dquickblitframebuffer.h:16
src
dquickblitframebuffer.h
文档生成时间:2024-02-02-06:50 +00
Doxygen Version
1.9.8
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享