Home
last modified time | relevance | path

Searched refs:vstrstr (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DPointSprites.cpp87 std::stringstream vstrstr; in initializeBenchmark() local
99 vstrstr << "attribute vec2 vPosition;\n" in initializeBenchmark()
104 vstrstr << "varying vec4 v" << varCount << ";\n"; in initializeBenchmark()
107 vstrstr << "void main()\n" in initializeBenchmark()
112 vstrstr << " v" << varCount << " = vec4(1.0);\n"; in initializeBenchmark()
115 vstrstr << " gl_Position = vec4(vPosition, 0, 1.0);\n" in initializeBenchmark()
140 mProgram = CompileProgram(vstrstr.str().c_str(), fstrstr.str().c_str()); in initializeBenchmark()
DUniformsPerf.cpp297 std::stringstream vstrstr; in initShaders() local
298 vstrstr << "#version 300 es\n"; in initShaders()
299 vstrstr << "precision mediump float;\n"; in initShaders()
300 vstrstr << "in vec4 pos;\n"; in initShaders()
304 vstrstr << "uniform " << typeString << " " << GetUniformLocationName(i, true) << ";\n"; in initShaders()
307 vstrstr << "void main()\n" in initShaders()
317 vstrstr << " gl_Position += "; in initShaders()
318 vstrstr << uniformOperation; in initShaders()
319 vstrstr << ";\n"; in initShaders()
321 vstrstr << "}"; in initShaders()
[all …]
DTextureSampling.cpp115 std::stringstream vstrstr; in initShaders() local
116 vstrstr << "attribute vec2 aPosition;\n" in initShaders()
155 mProgram = CompileProgram(vstrstr.str().c_str(), fstrstr.str().c_str()); in initShaders()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DPointSprites.cpp87 std::stringstream vstrstr; in initializeBenchmark() local
99 vstrstr << "attribute vec2 vPosition;\n" in initializeBenchmark()
104 vstrstr << "varying vec4 v" << varCount << ";\n"; in initializeBenchmark()
107 vstrstr << "void main()\n" in initializeBenchmark()
112 vstrstr << " v" << varCount << " = vec4(1.0);\n"; in initializeBenchmark()
115 vstrstr << " gl_Position = vec4(vPosition, 0, 1.0);\n" in initializeBenchmark()
140 mProgram = CompileProgram(vstrstr.str().c_str(), fstrstr.str().c_str()); in initializeBenchmark()
DUniformsPerf.cpp294 std::stringstream vstrstr; in initShaders() local
295 vstrstr << "#version 300 es\n"; in initShaders()
296 vstrstr << "precision mediump float;\n"; in initShaders()
297 vstrstr << "in vec4 pos;\n"; in initShaders()
301 vstrstr << "uniform " << typeString << " " << GetUniformLocationName(i, true) << ";\n"; in initShaders()
304 vstrstr << "void main()\n" in initShaders()
314 vstrstr << " gl_Position += "; in initShaders()
315 vstrstr << uniformOperation; in initShaders()
316 vstrstr << ";\n"; in initShaders()
318 vstrstr << "}"; in initShaders()
[all …]
DTextureSampling.cpp115 std::stringstream vstrstr; in initShaders() local
116 vstrstr << "attribute vec2 aPosition;\n" in initShaders()
155 mProgram = CompileProgram(vstrstr.str().c_str(), fstrstr.str().c_str()); in initShaders()
/third_party/mksh/
Dsh.h655 #define vstrstr(b,l) (cstrstr((b), (l)) != NULL) macro
660 #define vstrstr(b,l) (strstr((b), (l)) != NULL) macro