Lines Matching defs:glsl
36 int count, const SkSL::String& glsl,
43 if (!glsl.isEmpty()) {
44 println("GLSL:");
45 print_source_lines_with_numbers(glsl.c_str(), println);
52 SkSL::String* glsl) {
70 if (!program || !compiler->toGLSL(*program, glsl)) {
72 print_shaders_line_by_line(skslStrings, lengths, count, *glsl);
91 SkSL::String glsl;
92 auto program = translate_to_glsl(glCtx, type, skslStrings, lengths, count, settings, &glsl);
97 // Specify GLSL source to the driver.
103 const char* glslChars = glsl.c_str();
104 GrGLint glslLength = (GrGLint) glsl.size();
112 print_shaders_line_by_line(skslStrings, lengths, count, glsl, [&](const char* ln) {
134 SkDebugf("GLSL compilation error\n----------------------\n");
135 print_shaders_line_by_line(skslStrings, lengths, count, glsl);
146 SkDEBUGFAIL("GLSL compilation failed!");
160 print_shaders_line_by_line(skslStrings, lengths, count, glsl);
174 SkSL::String glsl;
175 if (translate_to_glsl(context, type, skslStrings, lengths, count, settings, &glsl)) {
176 print_shaders_line_by_line(skslStrings, lengths, count, glsl);