/external/deqp/framework/opengl/ |
D | gluShaderProgram.cpp | 82 m_info.infoLog.clear(); in compile() 116 std::vector<char> infoLog(infoLogLen + 3, '\0'); in compile() local 119 m_gl.getShaderInfoLog(m_shader, (int)infoLog.size() - 1, &unusedLen, &infoLog[0]); in compile() 121 if (infoLog[(int)(infoLog.size()) - 1] != '\0') in compile() 124 m_info.infoLog = std::string(&infoLog[0], infoLog.size()); in compile() 129 m_info.infoLog = std::string(&infoLog[0]); in compile() 160 std::vector<char> infoLog(infoLogLen + 3, '\0'); in getProgramInfoLog() local 163 gl.getProgramInfoLog(program, (int)infoLog.size() - 1, &unusedLen, &infoLog[0]); in getProgramInfoLog() 166 if (infoLog[(int)(infoLog.size()) - 1] != '\0') in getProgramInfoLog() 167 return std::string(&infoLog[0], infoLog.size()); in getProgramInfoLog() [all …]
|
D | gluShaderProgram.hpp | 50 std::string infoLog; //!< Compile info log. member 62 std::string infoLog; //!< Link info log. member 97 const std::string& getInfoLog (void) const { return getInfo().infoLog; } in getInfoLog() 133 const std::string& getInfoLog (void) const { return getInfo().infoLog; } in getInfoLog()
|
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/ |
D | OGLES2HelloAPI_LinuxX11.cpp | 476 char* infoLog = new char[infoLogLength]; in InitialiseShaders() local 477 glGetShaderInfoLog(fragmentShader, infoLogLength, &charactersWritten, infoLog); in InitialiseShaders() 480 infoLogLength>1 ? printf("%s", infoLog) : printf("Failed to compile fragment shader."); in InitialiseShaders() 482 delete[] infoLog; in InitialiseShaders() 519 char* infoLog = new char[infoLogLength]; in InitialiseShaders() local 520 glGetShaderInfoLog(vertexShader, infoLogLength, &charactersWritten, infoLog); in InitialiseShaders() 523 infoLogLength>1 ? printf("%s", infoLog) : printf("Failed to compile vertex shader."); in InitialiseShaders() 525 delete[] infoLog; in InitialiseShaders() 552 char* infoLog = new char[infoLogLength]; in InitialiseShaders() local 553 glGetProgramInfoLog(shaderProgram, infoLogLength, &charactersWritten, infoLog); in InitialiseShaders() [all …]
|
D | OGLES2HelloAPI_OSX.mm | 378 char* infoLog = new char[infoLogLength]; 379 glGetShaderInfoLog(fragmentShader, infoLogLength, &charactersWritten, infoLog); 382 infoLogLength>1 ? printf("%s", infoLog) : printf("Failed to compile fragment shader."); 384 delete[] infoLog; 421 char* infoLog = new char[infoLogLength]; 422 glGetShaderInfoLog(vertexShader, infoLogLength, &charactersWritten, infoLog); 425 infoLogLength>1 ? printf("%s", infoLog) : printf("Failed to compile vertex shader."); 427 delete[] infoLog; 454 char* infoLog = new char[infoLogLength]; 455 glGetProgramInfoLog(shaderProgram, infoLogLength, &charactersWritten, infoLog); [all …]
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Shader.cpp | 92 if(infoLog.empty()) in getInfoLogLength() 98 return infoLog.size() + 1; in getInfoLogLength() 108 if(!infoLog.empty()) in getInfoLog() 110 index = std::min(bufSize - 1, (GLsizei)infoLog.size()); in getInfoLog() 111 memcpy(infoLogOut, infoLog.c_str(), index); in getInfoLog() 191 infoLog.clear(); in clear() 231 infoLog = "GLSL ES 3.00 is not supported by OpenGL ES 2.0 contexts"; in compile() 239 infoLog += compiler->getInfoSink().info.c_str(); in compile() 240 TRACE("\n%s", infoLog.c_str()); in compile()
|
D | Shader.h | 56 void getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLog); 79 std::string infoLog; variable
|
D | Program.cpp | 165 infoLog = 0; in Program() 2395 if(!infoLog) in appendToInfoLog() 2397 infoLog = new char[infoLength + 2]; in appendToInfoLog() 2398 strcpy(infoLog, info); in appendToInfoLog() 2399 strcpy(infoLog + infoLength, "\n"); in appendToInfoLog() 2403 size_t logLength = strlen(infoLog); in appendToInfoLog() 2405 strcpy(newLog, infoLog); in appendToInfoLog() 2409 delete[] infoLog; in appendToInfoLog() 2410 infoLog = newLog; in appendToInfoLog() 2416 if(infoLog) in resetInfoLog() [all …]
|
/external/swiftshader/src/OpenGL/libGL/ |
D | Shader.cpp | 92 if(infoLog.empty()) in getInfoLogLength() 98 return infoLog.size() + 1; in getInfoLogLength() 108 if(!infoLog.empty()) in getInfoLog() 110 index = std::min(bufSize - 1, (GLsizei)infoLog.size()); in getInfoLog() 111 memcpy(infoLogOut, infoLog.c_str(), index); in getInfoLog() 185 infoLog.clear(); in clear() 224 infoLog = compiler->getInfoSink().info.c_str(); in compile() 225 TRACE("\n%s", infoLog.c_str()); in compile()
|
D | Program.cpp | 85 infoLog = 0; in Program() 1887 if(!infoLog) in appendToInfoLog() 1889 infoLog = new char[infoLength + 2]; in appendToInfoLog() 1890 strcpy(infoLog, info); in appendToInfoLog() 1891 strcpy(infoLog + infoLength, "\n"); in appendToInfoLog() 1895 size_t logLength = strlen(infoLog); in appendToInfoLog() 1897 strcpy(newLog, infoLog); in appendToInfoLog() 1901 delete[] infoLog; in appendToInfoLog() 1902 infoLog = newLog; in appendToInfoLog() 1908 if(infoLog) in resetInfoLog() [all …]
|
D | Shader.h | 59 void getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLog); 82 std::string infoLog; variable
|
/external/skia/bench/ |
D | GLBench.cpp | 95 GrGLchar infoLog[512]; in CompileShader() local 98 GR_GL_CALL(gl, GetShaderInfoLog(shader, 512, nullptr, infoLog)); in CompileShader() 99 SkDebugf("ERROR::SHADER::COMPLIATION_FAILED: %s\n", infoLog); in CompileShader() 119 GrGLchar infoLog[512]; in CreateProgram() local 122 GR_GL_CALL(gl, GetProgramInfoLog(shaderProgram, 512, nullptr, infoLog)); in CreateProgram() 123 SkDebugf("Linker Error: %s\n", infoLog); in CreateProgram()
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
D | shader.c | 30 char *infoLog; in printShaderLog() local 32 infoLog = malloc(infoLogSize); in printShaderLog() 33 glGetShaderInfoLog(shader, infoLogSize, &infoWritten, infoLog); in printShaderLog() 34 fprintf(stderr, "Error: glCompileShader failed: %s\n", infoLog); in printShaderLog() 35 free(infoLog); in printShaderLog()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkSpirVAsm.cpp | 60 …buildInfo->infoLog = diagnostic? diagnostic->error : ""; // \todo [2015-07-13 pyry] Include debu… in assembleSpirV() 119 bool validateSpirV (size_t binarySizeInWords, const deUint32* binary, std::ostream* infoLog) in validateSpirV() argument 130 *infoLog << diagnostic->error; in validateSpirV()
|
D | vkPrograms.cpp | 131 buildInfo->program.infoLog += "\n" + validationLog.str(); in buildProgram() 158 buildInfo->infoLog += "\n" + validationLog.str(); in assembleProgram()
|
D | vkSpirVAsm.hpp | 41 bool validateSpirV (size_t binarySizeInWords, const deUint32* binary, std::ostream* infoLog);
|
D | vkSpirVProgram.hpp | 58 std::string infoLog; member
|
D | vkSpirVProgram.cpp | 33 log << tcu::TestLog::ShaderProgram(shaderInfo.compileOk , shaderInfo.infoLog) in operator <<()
|
/external/deqp/modules/gles2/functional/ |
D | es2fNegativeStateApiTests.cpp | 188 char infoLog[128]; in init() 190 deMemset(&infoLog[0], 0, sizeof(infoLog)); in init() 193 glGetShaderInfoLog(-1, 128, &length[0], &infoLog[0]); in init() 198 glGetShaderInfoLog(program, 128, &length[0], &infoLog[0]); in init() 203 glGetShaderInfoLog(shader, -1, &length[0], &infoLog[0]); in init() 295 char infoLog[1] = { 0 }; in init() 298 glGetProgramInfoLog (-1, 1, &length[0], &infoLog[0]); in init() 303 glGetProgramInfoLog (shader, 1, &length[0], &infoLog[0]); in init() 308 glGetProgramInfoLog (program, -1, &length[0], &infoLog[0]); in init()
|
D | es2fShaderApiTests.cpp | 137 info.infoLog.clear(); in queryShaderInfo() 162 std::vector<char> infoLog(infoLogLen); in queryShaderInfo() local 163 gl.getShaderInfoLog(shader, (int)infoLog.size(), &unusedLen, &infoLog[0]); in queryShaderInfo() 164 info.infoLog = std::string(&infoLog[0], infoLogLen); in queryShaderInfo() 291 … << TestLog::Shader(getLogShaderType(shader.getType()), info.source, info.compileOk, info.infoLog); in logShader() 817 if (programInfo.infoLog != reference.infoLog) in verify()
|
/external/eigen/unsupported/test/ |
D | openglsupport.cpp | 60 GLchar *infoLog; in printInfoLog() local 64 infoLog = new GLchar[infologLength]; in printInfoLog() 65 glGetProgramInfoLog(objectID, infologLength, &charsWritten, infoLog); in printInfoLog() 67 std::cerr << "Shader info : \n" << infoLog << std::endl; in printInfoLog() 68 delete[] infoLog; in printInfoLog()
|
/external/mesa3d/src/mesa/main/ |
D | shaderapi.c | 646 GLsizei *length, GLchar *infoLog) in get_program_info_log() argument 654 _mesa_copy_string(infoLog, bufSize, length, shProg->InfoLog); in get_program_info_log() 660 GLsizei *length, GLchar *infoLog) in get_shader_info_log() argument 667 _mesa_copy_string(infoLog, bufSize, length, sh->InfoLog); in get_shader_info_log() 1153 GLcharARB * infoLog) in _mesa_GetInfoLogARB() argument 1157 get_program_info_log(ctx, object, maxLength, length, infoLog); in _mesa_GetInfoLogARB() 1160 get_shader_info_log(ctx, object, maxLength, length, infoLog); in _mesa_GetInfoLogARB() 1223 GLsizei *length, GLchar *infoLog) in _mesa_GetProgramInfoLog() argument 1226 get_program_info_log(ctx, program, bufSize, length, infoLog); in _mesa_GetProgramInfoLog() 1232 GLsizei *length, GLchar *infoLog) in _mesa_GetShaderInfoLog() argument [all …]
|
D | shaderapi.h | 171 GLsizei *length, GLchar *infoLog); 178 GLsizei *length, GLchar *infoLog);
|
/external/deqp/framework/qphelper/ |
D | qpTestLog.h | 217 …r (qpTestLog* log, qpShaderType type, const char* source, deBool compileOk, const char* infoLog); 221 …(qpTestLog* log, const char* name, const char* description, deBool compileOk, const char* infoLog);
|
/external/deqp/framework/common/ |
D | tcuTestLog.hpp | 148 …void writeShader (qpShaderType type, const char* source, bool compileOk, const char* infoLog… 151 …writeCompileInfo (const char* name, const char* description, bool compileOk, const char* infoLog); 307 …ogShader (qpShaderType type, const std::string& source, bool compileOk, const std::string& infoLog) in LogShader() argument 311 , m_infoLog (infoLog) in LogShader()
|
/external/deqp/modules/gles3/functional/ |
D | es3fNegativeStateApiTests.cpp | 240 char infoLog[128] = { 0 }; in init() 243 glGetShaderInfoLog(-1, 128, &length[0], &infoLog[0]); in init() 248 glGetShaderInfoLog(program, 128, &length[0], &infoLog[0]); in init() 253 glGetShaderInfoLog(shader, -1, &length[0], &infoLog[0]); in init() 338 char infoLog[1] = { 0 }; in init() 341 glGetProgramInfoLog (-1, 1, &length[0], &infoLog[0]); in init() 346 glGetProgramInfoLog (shader, 1, &length[0], &infoLog[0]); in init() 351 glGetProgramInfoLog (program, -1, &length[0], &infoLog[0]); in init()
|