Home
last modified time | relevance | path

Searched refs:vertexSource (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DGlShader.java61 public GlShader(String vertexSource, String fragmentSource) { in GlShader() argument
62 vertexShader = compileShader(GLES20.GL_VERTEX_SHADER, vertexSource); in GlShader()
/external/deqp/framework/opengl/
DgluContextInfo.cpp44 TryCompileProgram (const char* vertexSource, const char* fragmentSource) in TryCompileProgram() argument
45 : m_vertexSource (vertexSource) in TryCompileProgram()
/external/deqp/modules/gles31/functional/
Des31fFboNoAttachmentTests.cpp71 const char* const vertexSource = "#version 310 es\n" in checkFramebufferSize() local
87 …const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSourc… in checkFramebufferSize()
178 const char* const vertexSource = "#version 310 es\n" in checkFramebufferRenderable() local
192 …const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSourc… in checkFramebufferRenderable()
Des31fShaderStateQueryTests.cpp119 …const std::string vertexSource = tcu::StringTemplate(vertexSourceTemplate).specialize(shaderAr… in iterate() local
121 …ontext.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexSource) << glu::Fragme… in iterate()
Des31fGeometryShaderTests.cpp613 std::ostringstream vertexSource; in genProgramDeclaration() local
632 vertexSource << "${GLSL_VERSION_DECL}\n" in genProgramDeclaration()
639 vertexSource << "void main (void)\n" in genProgramDeclaration()
646 vertexSource << "out highp vec4 v_geom_" << i << ";\n"; in genProgramDeclaration()
648 vertexSource << "void main (void)\n" in genProgramDeclaration()
658 vertexSource << "\tv_geom_0 = a_color;\n"; in genProgramDeclaration()
662 vertexSource << "\tv_geom_0 = a_color * 0.5;\n"; in genProgramDeclaration()
663 vertexSource << "\tv_geom_1 = a_color.zyxw * 0.5;\n"; in genProgramDeclaration()
669 vertexSource << "}\n"; in genProgramDeclaration()
775 << sglr::pdec::VertexSource(specializeShader(vertexSource.str(), contextType).c_str()) in genProgramDeclaration()
[all …]
Des31fDrawBuffersIndexedTests.cpp864 const char* const vertexSource = in genVertexSource() local
877 return glu::VertexSource(tcu::StringTemplate(vertexSource).specialize(args)); in genVertexSource()
Des31fProgramUniformTests.cpp1656 const string vertexSource = generateVertexSource(basicUniforms); in iterate() local
1658 …m program (m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp229 std::ostringstream vertexSource; in initPrograms() local
230 vertexSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms()
238 programCollection.glslSources.add("vert") << glu::VertexSource(vertexSource.str()); in initPrograms()
1764 std::ostringstream vertexSource; in initPrograms() local
1765 vertexSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
1772 programCollection.glslSources.add("FragCoordMsaaVert") << glu::VertexSource(vertexSource.str()); in initPrograms()
1836 std::ostringstream vertexSource; in initPrograms() local
1837 vertexSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
1844 programCollection.glslSources.add("FragDepthVert") << glu::VertexSource(vertexSource.str()); in initPrograms()
1849 std::ostringstream vertexSource; in initPrograms() local
[all …]
/external/deqp/modules/glshared/
DglsLongStressCase.hpp194 std::string vertexSource; member
206 : vertexSource (vtxShaderSource_) in ProgramContext()
DglsLongStressCase.cpp1223 …m prog(m_renderCtx, glu::makeVtxFragSources(mangleShaderNames(progCtx.vertexSource, ""), mangleSha… in init()
1288 …prog.setSources(mangleShaderNames(programContext.vertexSource, programResources.shaderNameMangling… in iterate()
/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp80 const char* vertexSource = in render() local
93 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fra… in render()
Des2fRasterizationTests.cpp167 tcu::StringTemplate vertexSource (s_shaderVertexTemplate); in init() local
171 …ontext.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexSource.specialize(para… in init()
Des2fUniformApiTests.cpp1743 const string vertexSource = generateVertexSource(basicUniforms); in iterate() local
1745 …m program (m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource… in iterate()
/external/deqp/modules/gles3/functional/
Des3fReadPixelsTests.cpp111 const char* vertexSource = in render() local
146 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fra… in render()
Des3fRasterizationTests.cpp202 tcu::StringTemplate vertexSource (s_shaderVertexTemplate); in init() local
208 …ontext.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexSource.specialize(para… in init()
Des3fUniformApiTests.cpp2153 const string vertexSource = generateVertexSource(basicUniforms); in iterate() local
2155 …m program (m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineInputAssemblyTests.cpp232 std::ostringstream vertexSource; in initPrograms() local
234 vertexSource << in initPrograms()
247 sourceCollections.glslSources.add("color_vert") << glu::VertexSource(vertexSource.str()); in initPrograms()
DvktPipelineMultisampleTests.cpp427 std::ostringstream vertexSource; in initMultisamplePrograms() local
429 vertexSource << in initMultisamplePrograms()
451 sources.glslSources.add("color_vert") << glu::VertexSource(vertexSource.str()); in initMultisamplePrograms()
/external/deqp/modules/egl/
DteglImageFormatTests.cpp90 glu::ProgramSources programSources (const string& vertexSource, const string& fragmentSource) in programSources() argument
94 sources << glu::VertexSource(vertexSource) << glu::FragmentSource(fragmentSource); in programSources()
102 Program (const glw::Functions& gl, const char* vertexSource, const char* fragmentSource) in Program() argument
103 : glu::ShaderProgram(gl, programSources(vertexSource, fragmentSource)) {} in Program()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp181 tcu::StringTemplate vertexSource (vertShaderTemplate); in initializePrograms() local
282 …ertext_" + std::string(getProgramName(program))) << glu::VertexSource(vertexSource.specialize(para… in initializePrograms()
/external/deqp/modules/gles2/stress/
Des2sSpecialFloatTests.cpp227 const char* const vertexSource = "attribute highp vec4 a_pos;\n" in drawTestPattern() local
257 …ontext.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexSource) << glu::Fragme… in drawTestPattern()
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp230 const char* const vertexSource = "#version 300 es\n" in drawTestPattern() local
265 …ontext.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexSource) << glu::Fragme… in drawTestPattern()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp122 tcu::StringTemplate vertexSource (s_shaderVertexTemplate); in initPrograms() local
128 …programCollection.glslSources.add("vertext_shader") << glu::VertexSource(vertexSource.specialize(p… in initPrograms()