/external/angle/src/tests/gl_tests/ |
D | ClipDistanceTest.cpp | 868 std::stringstream vertexSource; in TEST_P() local 869 auto vs = [=, &vertexSource](std::string name, std::string qualifier) { in TEST_P() 870 vertexSource.str(std::string()); in TEST_P() 871 vertexSource.clear(); in TEST_P() 872 vertexSource << "#version 300 es\n" in TEST_P() 896 auto checkProgram = [=, &vertexSource, &fragmentSource](std::string name, in TEST_P() 902 program.makeRaster(vertexSource.str().c_str(), fragmentSource.str().c_str()); in TEST_P() 1015 std::stringstream vertexSource; in TEST_P() local 1016 auto vs = [=, &vertexSource](std::string name, bool declare, int size) { in TEST_P() 1017 vertexSource.str(std::string()); in TEST_P() [all …]
|
D | BlendFuncExtendedTest.cpp | 297 void setupProgramPipeline(const char *vertexSource, const char *fragmentSource) in setupProgramPipeline() argument 299 mVertexProgram = createShaderProgram(GL_VERTEX_SHADER, vertexSource); in setupProgramPipeline()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderLibraryCase.hpp | 102 const char* vertexSource, const char* fragmentSource); 135 …void specializeShaders(const char* vertexSource, const char* fragmentSource, std::string& outVerte…
|
D | glcShaderLibraryCase.cpp | 82 const char* vertexSource, const char* fragmentSource) in ShaderCase() argument 99 if (vertexSource && fragmentSource) in ShaderCase() 102 specializeShaders(vertexSource, fragmentSource, m_vertexSource, m_fragmentSource, valueBlock); in ShaderCase() 104 else if (vertexSource) in ShaderCase() 107 m_vertexSource = specializeVertexShader(vertexSource, valueBlock); in ShaderCase() 900 void ShaderCase::specializeShaders(const char* vertexSource, const char* fragmentSource, string& ou… in specializeShaders() argument 944 StringTemplate tmpl(vertexSource); in specializeShaders()
|
D | glcShaderLibrary.cpp | 927 string vertexSource; in parseShaderCase() local 977 vertexSource = source; in parseShaderCase() 1040 DE_ASSERT(vertexSource.length() == 0); in parseShaderCase() 1053 expectResult, valueBlockList, version, vertexSource.c_str(), in parseShaderCase()
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | GlShader.java | 41 public GlShader(String vertexSource, String fragmentSource) { in GlShader() argument 42 final int vertexShader = compileShader(GLES20.GL_VERTEX_SHADER, vertexSource); in GlShader()
|
/external/deqp/framework/opengl/ |
D | gluContextInfo.cpp | 44 TryCompileProgram (const char* vertexSource, const char* fragmentSource) in TryCompileProgram() argument 45 : m_vertexSource (vertexSource) in TryCompileProgram()
|
/external/deqp/modules/gles31/functional/ |
D | es31fFboNoAttachmentTests.cpp | 71 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()
|
D | es31fShaderStateQueryTests.cpp | 121 …const std::string vertexSource = tcu::StringTemplate(vertexSourceTemplate).specialize(shaderAr… in iterate() local 123 …ontext.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexSource) << glu::Fragme… in iterate()
|
D | es31fGeometryShaderTests.cpp | 622 std::ostringstream vertexSource; in genProgramDeclaration() local 641 vertexSource << "${GLSL_VERSION_DECL}\n" in genProgramDeclaration() 648 vertexSource << "void main (void)\n" in genProgramDeclaration() 655 vertexSource << "out highp vec4 v_geom_" << i << ";\n"; in genProgramDeclaration() 657 vertexSource << "void main (void)\n" in genProgramDeclaration() 667 vertexSource << "\tv_geom_0 = a_color;\n"; in genProgramDeclaration() 671 vertexSource << "\tv_geom_0 = a_color * 0.5;\n"; in genProgramDeclaration() 672 vertexSource << "\tv_geom_1 = a_color.zyxw * 0.5;\n"; in genProgramDeclaration() 678 vertexSource << "}\n"; in genProgramDeclaration() 784 << sglr::pdec::VertexSource(specializeShader(vertexSource.str(), contextType)) in genProgramDeclaration() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderBuiltinVarTests.cpp | 233 std::ostringstream vertexSource; in initPrograms() local 234 vertexSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 242 programCollection.glslSources.add("vert") << glu::VertexSource(vertexSource.str()); in initPrograms() 1495 std::ostringstream vertexSource; in initPrograms() local 1496 vertexSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 1503 programCollection.glslSources.add("FragCoordMsaaVert") << glu::VertexSource(vertexSource.str()); in initPrograms() 1657 std::ostringstream vertexSource; in initPrograms() local 1658 vertexSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 1666 programCollection.glslSources.add("FragDepthVert") << glu::VertexSource(vertexSource.str()); in initPrograms() 1671 std::ostringstream vertexSource; in initPrograms() local [all …]
|
/external/deqp/modules/glshared/ |
D | glsLongStressCase.hpp | 194 std::string vertexSource; member 206 : vertexSource (vtxShaderSource_) in ProgramContext()
|
D | glsLongStressCase.cpp | 1223 …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/ |
D | es2fReadPixelsTests.cpp | 80 const char* vertexSource = in render() local 93 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fra… in render()
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | DynamicHLSL.cpp | 874 std::string vertexSource = vertexShaderGL->getTranslatedSource(context); in generateShaderLinkHLSL() local 875 angle::ReplaceSubstring(&vertexSource, std::string(MAIN_PROLOGUE_STUB_STRING), in generateShaderLinkHLSL() 877 angle::ReplaceSubstring(&vertexSource, std::string(VERTEX_OUTPUT_STUB_STRING), in generateShaderLinkHLSL() 879 vertexStream << vertexSource; in generateShaderLinkHLSL()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleTests.cpp | 924 std::ostringstream vertexSource; in initMultisamplePrograms() local 926 vertexSource << in initMultisamplePrograms() 947 sources.glslSources.add("color_vert") << glu::VertexSource(vertexSource.str()); in initMultisamplePrograms() 955 std::ostringstream vertexSource; in initSampleShadingPrograms() local 957 vertexSource << in initSampleShadingPrograms() 975 sources.glslSources.add("color_vert") << glu::VertexSource(vertexSource.str()); in initSampleShadingPrograms() 980 static const char* vertexSource = in initSampleShadingPrograms() local 1007 sources.glslSources.add("quad_vert") << glu::VertexSource(vertexSource); in initSampleShadingPrograms() 1014 std::ostringstream vertexSource; in initAlphaToCoverageColorUnusedAttachmentPrograms() local 1016 vertexSource << in initAlphaToCoverageColorUnusedAttachmentPrograms() [all …]
|
D | vktPipelineInputAssemblyTests.cpp | 306 std::ostringstream vertexSource; in initPrograms() local 308 vertexSource << in initPrograms() 321 sourceCollections.glslSources.add("color_vert") << glu::VertexSource(vertexSource.str()); in initPrograms()
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessIndexAccessTests.cpp | 419 std::string vertexSource( in initPrograms() local 427 sourceCollections.glslSources.add("vert") << glu::VertexSource(vertexSource); in initPrograms()
|
/external/deqp/modules/gles3/functional/ |
D | es3fReadPixelsTests.cpp | 111 const char* vertexSource = in render() local 146 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fra… in render()
|
D | es3fDrawBuffersIndexedTests.cpp | 884 const char* const vertexSource = in genVertexSource() local 897 return glu::VertexSource(tcu::StringTemplate(vertexSource).specialize(args)); in genVertexSource()
|
/external/deqp/modules/egl/ |
D | teglImageFormatTests.cpp | 90 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/openglcts/modules/gl/ |
D | gl4cGlSpirvTests.cpp | 1674 ShaderSource vertexSource(glu::SHADERTYPE_VERTEX, m_commonVertex); in iterate() local 1676 sources << vertexSource; in iterate() 1678 vertexBinary = spirvUtils::makeSpirV(m_context.getTestContext().getLog(), vertexSource); in iterate()
|
D | gl4cSparseTexture2Tests.cpp | 1640 std::string vertexSource = st2_vertex_drawBuffer; in UncommittedDepthStencil() local 1643 ShaderProgram program(gl, glu::makeVtxFragSources(vertexSource, fragmentSource)); in UncommittedDepthStencil() 1649 << ", vertexSource: " << vertexSource.c_str() << "\n" in UncommittedDepthStencil()
|
/external/deqp/modules/gles2/stress/ |
D | es2sSpecialFloatTests.cpp | 227 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/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureTestUtil.cpp | 204 tcu::StringTemplate vertexSource (vertShaderTemplate); in initializePrograms() local 313 …vertex_" + std::string(getProgramName(program))) << glu::VertexSource(vertexSource.specialize(para… in initializePrograms()
|