Lines Matching refs:shader_log
152 std::ostringstream *shader_log) { in CompileAndCheckShader() argument
156 if (shader_log) in CompileAndCheckShader()
157 *shader_log << "Failed glCreateShader call"; in CompileAndCheckShader()
165 if (shader_log) { in CompileAndCheckShader()
170 *shader_log << "Failed to compile shader:\n" << info_log.c_str() in CompileAndCheckShader()
173 *shader_log << sources[i]; in CompileAndCheckShader()
175 *shader_log << "\n"; in CompileAndCheckShader()
248 std::ostringstream *shader_log) { in GenerateProgram() argument
252 GL_VERTEX_SHADER, 1, &vertex_shader_source, shader_log); in GenerateProgram()
259 GL_FRAGMENT_SHADER, 1, &fragment_shader_source, shader_log); in GenerateProgram()
265 if (shader_log) in GenerateProgram()
266 *shader_log << "Failed to create program: " << GetGLError() << "\n"; in GenerateProgram()
281 if (shader_log) { in GenerateProgram()
287 *shader_log << "Failed to link program:\n" << program_log.c_str() << "\n"; in GenerateProgram()
536 std::ostringstream shader_log; in Init() local
537 blend_programs_.emplace_back(GenerateProgram(1, &shader_log)); in Init()
539 ALOGE("%s", shader_log.str().c_str()); in Init()