Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qwasmvideosink.cpp
Go to the documentation of this file.
1// Copyright (C) 2022 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 "qwasmvideosink_p.h"
5
6#include <QtGui/rhi/qrhi.h>
7
9
12{
13}
14
16{
17 if (rhi && rhi->backend() != QRhi::OpenGLES2)
18 rhi = nullptr;
19 if (m_rhi == rhi)
20 return;
21 m_rhi = rhi;
22}
23
25
26#include "moc_qwasmvideosink_p.cpp"
\inmodule QtGui
Definition qrhi.h:1767
Implementation backend() const
Definition qrhi.cpp:8289
@ OpenGLES2
Definition qrhi.h:1772
The QVideoSink class represents a generic sink for video data.
Definition qvideosink.h:22
void setRhi(QRhi *) override
QWasmVideoSink(QVideoSink *parent=0)
Combined button and popup list for selecting options.
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent