/external/deqp/framework/opengl/ |
gluShaderProgram.hpp | 166 struct ProgramSources; 177 ShaderProgram (const glw::Functions& gl, const ProgramSources& sources); 178 ShaderProgram (const RenderContext& renderCtx, const ProgramSources& sources); 192 void init (const glw::Functions& gl, const ProgramSources& sources); 207 // ProgramSources utilities and implementation. 287 struct ProgramSources 296 ProgramSources (void) : transformFeedbackBufferMode(0), separable(false) {} 298 ProgramSources& operator<< (const AttribLocationBinding& binding) { attribLocationBindings.push_back(binding); return *this; } 299 ProgramSources& operator<< (const TransformFeedbackMode& mode) { transformFeedbackBufferMode = mode.mode; return *this; } 300 ProgramSources& operator<< (const TransformFeedbackVarying& varying) { transformFeedbackVaryings.push_back (…) [all...] |
gluShaderProgram.cpp | 309 ShaderProgram::ShaderProgram (const RenderContext& renderCtx, const ProgramSources& sources) 315 ShaderProgram::ShaderProgram (const glw::Functions& gl, const ProgramSources& sources) 321 void ShaderProgram::init (const glw::Functions& gl, const ProgramSources& sources)
|
gluContextInfo.cpp | 53 ProgramSources() << VertexSource(m_vertexSource)
|
/external/deqp/modules/glshared/ |
glsShaderLibraryCase.hpp | 205 void specializeVertexShaders (glu::ProgramSources& dst, const std::vector<std::string>& sources, const ValueBlock& valueBlock, const std::vector<ShaderCase::CaseRequirement>& requirements) const; 206 void specializeFragmentShaders (glu::ProgramSources& dst, const std::vector<std::string>& sources, const ValueBlock& valueBlock, const std::vector<ShaderCase::CaseRequirement>& requirements) const; 207 void specializeGeometryShaders (glu::ProgramSources& dst, const std::vector<std::string>& sources, const ValueBlock& valueBlock, const std::vector<ShaderCase::CaseRequirement>& requirements) const; 208 void specializeTessControlShaders (glu::ProgramSources& dst, const std::vector<std::string>& sources, const ValueBlock& valueBlock, const std::vector<ShaderCase::CaseRequirement>& requirements) const; 209 void specializeTessEvalShaders (glu::ProgramSources& dst, const std::vector<std::string>& sources, const ValueBlock& valueBlock, const std::vector<ShaderCase::CaseRequirement>& requirements) const; 219 glu::ProgramSources programSources;
|
glsShaderLibraryCase.cpp | 454 specializeVertexShaders (m_programs[programNdx].programSources, m_programs[programNdx].spec.vertexSources, valueBlock, m_programs[programNdx].spec.requirements); 455 specializeFragmentShaders (m_programs[programNdx].programSources, m_programs[programNdx].spec.fragmentSources, valueBlock, m_programs[programNdx].spec.requirements); 456 specializeGeometryShaders (m_programs[programNdx].programSources, m_programs[programNdx].spec.geometrySources, valueBlock, m_programs[programNdx].spec.requirements); 457 specializeTessControlShaders(m_programs[programNdx].programSources, m_programs[programNdx].spec.tessCtrlSources, valueBlock, m_programs[programNdx].spec.requirements); 458 specializeTessEvalShaders (m_programs[programNdx].programSources, m_programs[programNdx].spec.tessEvalSources, valueBlock, m_programs[programNdx].spec.requirements); 466 m_programs[0].programSources << glu::VertexSource(specializeVertexShader(m_programs[0].spec.vertexSources[0].c_str(), valueBlock)); 467 m_programs[0].programSources << glu::FragmentSource(genFragmentShader(valueBlock)); 475 m_programs[0].programSources << glu::VertexSource(genVertexShader(valueBlock)); 476 m_programs[0].programSources << glu::FragmentSource(specializeFragmentShader(m_programs[0].spec.fragmentSources[0].c_str(), valueBlock)); 479 m_programs[programNdx].programSources << glu::ProgramSeparable(m_separatePrograms) [all...] |
glsShaderExecUtil.cpp | 421 VertexProcessorExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, const glu::ProgramSources& sources); 461 VertexProcessorExecutor::VertexProcessorExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, const glu::ProgramSources& sources) 464 glu::ProgramSources(sources) << getTFVaryings(shaderSpec.outputs.begin(), shaderSpec.outputs.end()) 575 glu::ProgramSources() << glu::VertexSource(generateVertexShader(shaderSpec)) 601 glu::ProgramSources() << glu::VertexSource(generatePassthroughVertexShader(shaderSpec, "", "geom_")) 660 glu::ProgramSources() << glu::VertexSource(generatePassthroughVertexShader(shaderSpec, "a_", "")) 857 BufferIoExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, const glu::ProgramSources& sources); [all...] |
/external/deqp/modules/gles31/functional/ |
es31fProgramStateQueryTests.cpp | 229 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(s_computeSource1D)); 240 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(s_computeSource2D)); 251 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(s_computeSource3D)); 320 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(s_computeSource0)); 331 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(s_computeSource1)); 360 glu::ProgramSources getProgramSources (void) const; 418 glu::ProgramSources ProgramLogCase::getProgramSources (void) const 423 return glu::ProgramSources() 441 return glu::ProgramSources() 451 return glu::ProgramSources() [all...] |
es31fProgramPipelineStateQueryTests.cpp | 100 const glu::ShaderProgram vtxProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::VertexSource(s_vertexSource)); 101 const glu::ShaderProgram frgProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::FragmentSource(s_fragmentSource)); 171 glu::ProgramSources sources; 239 glu::ShaderProgram vtxProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::VertexSource(s_vertexSource)); 240 glu::ShaderProgram frgProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::FragmentSource(s_fragmentSource)); 309 glu::ShaderProgram vtxProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::VertexSource(s_vertexSource)); 310 glu::ShaderProgram frgProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::FragmentSource(s_incompatibleFragmentSource));
|
es31fBasicComputeShaderTests.cpp | 94 ProgramSources() << ShaderSource(SHADERTYPE_COMPUTE, 149 const ShaderProgram program (m_context.getRenderContext(), ProgramSources() << ShaderSource(SHADERTYPE_COMPUTE, src.str())); 269 const ShaderProgram program (m_context.getRenderContext(), ProgramSources() << ShaderSource(SHADERTYPE_COMPUTE, src.str())); 388 const ShaderProgram program (m_context.getRenderContext(), ProgramSources() << ShaderSource(SHADERTYPE_COMPUTE, src.str())); 503 const ShaderProgram program (m_context.getRenderContext(), ProgramSources() << ShaderSource(SHADERTYPE_COMPUTE, src.str())); 624 const ShaderProgram program (m_context.getRenderContext(), ProgramSources() << ComputeSource(src.str())); 693 const ShaderProgram program0(m_context.getRenderContext(), ProgramSources() << 704 const ShaderProgram program1(m_context.getRenderContext(), ProgramSources() << [all...] |
es31fIndirectComputeDispatchTests.cpp | 87 glu::ProgramSources genVerifySources (const UVec3& workGroupSize) 109 return glu::ProgramSources() << glu::ComputeSource(tcu::StringTemplate(s_verifyDispatchTmpl).specialize(args)); 242 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(src.str()));
|
es31fProgramInterfaceDefinitionUtil.hpp | 177 glu::ProgramSources generateProgramInterfaceProgramSources (const ProgramInterfaceDefinition::Program* program);
|
es31fSynchronizationTests.cpp | 200 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(genShaderSource())); [all...] |
es31fLayoutBindingTests.cpp | [all...] |
es31fStencilTexturingTests.cpp | 125 const glu::ShaderProgram program(renderCtx, glu::ProgramSources() 201 const glu::ShaderProgram program(renderCtx, glu::ProgramSources() 266 const glu::ShaderProgram program(renderCtx, glu::ProgramSources() 331 const glu::ShaderProgram program(renderCtx, glu::ProgramSources() [all...] |
es31fMultisampleShaderRenderCase.cpp | 206 m_textureSamplerProgram = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(s_vertexSource) << glu::FragmentSource(genMSSamplerSource(queriedSampleCount))); 287 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(genVertexSource(m_numTargetSamples)) << glu::FragmentSource(genFragmentSource(m_numTargetSamples))); 453 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(genVertexSource(m_numTargetSamples)) << glu::FragmentSource(genFragmentSource(m_numTargetSamples)));
|
es31fTessellationTests.cpp | [all...] |
es31fTextureMultisampleTests.cpp | 343 const glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() 428 m_samplerProgram = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexShaderSource) << glu::FragmentSource(fragShaderSource)); 788 m_samplerProgram = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexShaderSource) << glu::FragmentSource(tcu::StringTemplate(fragShaderSource).specialize(args))); 818 m_alphaProgram = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexShaderSource) << glu::FragmentSource(fragShaderSource)); [all...] |
es31fUniformLocationTests.cpp | 108 static glu::ProgramSources genShaderSources (const vector<UniformInfo>& uniformList); 225 const glu::ProgramSources sources = genShaderSources(uniformList); 254 glu::ProgramSources UniformLocationCase::genShaderSources (const vector<UniformInfo>& uniformList) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fLifetimeTests.cpp | 58 using glu::ProgramSources; 76 ProgramSources getSources (void); 115 ProgramSources ScaleProgram::getSources (void) 118 ProgramSources sources; 506 glu::ProgramSources()
|
es3fShaderFragDataTests.cpp | 112 static glu::ProgramSources genSources (const IndexExprType indexExprType) 117 glu::ProgramSources sources; 231 const glu::ShaderProgram program (renderCtx, glu::ProgramSources()
|
/external/deqp/modules/gles3/stress/ |
es3sLongRunningShaderTests.cpp | 99 static glu::ProgramSources genSources (const Params& params); 123 glu::ProgramSources LongRunningShaderCase::genSources (const Params& params) 206 return glu::ProgramSources() << glu::VertexSource(vert.str()) << glu::FragmentSource(frag.str());
|
/external/deqp/modules/gles2/functional/ |
es2fShaderFragDataTests.cpp | 112 static glu::ProgramSources genSources (const IndexExprType indexExprType) 117 glu::ProgramSources sources;
|
/external/deqp/modules/gles3/performance/ |
es3pDepthTests.cpp | 67 using glu::ProgramSources; 94 ProgramSources shader; 97 ObjectData (const ProgramSources& shader_, const Geometry& geometry_) : shader(shader_), geometry(geometry_) {} 447 glu::ProgramSources getBaseShader (void) 452 glu::ProgramSources getArithmeticWorkloadShader (void) 457 glu::ProgramSources getArithmeticWorkloadDiscardShader (void) 462 glu::ProgramSources getTextureWorkloadShader (void) 467 glu::ProgramSources getGridDiscardShader (int gridsize) 472 inline ObjectData quadWith (const glu::ProgramSources& shader, float depth) [all...] |
/external/deqp/modules/egl/ |
teglImageFormatTests.cpp | 90 glu::ProgramSources programSources (const string& vertexSource, const string& fragmentSource) 92 glu::ProgramSources sources; 103 : glu::ShaderProgram(gl, programSources(vertexSource, fragmentSource)) {} [all...] |
/external/deqp/modules/gles2/performance/ |
es2pShaderOptimizationTests.cpp | 117 glu::ProgramSources sources; 121 ProgramData (const glu::ProgramSources& sources_, const vector<gls::AttribSpec>& attributes_ = vector<gls::AttribSpec>()) : sources(sources_), attributes(attributes_) {} 122 ProgramData (const glu::ProgramSources& sources_, const gls::AttribSpec& attribute) : sources(sources_), attributes(1, attribute) {} 133 return ProgramData(glu::ProgramSources() << glu::VertexSource( "attribute " + vtxPrec + " vec4 a_position;\n" [all...] |