Home | History | Annotate | Download | only in functional

Lines Matching defs:source

5  * Copyright 2014 The Android Open Source Project
139 // Query source, status & log.
155 std::vector<char> source(sourceLen);
156 gl.getShaderSource(shader, (int)source.size(), &unusedLen, &source[0]);
157 info.source = std::string(&source[0], sourceLen);
169 // Shader source generator
202 std::string source =
206 return source;
278 const std::string source = m_srcGen.next(shaderType);
279 const char* const cSource = source.c_str();
291 log << TestLog::Shader(getLogShaderType(shader.getType()), info.source, info.compileOk, info.infoLog);
586 log << TestLog::Message << "Fail, source was not replaced." << TestLog::EndMessage;
587 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Shader source nor replaced");
591 log << TestLog::Message << "Fail, invalid shader source." << TestLog::EndMessage;
592 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Invalid source");
608 log << TestLog::Message << "Setting shader source." << TestLog::EndMessage;
613 log << TestLog::Message << "Replacing shader source." << TestLog::EndMessage;
625 // glShaderSource() split source case
1009 log << TestLog::Message << "Replacing " + std::string(getShaderTypeName(m_shaderType)) + " shader source and recompiling" << TestLog::EndMessage;
1051 // shader source
1061 const std::string caseDesc = std::string("Replace source code of ") + ((shaderType == glu::SHADERTYPE_FRAGMENT) ? "fragment" : "vertex") + " shader.";
1085 + " shader source split into "
1105 addProgramStateCase<ProgramStateReplaceSourceCase> (linkStatusGroup, m_context, "replace_source", "replace shader source");