Home
last modified time | relevance | path

Searched refs:shader_log (Results 1 – 1 of 1) sorted by relevance

/external/drm_hwcomposer/
Dglworker.cpp143 std::string *shader_log) { in CompileAndCheckShader() argument
147 *shader_log = "glCreateShader failed"; in CompileAndCheckShader()
154 if (shader_log) { in CompileAndCheckShader()
157 shader_log->resize(log_length); in CompileAndCheckShader()
158 glGetShaderInfoLog(shader.get(), log_length, NULL, &(*shader_log)[0]); in CompileAndCheckShader()
216 std::string shader_log; in GenerateShaders() local
229 ret ? &shader_log : NULL); in GenerateShaders()
232 ALOGE("Failed to make vertex shader:\n%s", shader_log.c_str()); in GenerateShaders()
238 GL_FRAGMENT_SHADER, 3, shader_sources, ret ? &shader_log : NULL); in GenerateShaders()
241 ALOGE("Failed to make fragment shader:\n%s", shader_log.c_str()); in GenerateShaders()