• Home
  • Raw
  • Download

Lines Matching refs:glsl

99 bool GrGLProgramBuilder::compileAndAttachShaders(const SkSL::String& glsl,  in compileAndAttachShaders()  argument
108 glsl, in compileAndAttachShaders()
247 SkSL::String glsl[kGrShaderTypeCount]; in finalize() local
301 GrPersistentCacheUtils::UnpackCachedShaders(&reader, glsl, &inputs, 1); in finalize()
329 if (glsl[kFragment_GrShaderType].empty()) { in finalize()
338 &glsl[kFragment_GrShaderType], in finalize()
348 if (!this->compileAndAttachShaders(glsl[kFragment_GrShaderType], programID, in finalize()
357 if (glsl[kVertex_GrShaderType].empty()) { in finalize()
363 &glsl[kVertex_GrShaderType], in finalize()
370 if (!this->compileAndAttachShaders(glsl[kVertex_GrShaderType], programID, in finalize()
417 if (glsl[kGeometry_GrShaderType].empty()) { in finalize()
424 &glsl[kGeometry_GrShaderType], in finalize()
431 if (!this->compileAndAttachShaders(glsl[kGeometry_GrShaderType], programID, in finalize()
444 if (!this->checkLinkStatus(programID, errorHandler, sksl, glsl)) { in finalize()
467 glsl[i] = GrShaderUtils::PrettyPrint(*sksl[i]); in finalize()
471 this->storeShaderInCache(inputs, programID, glsl, isSkSL, &settings); in finalize()
492 SkSL::String* sksl[], const SkSL::String glsl[]) { in checkLinkStatus() argument
504 if (glsl) { in checkLinkStatus()
505 allShaders.appendf("// Vertex GLSL\n%s\n", glsl[kVertex_GrShaderType].c_str()); in checkLinkStatus()
506 if (!glsl[kGeometry_GrShaderType].empty()) { in checkLinkStatus()
507 allShaders.appendf("// Geometry GLSL\n%s\n", glsl[kGeometry_GrShaderType].c_str()); in checkLinkStatus()
509 allShaders.appendf("// Fragment GLSL\n%s\n", glsl[kFragment_GrShaderType].c_str()); in checkLinkStatus()
580 SkSL::String glsl; in PrecompileProgram() local
581 auto program = GrSkSLtoGLSL(glGpu, kind, sksl, settings, &glsl, errorHandler); in PrecompileProgram()
587 glsl, glGpu->pipelineBuilder()->stats(), in PrecompileProgram()