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
qohosplatformbackingstoregl.h
Go to the documentation of this file.
1
// Copyright (C) 2025 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
4
#
ifndef
QOHOSPLATFORMBACKINGSTOREGL_H
5
#
define
QOHOSPLATFORMBACKINGSTOREGL_H
6
7
#
include
<
QtCore
/
qglobal
.
h
>
8
#
include
<
memory
>
9
#
include
<
qpa
/
qplatformbackingstore
.
h
>
10
11
QT_BEGIN_NAMESPACE
12
13
std::unique_ptr<QPlatformBackingStore> makeGlOhosPlatformBackingStore(QWindow *window);
14
15
QT_END_NAMESPACE
16
17
#
endif
QOhosPlatformScreen
Definition
qohosplatformscreen.h:29
QOhosPlatformWindow
Definition
qohosplatformwindow.h:30
QOhosView
Definition
qohosview.h:45
QT_BEGIN_NAMESPACE::QOhosPlatformBackingStoreGL
Definition
qohosplatformbackingstoregl.cpp:122
QT_BEGIN_NAMESPACE::QOhosPlatformBackingStoreGL::beginPaint
void beginPaint(const QRegion &) override
This function is called before painting onto the surface begins, with the region in which the paintin...
Definition
qohosplatformbackingstoregl.cpp:233
QT_BEGIN_NAMESPACE::QOhosPlatformBackingStoreGL::toImage
QImage toImage() const override
Implemented in subclasses to return the content of the backingstore as a QImage.
Definition
qohosplatformbackingstoregl.cpp:252
QT_BEGIN_NAMESPACE::QOhosPlatformBackingStoreGL::flush
void flush(QWindow *targetWindow, const QRegion &relToParentWindowRegion, const QPoint &relToRootWindowOffset) override
Flushes the given region from the specified window.
Definition
qohosplatformbackingstoregl.cpp:160
QT_BEGIN_NAMESPACE::QOhosPlatformBackingStoreGL::endPaint
void endPaint() override
This function is called after painting onto the surface has ended.
Definition
qohosplatformbackingstoregl.cpp:247
QT_BEGIN_NAMESPACE::QOhosPlatformBackingStoreGL::paintDevice
QPaintDevice * paintDevice() override
Implement this function to return the appropriate paint device.
Definition
qohosplatformbackingstoregl.cpp:155
QT_BEGIN_NAMESPACE::QOhosPlatformBackingStoreGL::resize
void resize(const QSize &size, const QRegion &staticContents) override
Definition
qohosplatformbackingstoregl.cpp:197
QT_BEGIN_NAMESPACE::QOhosPlatformBackingStoreGL::QOhosPlatformBackingStoreGL
QOhosPlatformBackingStoreGL(QWindow *window)
Definition
qohosplatformbackingstoregl.cpp:149
QT_BEGIN_NAMESPACE::QOhosPlatformBackingStoreGL::~QOhosPlatformBackingStoreGL
~QOhosPlatformBackingStoreGL() override=default
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QT_BEGIN_NAMESPACE::blitFramebufferToWindow
void blitFramebufferToWindow(QOpenGLTextureBlitter &blitter, QOpenGLFramebufferObject &framebuffer, const QRect &srcRect)
Definition
qohosplatformbackingstoregl.cpp:72
QT_BEGIN_NAMESPACE::unbindFrameBufferObject
void unbindFrameBufferObject(QOpenGLFramebufferObject &fbo)
Definition
qohosplatformbackingstoregl.cpp:50
QT_BEGIN_NAMESPACE::unbindTextureBlitter
void unbindTextureBlitter(QOpenGLTextureBlitter &blitter)
Definition
qohosplatformbackingstoregl.cpp:55
QT_BEGIN_NAMESPACE::setViewportAndClearColorBuffer
void setViewportAndClearColorBuffer(QOpenGLContext &glCtx, const QSize &viewportSize, const QColor &clearColor)
Definition
qohosplatformbackingstoregl.cpp:60
QT_BEGIN_NAMESPACE::makeSourceTransform
QMatrix3x3 makeSourceTransform(const QRect &targetSubTexture, const QSizeF &srcTextureSize)
Definition
qohosplatformbackingstoregl.cpp:23
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
makeGlOhosPlatformBackingStore
std::unique_ptr< QPlatformBackingStore > makeGlOhosPlatformBackingStore(QWindow *window)
Definition
qohosplatformbackingstoregl.cpp:261
QT_BEGIN_NAMESPACE::RenderContextData
Definition
qohosplatformbackingstoregl.cpp:88
QT_BEGIN_NAMESPACE::RenderContextData::surfaceResolution
QSize surfaceResolution
Definition
qohosplatformbackingstoregl.cpp:93
QT_BEGIN_NAMESPACE::RenderContextData::unscaledWindowGeometry
QRect unscaledWindowGeometry
Definition
qohosplatformbackingstoregl.cpp:92
QT_BEGIN_NAMESPACE::RenderContextData::platformWindow
QOhosPlatformWindow * platformWindow
Definition
qohosplatformbackingstoregl.cpp:90
QT_BEGIN_NAMESPACE::RenderContextData::view
QOhosView * view
Definition
qohosplatformbackingstoregl.cpp:91
QT_BEGIN_NAMESPACE::RenderContextData::qWindow
QWindow * qWindow
Definition
qohosplatformbackingstoregl.cpp:89
QT_BEGIN_NAMESPACE::RenderContextData::tryCreateForQWindow
static std::optional< RenderContextData > tryCreateForQWindow(QWindow *window)
Definition
qohosplatformbackingstoregl.cpp:98
qtbase
src
plugins
platforms
ohos
qohosplatformbackingstoregl.h
Generated on
for Qt by
1.18.0