Home
last modified time | relevance | path

Searched refs:vshaderTxt (Results 1 – 4 of 4) sorted by relevance

/external/skia/bench/
DGLVertexAttributesBench.cpp76 SkString vshaderTxt(version); in setupShader() local
77 aPosition.appendDecl(shaderCaps, &vshaderTxt); in setupShader()
78 vshaderTxt.append(";\n"); in setupShader()
86 aVars.back().appendDecl(shaderCaps, &vshaderTxt); in setupShader()
87 vshaderTxt.append(";\n"); in setupShader()
97 oVars.back().appendDecl(shaderCaps, &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 …]
DGLVec4ScalarBench.cpp109 SkString vshaderTxt(version); in setupShader() local
110 aPosition.appendDecl(shaderCaps, &vshaderTxt); in setupShader()
111 vshaderTxt.append(";\n"); in setupShader()
112 aColor.appendDecl(shaderCaps, &vshaderTxt); in setupShader()
113 vshaderTxt.append(";\n"); in setupShader()
114 oPosition.appendDecl(shaderCaps, &vshaderTxt); in setupShader()
115 vshaderTxt.append(";\n"); in setupShader()
116 oColor.appendDecl(shaderCaps, &vshaderTxt); in setupShader()
117 vshaderTxt.append(";\n"); in setupShader()
119 vshaderTxt.append( in setupShader()
[all …]
DGLInstancedArraysBench.cpp118 SkString vshaderTxt(version); in setupShader() local
119 aPosition.appendDecl(shaderCaps, &vshaderTxt); in setupShader()
120 vshaderTxt.append(";\n"); in setupShader()
121 aColor.appendDecl(shaderCaps, &vshaderTxt); in setupShader()
122 vshaderTxt.append(";\n"); in setupShader()
123 oColor.appendDecl(shaderCaps, &vshaderTxt); in setupShader()
124 vshaderTxt.append(";\n"); in setupShader()
126 vshaderTxt.append( in setupShader()
156 return CreateProgram(ctx, vshaderTxt.c_str(), fshaderTxt.c_str()); in setupShader()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp3537 SkString vshaderTxt(version); in createCopyProgram() local
3540 vshaderTxt.appendf("#extension %s : require\n", extension); in createCopyProgram()
3545 aVertex.appendDecl(shaderCaps, &vshaderTxt); in createCopyProgram()
3546 vshaderTxt.append(";"); in createCopyProgram()
3547 uTexCoordXform.appendDecl(shaderCaps, &vshaderTxt); in createCopyProgram()
3548 vshaderTxt.append(";"); in createCopyProgram()
3549 uPosXform.appendDecl(shaderCaps, &vshaderTxt); in createCopyProgram()
3550 vshaderTxt.append(";"); in createCopyProgram()
3551 vTexCoord.appendDecl(shaderCaps, &vshaderTxt); in createCopyProgram()
3552 vshaderTxt.append(";"); in createCopyProgram()
[all …]