(35022c1698664b1171e0e5e9611bd9de75d31765)
#include "qopenglshaderprogram.h"
#include "qopenglextrafunctions.h"
#include "private/qopenglcontext_p.h"
#include <QtOpenGL/QOpenGLVersionFunctionsFactory>
#include <QtCore/private/qobject_p.h>
#include <QtCore/qdebug.h>
#include <QtCore/qfile.h>
#include <QtCore/qlist.h>
#include <QtCore/qloggingcategory.h>
#include <QtCore/qvarlengtharray.h>
#include <QtGui/private/qopenglprogrambinarycache_p.h>
#include <QtGui/qtransform.h>
#include <QtGui/QColor>
#include <QtGui/QSurfaceFormat>
#include <QtOpenGL/qopenglfunctions_4_0_core.h>
#include <algorithm>
#include <memory>
#include "moc_qopenglshaderprogram.cpp"
Go to the source code of this file.
|
#define | GL_GEOMETRY_SHADER 0x8DD9 |
|
#define | GL_TESS_CONTROL_SHADER 0x8E88 |
|
#define | GL_TESS_EVALUATION_SHADER 0x8E87 |
|
#define | GL_COMPUTE_SHADER 0x91B9 |
|
#define | GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 |
|
#define | GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 |
|
#define | GL_PATCH_VERTICES 0x8E72 |
|
#define | GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74 |
|
#define | GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73 |
|
#define | setUniformMatrixArray(func, location, values, count, type, cols, rows) |
|
#define | setUniformGenericMatrixArray(colfunc, location, values, count, type, cols, rows) |
|
◆ GL_COMPUTE_SHADER
#define GL_COMPUTE_SHADER 0x91B9 |
◆ GL_GEOMETRY_SHADER
#define GL_GEOMETRY_SHADER 0x8DD9 |
◆ GL_MAX_GEOMETRY_OUTPUT_VERTICES
#define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 |
◆ GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS
#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 |
◆ GL_PATCH_DEFAULT_INNER_LEVEL
#define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73 |
◆ GL_PATCH_DEFAULT_OUTER_LEVEL
#define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74 |
◆ GL_PATCH_VERTICES
#define GL_PATCH_VERTICES 0x8E72 |
◆ GL_TESS_CONTROL_SHADER
#define GL_TESS_CONTROL_SHADER 0x8E88 |
◆ GL_TESS_EVALUATION_SHADER
#define GL_TESS_EVALUATION_SHADER 0x8E87 |
◆ setUniformGenericMatrixArray
Value:
return; \
} else { \
for (int index2 = 0; index2 < (cols * rows); ++index2) { \
temp.data()[cols * rows *
index + index2] = \
} \
} \
}
typedef GLfloat(GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC)(GLuint path
GLenum GLsizei GLsizei GLint * values
[15]
GLenum GLenum GLsizei count
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
[0]
Definition at line 3197 of file qopenglshaderprogram.cpp.
◆ setUniformMatrixArray
Value:
return; \
} else { \
for (int index2 = 0; index2 < (cols * rows); ++index2) { \
temp.data()[cols * rows *
index + index2] = \
} \
} \
}
Definition at line 3181 of file qopenglshaderprogram.cpp.
◆ findVersionDirectivePosition()
◆ isFormatGLES()
◆ qt_shaderStageToType()
static QOpenGLShader::ShaderType qt_shaderStageToType |
( |
QShader::Stage | stage | ) |
|
|
inlinestatic |
◆ qt_shaderTypeToStage()
static QShader::Stage qt_shaderTypeToStage |
( |
QOpenGLShader::ShaderType | type | ) |
|
|
inlinestatic |
◆ supportsCompute()
◆ supportsGeometry()
◆ supportsTessellation()
◆ blendEquationAdvancedHeader
static const char blendEquationAdvancedHeader |
|
static |
Initial value:=
"#ifdef GL_KHR_blend_equation_advanced\n"
"#extension GL_ARB_fragment_coord_conventions : enable\n"
"#extension GL_KHR_blend_equation_advanced : enable\n"
"#endif\n"
Definition at line 451 of file qopenglshaderprogram.cpp.
◆ qualifierDefines
static const char qualifierDefines |
|
static |