Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qminimaleglbackingstore.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QMINIMALEGLBACKINGSTORE_H
6
#
define
QMINIMALEGLBACKINGSTORE_H
7
8
#
include
<
qpa
/
qplatformbackingstore
.
h
>
9
10
QT_BEGIN_NAMESPACE
11
12
class
QOpenGLContext;
13
class
QOpenGLPaintDevice
;
14
15
class
QMinimalEglBackingStore
:
public
QPlatformBackingStore
16
{
17
public
:
18
QMinimalEglBackingStore
(QWindow *window);
19
~
QMinimalEglBackingStore
();
20
21
QPaintDevice
*
paintDevice
()
override
;
22
23
void
beginPaint
(
const
QRegion &)
override
;
24
void
endPaint
()
override
;
25
26
void
flush
(QWindow *window,
const
QRegion ®ion,
const
QPoint &offset)
override
;
27
void
resize
(
const
QSize &size,
const
QRegion &staticContents)
override
;
28
29
private
:
30
QOpenGLContext *m_context;
31
QOpenGLPaintDevice
*m_device;
32
};
33
34
QT_END_NAMESPACE
35
36
#
endif
// QMINIMALEGLBACKINGSTORE_H
QMinimalEglBackingStore
Definition
qminimaleglbackingstore.h:16
QMinimalEglBackingStore::~QMinimalEglBackingStore
~QMinimalEglBackingStore()
Definition
qminimaleglbackingstore.cpp:22
QMinimalEglBackingStore::endPaint
void endPaint() override
This function is called after painting onto the surface has ended.
Definition
qminimaleglbackingstore.cpp:50
QMinimalEglBackingStore::QMinimalEglBackingStore
QMinimalEglBackingStore(QWindow *window)
Definition
qminimaleglbackingstore.cpp:12
QMinimalEglBackingStore::resize
void resize(const QSize &size, const QRegion &staticContents) override
Definition
qminimaleglbackingstore.cpp:55
QMinimalEglBackingStore::paintDevice
QPaintDevice * paintDevice() override
Implement this function to return the appropriate paint device.
Definition
qminimaleglbackingstore.cpp:27
QMinimalEglBackingStore::flush
void flush(QWindow *window, const QRegion ®ion, const QPoint &offset) override
Flushes the given region from the specified window.
Definition
qminimaleglbackingstore.cpp:32
QMinimalEglBackingStore::beginPaint
void beginPaint(const QRegion &) override
This function is called before painting onto the surface begins, with the region in which the paintin...
Definition
qminimaleglbackingstore.cpp:44
QOpenGLFramebufferObject::QOpenGLPaintDevice
friend class QOpenGLPaintDevice
Definition
qopenglframebufferobject.h:121
QWindow
\inmodule QtGui
Definition
qwindow.h:64
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtbase
src
plugins
platforms
minimalegl
qminimaleglbackingstore.h
Generated on
for Qt by
1.18.0