/sdk/emulator/opengl/host/libs/Translator/GLES_V2/ |
GLESv2Validate.cpp | 124 bool GLESv2Validate::shaderType(GLenum type){
|
GLESv2Imp.cpp | 164 GLenum shaderType = ((ShaderParser*)shaderData.Ptr())->getType(); 166 SET_ERROR_IF((pData->getAttachedShader(shaderType)!=0), GL_INVALID_OPERATION); 167 pData->attachShader(shader,shaderType); 413 RET_AND_SET_ERROR_IF(!GLESv2Validate::shaderType(type),GL_INVALID_ENUM,0); [all...] |
/external/chromium_org/third_party/angle/src/compiler/translator/ |
ParseContext.h | 31 shaderType(type), 50 sh::GLenum shaderType; // vertex or fragment language (future: pack or unpack)
|
Compiler.h | 90 sh::GLenum getShaderType() const { return shaderType; } 148 sh::GLenum shaderType;
|
/external/deqp/framework/opengl/ |
gluShaderProgram.cpp | 40 Shader::Shader (const RenderContext& renderCtx, ShaderType shaderType) 46 m_info.type = shaderType; 47 m_shader = gl.createShader(getGLShaderType(shaderType)); 290 for (int shaderType = 0; shaderType < SHADERTYPE_LAST; shaderType++) 292 for (int shaderNdx = 0; shaderNdx < (int)sources.sources[shaderType].size(); ++shaderNdx) 294 const char* source = sources.sources[shaderType][shaderNdx].c_str(); 295 const int length = (int)sources.sources[shaderType][shaderNdx].size() [all...] |
gluShaderProgram.hpp | 48 ShaderType type; //!< Shader type. 75 Shader (const RenderContext& renderCtx, ShaderType shaderType); 84 glu::ShaderType getType (void) const { return getInfo().type; } 180 bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].empty(); } 181 int getNumShaders (glu::ShaderType shaderType) const { return (int)m_shaders[shaderType].size(); [all...] |
gluES3PlusWrapperContext.cpp | 251 static void translateShaderSource (deUint32 shaderType, std::ostream& dst, const std::string& src, const std::vector<std::string>& filteredExtensions) 264 if (shaderType == GL_VERTEX_SHADER) 334 static std::string translateShaderSources (deUint32 shaderType, deInt32 count, const char* const* strings, const int* length, const std::vector<std::string>& filteredExtensions) 345 translateShaderSource(shaderType, srcOut, srcIn.str(), filteredExtensions); 358 deInt32 shaderType = GL_NONE; 359 context->gl.getShaderiv(shader, GL_SHADER_TYPE, &shaderType); 361 const std::string translatedSrc = translateShaderSources(shaderType, count, strings, length, context->extensionList);
|
/external/deqp/modules/gles3/stress/ |
es3sLongRunningShaderTests.cpp | 80 glu::ShaderType shaderType; 125 const bool isVertCase = params.shaderType == glu::SHADERTYPE_VERTEX; 264 ^ deInt32Hash(params.shaderType)
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/ |
Blit11.cpp | 383 GLenum shaderType = GL_NONE; 389 shaderType = GL_FLOAT; 392 shaderType = GL_INT; 395 shaderType = GL_UNSIGNED_INT; 403 parameters.mDestinationType = shaderType; [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderIndexingTests.cpp | 1003 static const ShaderType s_shaderTypes[] = [all...] |
es2fShaderApiTests.cpp | 72 const char* getSimpleShaderSource (const glu::ShaderType shaderType) 77 switch (shaderType) 176 virtual std::string next (const glu::ShaderType shaderType) = 0; 177 virtual bool finished (const glu::ShaderType shaderType) const = 0; 186 bool finished (const glu::ShaderType shaderType) const { DE_UNREF(shaderType); return false; [all...] |
es2fShaderLoopTests.cpp | [all...] |
es2fShaderOperatorTests.cpp | [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderIndexingTests.cpp | 968 static const ShaderType s_shaderTypes[] = [all...] |
es3fShaderLoopTests.cpp | [all...] |
es3fShaderApiTests.cpp | 77 const char* getSimpleShaderSource (const glu::ShaderType shaderType) 94 switch (shaderType) 221 virtual std::string next (const glu::ShaderType shaderType) = 0; 222 virtual bool finished (const glu::ShaderType shaderType) const = 0; 231 bool finished (const glu::ShaderType shaderType) const { DE_UNREF(shaderType); return false; [all...] |
es3fShaderOperatorTests.cpp | 321 static inline float getGLSLUintMaxAsFloat (const glw::Functions& gl, ShaderType shaderType, Precision uintPrecision) 336 switch (shaderType) 378 float getValue (const glw::Functions& gl, ShaderType shaderType) const 386 case SYMBOL_LOWP_UINT_MAX: return getGLSLUintMaxAsFloat(gl, shaderType, PRECISION_LOWP); 387 case SYMBOL_MEDIUMP_UINT_MAX: return getGLSLUintMaxAsFloat(gl, shaderType, PRECISION_MEDIUMP); 389 case SYMBOL_LOWP_UINT_MAX_RECIPROCAL: return 1.0f / getGLSLUintMaxAsFloat(gl, shaderType, PRECISION_LOWP); 390 case SYMBOL_MEDIUMP_UINT_MAX_RECIPROCAL: return 1.0f / getGLSLUintMaxAsFloat(gl, shaderType, PRECISION_MEDIUMP); 392 case SYMBOL_ONE_MINUS_UINT32MAX_DIV_LOWP_UINT_MAX: return 1.0f - (float)std::numeric_limits<deUint32>::max() / getGLSLUintMaxAsFloat(gl, shaderType, PRECISION_LOWP) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fProgramInterfaceDefinitionUtil.cpp | 124 static const char* getShaderTypeDeclarations (glu::ShaderType type) [all...] |
es31fOpaqueTypeIndexingTests.cpp | 315 SamplerIndexingCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType, glu::DataType samplerType, IndexExprType indexExprType); 327 const glu::ShaderType m_shaderType; 332 SamplerIndexingCase::SamplerIndexingCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType, glu::DataType samplerType, IndexExprType indexExprType) 334 , m_shaderType (shaderType) 650 BlockArrayIndexingCase (Context& context, const char* name, const char* description, BlockType blockType, IndexExprType indexExprType, ShaderType shaderType); 664 const ShaderType m_shaderType; 669 BlockArrayIndexingCase::BlockArrayIndexingCase (Context& context, const char* name, const char* description, BlockType blockType, IndexExprType indexExprType, ShaderType shaderType [all...] |
es31fLayoutBindingTests.cpp | 70 enum ShaderType 85 std::string generateVertexShader (ShaderType shaderType, const std::string& shaderUniformDeclarations, const std::string& shaderBody) 94 switch (shaderType) 125 std::string generateFragmentShader (ShaderType shaderType, const std::string& shaderUniformDeclarations, const std::string& shaderBody) 135 switch (shaderType) 212 ShaderType shaderType, 232 const ShaderType m_shaderType [all...] |
/external/deqp/modules/glshared/ |
glsLifetimeTests.cpp | 106 CheckedShader (const RenderContext& renderCtx, glu::ShaderType type, const string& src) 182 bool ShaderType::isDeleteFlagged (GLuint name) 468 GLint shaderType = GL_NONE; 469 gl().getShaderiv(shaders[ndx], GL_SHADER_TYPE, &shaderType); 471 if (shaderType == GL_FRAGMENT_SHADER) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
GLState.java | 364 IGLProperty shaderType = new GLEnumProperty(GLStateType.SHADER_TYPE, 369 shaderType, shaderSource);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
StateTransformFactory.java | [all...] |
/external/deqp/executor/ |
xeTestCaseResult.hpp | 304 enum ShaderType 316 Shader (void) : Item(TYPE_SHADER), shaderType(SHADERTYPE_LAST), compileStatus(false) {} 319 ShaderType shaderType;
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
WebGLRenderingContextBase.cpp | [all...] |