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
qsgvideotexture_p.h
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
#ifndef QSGVIDEOTEXTURE_H
5
#define QSGVIDEOTEXTURE_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <QtQuick/QSGTexture>
19
#include <QImage>
20
#include <
rhi/qrhi.h
>
21
#include <private/qtmultimediaquickglobal_p.h>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QSGVideoTexturePrivate
;
26
class
Q_MULTIMEDIAQUICK_EXPORT
QSGVideoTexture
:
public
QSGTexture
27
{
28
Q_DECLARE_PRIVATE(
QSGVideoTexture
)
29
public
:
30
QSGVideoTexture
();
31
~QSGVideoTexture
();
32
33
qint64
comparisonKey()
const override
;
34
QRhiTexture
*rhiTexture()
const override
;
35
QSize
textureSize()
const override
;
36
bool
hasAlphaChannel()
const override
;
37
bool
hasMipmaps()
const override
;
38
void
setRhiTexture(
QRhiTexture
*
texture
);
39
void
setData
(
QRhiTexture::Format
f
,
const
QSize
&
s
,
const
uchar
*
data
,
int
bytes);
40
41
protected
:
42
QScopedPointer<QSGVideoTexturePrivate>
d_ptr
;
43
};
44
45
QT_END_NAMESPACE
46
47
#endif
// QSGVIDEOTEXTURE_H
QRhiTexture
\inmodule QtGui
Definition
qrhi.h:895
QRhiTexture::Format
Format
Specifies the texture format.
Definition
qrhi.h:914
QSGTexture
\inmodule QtQuick
Definition
qsgtexture.h:20
QSGVideoTexturePrivate
Definition
qsgvideotexture.cpp:11
QSGVideoTexture
Definition
qsgvideotexture_p.h:27
QSGVideoTexture::d_ptr
QScopedPointer< QSGVideoTexturePrivate > d_ptr
Definition
qsgvideotexture_p.h:42
QSGVideoTexture::~QSGVideoTexture
~QSGVideoTexture()
QSize
\inmodule QtCore
Definition
qsize.h:25
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
data
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
Definition
qopengles2ext.h:206
f
GLfloat GLfloat f
Definition
qopengles2ext.h:795
texture
GLenum GLuint texture
Definition
qopengles2ext.h:416
s
GLdouble s
[6]
Definition
qopenglext.h:235
qrhi.h
uchar
unsigned char uchar
Definition
qtypes.h:32
qint64
long long qint64
Definition
qtypes.h:60
setData
mimeData setData("text/csv", csvData)
qtmultimedia
src
multimediaquick
qsgvideotexture_p.h
Generated by
1.10.0