![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Classes | |
| struct | Program |
Public Types | |
| enum | TextureMatrixUniform { User , Identity , IdentityFlipped , User , Identity , IdentityFlipped } |
| enum | ProgramIndex { TEXTURE_2D , TEXTURE_EXTERNAL_OES , TEXTURE_RECTANGLE , TEXTURE_2D , TEXTURE_EXTERNAL_OES , TEXTURE_RECTANGLE } |
| enum | TextureMatrixUniform { User , Identity , IdentityFlipped , User , Identity , IdentityFlipped } |
| enum | ProgramIndex { TEXTURE_2D , TEXTURE_EXTERNAL_OES , TEXTURE_RECTANGLE , TEXTURE_2D , TEXTURE_EXTERNAL_OES , TEXTURE_RECTANGLE } |
Public Attributes | |
| QOpenGLTextureBlitter * | q |
| QOpenGLBuffer | vertexBuffer |
| QOpenGLBuffer | textureBuffer |
| struct QOpenGLTextureBlitterPrivate::Program | programs [3] |
| bool | swizzle |
| float | opacity |
| QScopedPointer< QOpenGLVertexArrayObject > | vao |
| GLenum | currentTarget |
Definition at line 188 of file qopengltextureblitter.cpp.
| Enumerator | |
|---|---|
| TEXTURE_2D | |
| TEXTURE_EXTERNAL_OES | |
| TEXTURE_RECTANGLE | |
| TEXTURE_2D | |
| TEXTURE_EXTERNAL_OES | |
| TEXTURE_RECTANGLE | |
Definition at line 197 of file qopengltextureblitter.cpp.
| Enumerator | |
|---|---|
| TEXTURE_2D | |
| TEXTURE_EXTERNAL_OES | |
| TEXTURE_RECTANGLE | |
| TEXTURE_2D | |
| TEXTURE_EXTERNAL_OES | |
| TEXTURE_RECTANGLE | |
Definition at line 197 of file qopengltextureblitter.cpp.
| Enumerator | |
|---|---|
| User | |
| Identity | |
| IdentityFlipped | |
| User | |
| Identity | |
| IdentityFlipped | |
Definition at line 191 of file qopengltextureblitter.cpp.
| Enumerator | |
|---|---|
| User | |
| Identity | |
| IdentityFlipped | |
| User | |
| Identity | |
| IdentityFlipped | |
Definition at line 191 of file qopengltextureblitter.cpp.
|
inline |
Definition at line 203 of file qopengltextureblitter.cpp.
|
inline |
Definition at line 203 of file qopengltextureblitter.cpp.
| void QOpenGLTextureBlitterPrivate::blit | ( | GLuint | texture, |
| const QMatrix4x4 & | targetTransform, | ||
| const QMatrix3x3 & | sourceTransform ) |
Definition at line 318 of file qopengltextureblitter.cpp.
References QOpenGLTextureBlitterPrivate::Program::textureMatrixUniformState, and User.
| void QOpenGLTextureBlitterPrivate::blit | ( | GLuint | texture, |
| const QMatrix4x4 & | targetTransform, | ||
| const QMatrix3x3 & | sourceTransform ) |
| void QOpenGLTextureBlitterPrivate::blit | ( | GLuint | texture, |
| const QMatrix4x4 & | targetTransform, | ||
| QOpenGLTextureBlitter::Origin | origin ) |
Definition at line 335 of file qopengltextureblitter.cpp.
References Identity, IdentityFlipped, and QOpenGLTextureBlitterPrivate::Program::textureMatrixUniformState.
| void QOpenGLTextureBlitterPrivate::blit | ( | GLuint | texture, |
| const QMatrix4x4 & | targetTransform, | ||
| QOpenGLTextureBlitter::Origin | origin ) |
| bool QOpenGLTextureBlitterPrivate::buildProgram | ( | ProgramIndex | idx, |
| const char * | vs, | ||
| const char * | fs ) |
Definition at line 363 of file qopengltextureblitter.cpp.
Referenced by ensureProgram().
| bool QOpenGLTextureBlitterPrivate::buildProgram | ( | ProgramIndex | idx, |
| const char * | vs, | ||
| const char * | fs ) |
| bool QOpenGLTextureBlitterPrivate::ensureProgram | ( | ProgramIndex | idx | ) |
Definition at line 394 of file qopengltextureblitter.cpp.
References buildProgram(), fragment_shader150_rectangle, fragment_shader_external_oes, fragment_shader_rectangle, vertex_shader, and vertex_shader150.
Referenced by prepareProgram().
| bool QOpenGLTextureBlitterPrivate::ensureProgram | ( | ProgramIndex | idx | ) |
| bool QOpenGLTextureBlitterPrivate::prepareProgram | ( | const QMatrix4x4 & | vertexTransform | ) |
Definition at line 268 of file qopengltextureblitter.cpp.
References ensureProgram(), opacity, QOpenGLTextureBlitterPrivate::Program::opacity, QOpenGLTextureBlitterPrivate::Program::swizzle, and swizzle.
| bool QOpenGLTextureBlitterPrivate::prepareProgram | ( | const QMatrix4x4 & | vertexTransform | ) |
| QMatrix3x3 QOpenGLTextureBlitterPrivate::toTextureCoordinates | ( | const QMatrix3x3 & | sourceTransform | ) | const |
Definition at line 301 of file qopengltextureblitter.cpp.
| QMatrix3x3 QOpenGLTextureBlitterPrivate::toTextureCoordinates | ( | const QMatrix3x3 & | sourceTransform | ) | const |
| GLenum QOpenGLTextureBlitterPrivate::currentTarget |
Definition at line 250 of file qopengltextureblitter.cpp.
| float QOpenGLTextureBlitterPrivate::opacity |
Definition at line 248 of file qopengltextureblitter.cpp.
Referenced by prepareProgram().
| struct QOpenGLTextureBlitterPrivate::Program QOpenGLTextureBlitterPrivate::programs |
| QOpenGLTextureBlitter * QOpenGLTextureBlitterPrivate::q |
Definition at line 221 of file qopengltextureblitter.cpp.
| bool QOpenGLTextureBlitterPrivate::swizzle |
Definition at line 247 of file qopengltextureblitter.cpp.
Referenced by prepareProgram().
| QOpenGLBuffer QOpenGLTextureBlitterPrivate::textureBuffer |
Definition at line 223 of file qopengltextureblitter.cpp.
| QScopedPointer< QOpenGLVertexArrayObject > QOpenGLTextureBlitterPrivate::vao |
Definition at line 249 of file qopengltextureblitter.cpp.
| QOpenGLBuffer QOpenGLTextureBlitterPrivate::vertexBuffer |
Definition at line 222 of file qopengltextureblitter.cpp.