Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qvideowindow.cpp File Reference
#include "qvideowindow_p.h"
#include <QPlatformSurfaceEvent>
#include <qfile.h>
#include <qpainter.h>
#include <private/qguiapplication_p.h>
#include <private/qmemoryvideobuffer_p.h>
#include <qpa/qplatformintegration.h>
#include "moc_qvideowindow_p.cpp"
+ Include dependency graph for qvideowindow.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE QSurface::SurfaceType platformSurfaceType ()
 
static QShader vwGetShader (const QString &name)
 

Variables

static const float g_vw_quad []
 

Function Documentation

◆ platformSurfaceType()

static QT_BEGIN_NAMESPACE QSurface::SurfaceType platformSurfaceType ( )
static

Definition at line 14 of file qvideowindow.cpp.

References Qt::AA_ForceRasterWidgets, QSurface::Direct3DSurface, QSurface::MetalSurface, QPlatformIntegration::OpenGL, QSurface::OpenGLSurface, QGuiApplicationPrivate::platformIntegration(), QPlatformIntegration::RasterGLSurface, QSurface::RasterGLSurface, QSurface::RasterSurface, and QCoreApplication::testAttribute().

Referenced by QVideoWindowPrivate::QVideoWindowPrivate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vwGetShader()

static QShader vwGetShader ( const QString name)
static

Definition at line 101 of file qvideowindow.cpp.

References QShader::fromSerialized(), and QIODeviceBase::ReadOnly.

Referenced by QVideoWindowPrivate::setupGraphicsPipeline().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ g_vw_quad

const float g_vw_quad[]
static
Initial value:
= {
-1.f, -1.f, 0.f, 0.f,
-1.f, 1.f, 0.f, 1.f,
1.f, -1.f, 1.f, 0.f,
1.f, 1.f, 1.f, 1.f,
-1.f, -1.f, 0.f, 1.f,
-1.f, 1.f, 1.f, 1.f,
1.f, -1.f, 0.f, 0.f,
1.f, 1.f, 1.f, 0.f,
-1.f, -1.f, 1.f, 1.f,
-1.f, 1.f, 1.f, 0.f,
1.f, -1.f, 0.f, 1.f,
1.f, 1.f, 0.f, 0.f,
-1.f, -1.f, 1.f, 0.f,
-1.f, 1.f, 0.f, 0.f,
1.f, -1.f, 1.f, 1.f,
1.f, 1.f, 0.f, 1.f
}

Definition at line 76 of file qvideowindow.cpp.

Referenced by QVideoWindowPrivate::initRhi(), and QVideoWindowPrivate::render().