Lines Matching defs:source
5 * Copyright 2014 The Android Open Source Project
156 // Query source, status & log.
172 std::vector<char> source(sourceLen);
173 gl.getShaderSource(shader, (int)source.size(), &unusedLen, &source[0]);
174 info.source = std::string(&source[0], sourceLen);
214 // Shader source generator
331 const std::string source = m_srcGen.next(shaderType);
332 const char* const cSource = source.c_str();
345 log << TestLog::Shader(getLogShaderType(shader.getType()), info.source, info.compileOk, info.infoLog);
643 log << TestLog::Message << "Fail, source was not replaced." << TestLog::EndMessage;
644 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Shader source nor replaced");
648 log << TestLog::Message << "Fail, invalid shader source." << TestLog::EndMessage;
649 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Invalid source");
665 log << TestLog::Message << "Setting shader source." << TestLog::EndMessage;
670 log << TestLog::Message << "Replacing shader source." << TestLog::EndMessage;
682 // glShaderSource() split source case
1069 log << TestLog::Message << "Replacing " + std::string(getShaderTypeName(m_shaderType)) + " shader source and recompiling" << TestLog::EndMessage;
1634 log << TestLog::Message << "Replacing " + std::string(getShaderTypeName(m_shaderType)) + " shader source and recompiling" << TestLog::EndMessage;
1676 // shader source
1687 const std::string caseDesc = std::string("Replace source code of ") + shaderTypeName + " shader.";
1711 + " shader source split into "
1731 addProgramStateCase<ProgramStateReplaceSourceCase> (linkStatusGroup, m_context, "replace_source", "replace shader source");
1756 addProgramBinaryPersistenceCase<ProgramBinaryPersistenceReplaceSourceCase> (binaryPersistenceGroup, m_context, "replace_source", "replace shader source");