• Home
  • Raw
  • Download

Lines Matching refs:glsl

99 bool GrGLProgramBuilder::compileAndAttachShaders(const SkSL::String& glsl,  in compileAndAttachShaders()  argument
108 glsl, in compileAndAttachShaders()
212 static void ApplyAdvancedFilter(std::string& glsl) in ApplyAdvancedFilter() argument
214 glsl = "#version 320 es\n" in ApplyAdvancedFilter()
271 SkSL::String glsl[kGrShaderTypeCount]; in finalize() local
324 GrPersistentCacheUtils::UnpackCachedShaders(&reader, glsl, &inputs, 1); in finalize()
352 if (glsl[kFragment_GrShaderType].empty()) { in finalize()
361 &glsl[kFragment_GrShaderType], in finalize()
375 ApplyAdvancedFilter(glsl[kFragment_GrShaderType]); in finalize()
378 if (!this->compileAndAttachShaders(glsl[kFragment_GrShaderType], programID, in finalize()
387 if (glsl[kVertex_GrShaderType].empty()) { in finalize()
393 &glsl[kVertex_GrShaderType], in finalize()
400 if (!this->compileAndAttachShaders(glsl[kVertex_GrShaderType], programID, in finalize()
453 if (!this->checkLinkStatus(programID, errorHandler, sksl, glsl)) { in finalize()
476 glsl[i] = GrShaderUtils::PrettyPrint(*sksl[i]); in finalize()
480 this->storeShaderInCache(inputs, programID, glsl, isSkSL, &settings); in finalize()
501 SkSL::String* sksl[], const SkSL::String glsl[]) { in checkLinkStatus() argument
510 if (glsl) { in checkLinkStatus()
511 allShaders.appendf("// Vertex GLSL\n%s\n", glsl[kVertex_GrShaderType].c_str()); in checkLinkStatus()
512 allShaders.appendf("// Fragment GLSL\n%s\n", glsl[kFragment_GrShaderType].c_str()); in checkLinkStatus()
585 SkSL::String glsl; in PrecompileProgram() local
586 auto program = GrSkSLtoGLSL(glGpu, kind, sksl, settings, &glsl, errorHandler); in PrecompileProgram()
592 glsl, glGpu->pipelineBuilder()->stats(), in PrecompileProgram()