Home
last modified time | relevance | path

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

/external/deqp/modules/gles3/functional/
Des3fReadPixelsTests.cpp119 std::stringstream fragmentSource; in render() local
122 fragmentSource << in render()
126 fragmentSource << "layout(location = 0) out mediump ivec4 o_color;\n"; in render()
128 fragmentSource << "layout(location = 0) out mediump uvec4 o_color;\n"; in render()
130 fragmentSource << "layout(location = 0) out mediump vec4 o_color;\n"; in render()
132 fragmentSource << in render()
137 fragmentSource << "\to_color = uvec4(0, 0, 0, 1000);\n"; in render()
139 fragmentSource << "\to_color = ivec4(0, 0, 0, 1000);\n"; in render()
141 fragmentSource << "\to_color = vec4(0.0, 0.0, 0.0, 1.0);\n"; in render()
143 fragmentSource << in render()
[all …]
Des3fRasterizationTests.cpp199 tcu::StringTemplate fragmentSource (s_shaderFragmentTemplate); in init() local
204 …VertexSource(vertexSource.specialize(params)) << glu::FragmentSource(fragmentSource.specialize(par… in init()
Des3fUniformApiTests.cpp2164 const string fragmentSource = generateFragmentSource(basicUniforms); in iterate() local
2165 … program (m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource)); in iterate()
Des3fShaderStateQueryTests.cpp1700 std::string fragmentSource = frag.str(); in test() local
1701 const char* fragmentSourceCStr = fragmentSource.c_str(); in test()
/external/libgdx/backends/gdx-backends-gwt/src/com/google/gwt/webgl/client/
DWebGLUtil.java32 …rogram createShaderProgram (WebGLRenderingContext gl, String vertexSource, String fragmentSource) { in createShaderProgram() argument
34 WebGLShader fragmentShader = getShader(gl, FRAGMENT_SHADER, fragmentSource); in createShaderProgram()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DGlShader.java61 public GlShader(String vertexSource, String fragmentSource) { in GlShader() argument
63 fragmentShader = compileShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in GlShader()
/external/deqp/framework/opengl/
DgluContextInfo.cpp44 TryCompileProgram (const char* vertexSource, const char* fragmentSource) in TryCompileProgram() argument
46 , m_fragmentSource (fragmentSource) in TryCompileProgram()
/external/deqp/modules/gles31/functional/
Des31fFboNoAttachmentTests.cpp78 const char* const fragmentSource = "#version 310 es\n" in checkFramebufferSize() local
87 …st glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource)); in checkFramebufferSize()
185 const char* const fragmentSource = "#version 310 es\n" in checkFramebufferRenderable() local
192 …st glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource)); in checkFramebufferRenderable()
Des31fShaderStateQueryTests.cpp118 …const std::string fragmentSource = tcu::StringTemplate(fragmentSourceTemplate).specialize(shad… in iterate() local
121 …, glu::ProgramSources() << glu::VertexSource(vertexSource) << glu::FragmentSource(fragmentSource)); in iterate()
Des31fGeometryShaderTests.cpp614 std::ostringstream fragmentSource; in genProgramDeclaration() local
674 fragmentSource << "${GLSL_VERSION_DECL}\n" in genProgramDeclaration()
678 fragmentSource << "in mediump vec4 v_frag_" << i << ";\n"; in genProgramDeclaration()
680 fragmentSource << "void main (void)\n" in genProgramDeclaration()
685 fragmentSource << "\tfragColor = vec4(1.0, 0.0, 0.0, 1.0);\n"; in genProgramDeclaration()
689 fragmentSource << "\tfragColor = v_frag_0;\n"; in genProgramDeclaration()
693 fragmentSource << "\tfragColor = v_frag_0 + v_frag_1.yxzw;\n"; in genProgramDeclaration()
699 fragmentSource << "}\n"; in genProgramDeclaration()
776 << sglr::pdec::FragmentSource(specializeShader(fragmentSource.str(), contextType).c_str()) in genProgramDeclaration()
4576 static const char* const fragmentSource = "${GLSL_VERSION_DECL}\n" in iterate() local
[all …]
Des31fTextureMultisampleTests.cpp1267 …const char* const fragmentSource = (m_isDepthFormat) ? (fragmentShaderSourceDepth) : (fragment… in genDrawShader() local
1280 …ource(vertexShaderSource) << glu::FragmentSource(tcu::StringTemplate(fragmentSource).specialize(fr… in genDrawShader()
Des31fProgramUniformTests.cpp1667 const string fragmentSource = generateFragmentSource(basicUniforms); in iterate() local
1668 … program (m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource)); in iterate()
/external/deqp/modules/glshared/
DglsLongStressCase.hpp195 std::string fragmentSource; member
207 , fragmentSource (fragShaderSource_) in ProgramContext()
DglsLongStressCase.cpp1223 …urces(mangleShaderNames(progCtx.vertexSource, ""), mangleShaderNames(progCtx.fragmentSource, ""))); in init()
1289 mangleShaderNames(programContext.fragmentSource, programResources.shaderNameManglingSuffix)); in iterate()
/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp87 const char* fragmentSource = in render() local
93 …ogram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource)); in render()
Des2fShaderStateQueryTests.cpp1376 std::string fragmentSource = frag.str(); in test() local
1377 const char* fragmentSourceCStr = fragmentSource.c_str(); in test()
Des2fRasterizationTests.cpp164 tcu::StringTemplate fragmentSource (s_shaderFragmentTemplate); in init() local
167 …VertexSource(vertexSource.specialize(params)) << glu::FragmentSource(fragmentSource.specialize(par… in init()
Des2fUniformApiTests.cpp1754 const string fragmentSource = generateFragmentSource(basicUniforms); in iterate() local
1755 … program (m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource)); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBlendTests.cpp268 std::ostringstream fragmentSource; in initPrograms() local
281 fragmentSource << "#version 310 es\n" in initPrograms()
289 sourceCollections.glslSources.add("color_frag") << glu::FragmentSource(fragmentSource.str()); in initPrograms()
DvktPipelineMultisampleTests.cpp394 static const char* fragmentSource = in initMultisamplePrograms() local
404 sources.glslSources.add("color_frag") << glu::FragmentSource(fragmentSource); 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/modules/gles2/stress/
Des2sSpecialFloatTests.cpp245 const char* const fragmentSource = (useTexture) ? (fragmentSourceTex) : (fragmentSourceNoTex); in drawTestPattern() local
257 …, glu::ProgramSources() << glu::VertexSource(vertexSource) << glu::FragmentSource(fragmentSource)); in drawTestPattern()
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp253 const char* const fragmentSource = (useTexture) ? (fragmentSourceTex) : (fragmentSourceNoTex); in drawTestPattern() local
265 …, glu::ProgramSources() << glu::VertexSource(vertexSource) << glu::FragmentSource(fragmentSource)); in drawTestPattern()