Searched refs:vshaderTxt (Results 1 – 4 of 4) sorted by relevance
/external/skia/bench/ |
D | GLVertexAttributesBench.cpp | 76 SkString vshaderTxt(version); in setupShader() local 77 aPosition.appendDecl(glslCaps, &vshaderTxt); in setupShader() 78 vshaderTxt.append(";\n"); in setupShader() 86 aVars.back().appendDecl(glslCaps, &vshaderTxt); in setupShader() 87 vshaderTxt.append(";\n"); in setupShader() 97 oVars.back().appendDecl(glslCaps, &vshaderTxt); in setupShader() 98 vshaderTxt.append(";\n"); in setupShader() 101 vshaderTxt.append( in setupShader() 107 vshaderTxt.appendf("%s = %s;\n", oVars[i].c_str(), aVars[i].c_str()); in setupShader() 112 vshaderTxt.appendf("%s = vec4(0, 0, 0, 1);\n", oVars[i].c_str()); in setupShader() [all …]
|
D | GLVec4ScalarBench.cpp | 109 SkString vshaderTxt(version); in setupShader() local 110 aPosition.appendDecl(glslCaps, &vshaderTxt); in setupShader() 111 vshaderTxt.append(";\n"); in setupShader() 112 aColor.appendDecl(glslCaps, &vshaderTxt); in setupShader() 113 vshaderTxt.append(";\n"); in setupShader() 114 oPosition.appendDecl(glslCaps, &vshaderTxt); in setupShader() 115 vshaderTxt.append(";\n"); in setupShader() 116 oColor.appendDecl(glslCaps, &vshaderTxt); in setupShader() 117 vshaderTxt.append(";\n"); in setupShader() 119 vshaderTxt.append( in setupShader() [all …]
|
D | GLInstancedArraysBench.cpp | 118 SkString vshaderTxt(version); in setupShader() local 119 aPosition.appendDecl(glslCaps, &vshaderTxt); in setupShader() 120 vshaderTxt.append(";\n"); in setupShader() 121 aColor.appendDecl(glslCaps, &vshaderTxt); in setupShader() 122 vshaderTxt.append(";\n"); in setupShader() 123 oColor.appendDecl(glslCaps, &vshaderTxt); in setupShader() 124 vshaderTxt.append(";\n"); in setupShader() 126 vshaderTxt.append( in setupShader() 158 return CreateProgram(gl, vshaderTxt.c_str(), fshaderTxt.c_str()); in setupShader()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 298 SkString vshaderTxt(version); in createPLSSetupProgram() local 301 vshaderTxt.appendf("#extension %s : require\n", extension); in createPLSSetupProgram() 305 aVertex.appendDecl(glslCaps, &vshaderTxt); in createPLSSetupProgram() 306 vshaderTxt.append(";"); in createPLSSetupProgram() 307 uTexCoordXform.appendDecl(glslCaps, &vshaderTxt); in createPLSSetupProgram() 308 vshaderTxt.append(";"); in createPLSSetupProgram() 309 uPosXform.appendDecl(glslCaps, &vshaderTxt); in createPLSSetupProgram() 310 vshaderTxt.append(";"); in createPLSSetupProgram() 311 vTexCoord.appendDecl(glslCaps, &vshaderTxt); in createPLSSetupProgram() 312 vshaderTxt.append(";"); in createPLSSetupProgram() [all …]
|