Revision control
++ // Copyright (C) 2016 The Qt Company Ltd.
++ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
++ // Qt-Security score:significant reason:default
++
++ #ifndef QPLATFORMGRAPHICSBUFFERHELPER_H
++ #define QPLATFORMGRAPHICSBUFFERHELPER_H
++
++ #include <QtGui/qtguiglobal.h>
++ #include <QtGui/qpa/qplatformgraphicsbuffer.h>
++
++ QT_BEGIN_NAMESPACE
++
++ namespace QPlatformGraphicsBufferHelper {
++ Q_GUI_EXPORT bool lockAndBindToTexture(QPlatformGraphicsBuffer *graphicsBuffer, bool *swizzleRandB, bool *premultipliedB, const QRect &rect = QRect());
++ bool bindSWToTexture(const QPlatformGraphicsBuffer *graphicsBuffer, bool *swizzleRandB = nullptr, bool *premultipliedB = nullptr, const QRect &rect = QRect());
++ }
++
++ QT_END_NAMESPACE
++
++ #endif