Lines Matching defs:src
283 const char* const src[2] = { kGLSLVer, vs.c_str() };
284 glShaderSource(sh, 2, src, NULL);
292 const char* const src[2] = { kGLSLVer, tcs.c_str() };
293 glShaderSource(sh, 2, src, NULL);
301 const char* const src[2] = { kGLSLVer, tes.c_str() };
302 glShaderSource(sh, 2, src, NULL);
310 const char* const src[2] = { kGLSLVer, gs.c_str() };
311 glShaderSource(sh, 2, src, NULL);
319 const char* const src[2] = { kGLSLVer, fs.c_str() };
320 glShaderSource(sh, 2, src, NULL);
335 const char* const src[2] = { kGLSLVer, vs.c_str() };
336 glShaderSource(sh, 2, src, NULL);
344 const char* const src[2] = { kGLSLVer, fs.c_str() };
345 glShaderSource(sh, 2, src, NULL);
361 const char* const src[2] = { kGLSLVer, cs.c_str() };
362 glShaderSource(sh, 2, src, NULL);
372 const char* const src[3] = { kGLSLVer, "#extension GL_ARB_compute_shader : require\n", source.c_str() };
373 return glCreateShaderProgramv(type, 3, src);
376 const char* const src[2] = { kGLSLVer, source.c_str() };
377 return glCreateShaderProgramv(type, 2, src);
8918 const char* const src[2] = { csVer, source.c_str() };
8920 glShaderSource(sh, 2, src, NULL);
8989 const char* const src = cs0.c_str();
8990 glShaderSource(sh, 1, &src, NULL);
9008 const char* const src = cs1.c_str();
9009 glShaderSource(sh, 1, &src, NULL);