Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qandroidnativeinterface.cpp
Go to the documentation of this file.
1// Copyright (C) 2020 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#include <qpa/qplatformoffscreensurface.h>
5#include <qpa/qplatformintegration.h>
6
7#include <QtGui/qoffscreensurface_platform.h>
8#include <QtGui/private/qguiapplication_p.h>
9
10#include <QtGui/qpa/qplatformscreen_p.h>
11
13
14using namespace QNativeInterface::Private;
15
30QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QAndroidOffScreenIntegration);
31
32QOffscreenSurface *QNativeInterface::QAndroidOffscreenSurface::fromNative(ANativeWindow *nativeSurface)
33{
35 &QAndroidOffScreenIntegration::createOffscreenSurface>(nativeSurface);
36}
37
53
static QPlatformIntegration * platformIntegration()
Native interface to a offscreen surface on Android.
Native interface to a screen.
\inmodule QtGui
Combined button and popup list for selecting options.
#define QT_DEFINE_PRIVATE_NATIVE_INTERFACE(...)
#define QT_DEFINE_NATIVE_INTERFACE(...)