Lines Matching refs:glsl
84 bool GrGLProgramBuilder::compileAndAttachShaders(const char* glsl, in compileAndAttachShaders() argument
95 glsl, in compileAndAttachShaders()
118 SkSL::String glsl; in compileAndAttachShaders() local
124 &glsl); in compileAndAttachShaders()
126 return this->compileAndAttachShaders(glsl.c_str(), in compileAndAttachShaders()
127 glsl.size(), in compileAndAttachShaders()
175 const SkSL::String& glsl) { in storeShaderInCache() argument
201 size_t dataLength = sizeof(inputs) + glsl.length(); in storeShaderInCache()
206 memcpy(data.get() + offset, glsl.data(), glsl.length()); in storeShaderInCache()
245 SkSL::String glsl; in finalize() local
273 glsl = SkSL::String(((const char*) bytes) + offset, fCached->size() - offset); in finalize()
278 if (glsl == "" || true) { in finalize()
289 &glsl); in finalize()
301 if (!this->compileAndAttachShaders(glsl.c_str(), glsl.size(), programID, in finalize()
314 &glsl); in finalize()
315 if (!vs || !this->compileAndAttachShaders(glsl.c_str(), glsl.size(), programID, in finalize()
336 &glsl); in finalize()
337 if (!gs || !this->compileAndAttachShaders(glsl.c_str(), glsl.size(), programID, in finalize()
380 this->storeShaderInCache(inputs, programID, glsl); in finalize()