4#ifndef QSGVIDEOMATERIAL_VIVMAP_H
5#define QSGVIDEOMATERIAL_VIVMAP_H
14#include <private/qsgvideonode_p.h>
49 GLenum mMapError = GL_NO_ERROR;
54 GLvoid *mTexDirectPlanes[3];
The QSGMaterialShader class represents a graphics API independent shader program.
The QSGMaterial class encapsulates rendering state for a shader program.
RenderMode
\value RenderMode2D Normal 2D rendering \value RenderMode2DNoDepthBuffer Normal 2D rendering with dep...
~QSGVivanteVideoMaterial()
void setCurrentFrame(const QVideoFrame &frame, QSGVideoNode::FrameFlags flags)
int compare(const QSGMaterial *other) const override
Compares this material to other and returns 0 if they are equal; -1 if this material should sort befo...
QSGVivanteVideoMaterial()
QSGMaterialType * type() const override
This function is called by the scene graph to query an identifier that is unique to the QSGMaterialSh...
GLuint vivanteMapping(QVideoFrame texIdVideoFramePair)
QSGMaterialShader * createShader(QSGRendererInterface::RenderMode) const override
This function returns a new instance of a the QSGMaterialShader implementation used to render geometr...
The QVideoFrame class represents a frame of video data.
typedef GLenum(GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC)(void)
The QSGMaterialType class is used as a unique type token in combination with QSGMaterial.