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>.
|
#include "qopengltextureblitter.h"
#include <QtOpenGL/QOpenGLShaderProgram>
#include <QtOpenGL/QOpenGLVertexArrayObject>
#include <QtOpenGL/QOpenGLBuffer>
#include <QtGui/QOpenGLContext>
#include <QtGui/QOpenGLFunctions>
#include <QtGui/QOpenGLExtraFunctions>
Go to the source code of this file.
Classes | |
class | QBlitterTextureBinder |
class | QOpenGLTextureBlitterPrivate |
struct | QOpenGLTextureBlitterPrivate::Program |
Macros | |
#define | GL_TEXTURE_EXTERNAL_OES 0x8D65 |
#define | GL_TEXTURE_RECTANGLE 0x84F5 |
#define | GL_TEXTURE_WIDTH 0x1000 |
#define | GL_TEXTURE_HEIGHT 0x1001 |
Functions | |
static QOpenGLTextureBlitterPrivate::ProgramIndex | targetToProgramIndex (GLenum target) |
Variables | |
static const char | vertex_shader150 [] |
static const char | fragment_shader150 [] |
static const char | vertex_shader [] |
static const char | fragment_shader [] |
static const char | fragment_shader_external_oes [] |
static const char | fragment_shader_rectangle [] |
static const char | fragment_shader150_rectangle [] |
static const GLfloat | vertex_buffer_data [] |
static const GLfloat | texture_buffer_data [] |
#define GL_TEXTURE_EXTERNAL_OES 0x8D65 |
Definition at line 14 of file qopengltextureblitter.cpp.
Referenced by targetToProgramIndex().
#define GL_TEXTURE_HEIGHT 0x1001 |
Definition at line 23 of file qopengltextureblitter.cpp.
Referenced by QOpenGLTextureBlitterPrivate::toTextureCoordinates().
#define GL_TEXTURE_RECTANGLE 0x84F5 |
Definition at line 17 of file qopengltextureblitter.cpp.
Referenced by targetToProgramIndex(), and QOpenGLTextureBlitterPrivate::toTextureCoordinates().
#define GL_TEXTURE_WIDTH 0x1000 |
Definition at line 20 of file qopengltextureblitter.cpp.
Referenced by QOpenGLContextPrivate::maxTextureSize(), and QOpenGLTextureBlitterPrivate::toTextureCoordinates().
|
inlinestatic |
Definition at line 253 of file qopengltextureblitter.cpp.
References GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_RECTANGLE, qWarning, QOpenGLTextureBlitterPrivate::TEXTURE_2D, QOpenGLTextureBlitterPrivate::TEXTURE_EXTERNAL_OES, and QOpenGLTextureBlitterPrivate::TEXTURE_RECTANGLE.
Referenced by QOpenGLTextureBlitter::bind(), QOpenGLTextureBlitterPrivate::blit(), QOpenGLTextureBlitterPrivate::blit(), QOpenGLTextureBlitterPrivate::prepareProgram(), and QOpenGLTextureBlitter::release().
|
static |
Definition at line 107 of file qopengltextureblitter.cpp.
Referenced by QOpenGLTextureBlitter::create().
|
static |
Definition at line 83 of file qopengltextureblitter.cpp.
Referenced by QOpenGLTextureBlitter::create().
|
static |
Definition at line 141 of file qopengltextureblitter.cpp.
Referenced by QOpenGLTextureBlitterPrivate::ensureProgram().
|
static |
Definition at line 118 of file qopengltextureblitter.cpp.
Referenced by QOpenGLTextureBlitterPrivate::ensureProgram().
|
static |
Definition at line 130 of file qopengltextureblitter.cpp.
Referenced by QOpenGLTextureBlitterPrivate::ensureProgram().
|
static |
Definition at line 163 of file qopengltextureblitter.cpp.
Referenced by QOpenGLTextureBlitter::create().
|
static |
Definition at line 154 of file qopengltextureblitter.cpp.
Referenced by QOpenGLTextureBlitter::create().
|
static |
Definition at line 96 of file qopengltextureblitter.cpp.
Referenced by QOpenGLTextureBlitter::create(), and QOpenGLTextureBlitterPrivate::ensureProgram().
|
static |
Definition at line 71 of file qopengltextureblitter.cpp.
Referenced by QOpenGLTextureBlitter::create(), and QOpenGLTextureBlitterPrivate::ensureProgram().