Lines Matching defs:log
366 string log;
371 log.resize(length, 0);
373 gl.getShaderInfoLog(vertexShader, (GLsizei)log.size(), &length, &(log[0]));
376 throw std::runtime_error(log.c_str());
388 string log;
393 log.resize(length, 0);
395 gl.getShaderInfoLog(fragmentShader, (GLsizei)log.size(), &length, &(log[0]));
398 throw std::runtime_error(log.c_str());
421 string log;
426 log.resize(length, 0);
428 gl.getProgramInfoLog(program, (GLsizei)log.size(), &length, &(log[0]));
431 throw std::runtime_error(log.c_str());
940 TestLog& log = testCtx.getLog();
947 log << TestLog::SampleList("Result", "Result")
952 log << TestLog::Sample << deInt64(resultsUs[resultNdx]) << TestLog::EndSample;
954 log << TestLog::EndSampleList;
971 tcu::ScopedLogSection section(log, "Statistics from results", "Statistics from results");
973 log << TestLog::Message
984 void logTestConfig (TestLog& log, const TestConfig& config)
986 tcu::ScopedLogSection threadSection(log, "Test info", "Test information");
988 log << TestLog::Message << "Total triangles rendered: : " << config.triangleCount * config.drawCallCount * config.frameCount * config.perThreadContextCount * config.threadCount << TestLog::EndMessage;
989 log << TestLog::Message << "Number of threads: " << config.threadCount << TestLog::EndMessage;
990 log << TestLog::Message << "Number of contexts used to render with each thread: " << config.perThreadContextCount << TestLog::EndMessage;
991 log << TestLog::Message << "Number of frames rendered with each context: " << config.frameCount << TestLog::EndMessage;
992 log << TestLog::Message << "Number of draw calls performed by each frame: " << config.drawCallCount << TestLog::EndMessage;
993 log << TestLog::Message << "Number of triangles rendered by each draw call: " << config.triangleCount << TestLog::EndMessage;
996 log << TestLog::Message << "Shared contexts." << TestLog::EndMessage;
998 log << TestLog::Message << "No shared contexts." << TestLog::EndMessage;
1001 log << TestLog::Message << (config.sharedCoordBuffer ? "Shared " : "") << "Coordinate buffer" << TestLog::EndMessage;
1003 log << TestLog::Message << "Coordinates from pointer" << TestLog::EndMessage;
1006 log << TestLog::Message << "Using glDrawElements with indices from " << (config.sharedIndexBuffer ? "shared " : "") << (config.useIndexBuffer ? "buffer." : "pointer.") << TestLog::EndMessage;
1011 log << TestLog::Message << "Use texture." << TestLog::EndMessage;
1013 log << TestLog::Message << "Use shared texture." << TestLog::EndMessage;
1015 log << TestLog::Message << "Use texture created from EGLImage." << TestLog::EndMessage;
1017 log << TestLog::Message << "Use texture created from shared EGLImage." << TestLog::EndMessage;
1019 log << TestLog::Message << "Use shared texture created from EGLImage." << TestLog::EndMessage;
1023 log << TestLog::Message << "Texture size: " << config.textureWidth << "x" << config.textureHeight << TestLog::EndMessage;
1027 log << TestLog::Message << "Shared program." << TestLog::EndMessage;
1029 log << TestLog::Message << "Surface size: " << config.surfaceWidth << "x" << config.surfaceHeight << TestLog::EndMessage;