Lines Matching refs:log
52 static void logSurfaceAttribute (tcu::TestLog& log, EGLint attribute, EGLint value)
57 log << TestLog::Message << " " << name << ": " << valueFmt << TestLog::EndMessage;
60 static void logSurfaceAttributes (tcu::TestLog& log, const tcu::egl::Surface& surface, const EGLint* attributes, int num)
66 logSurfaceAttribute(log, attrib, surface.getAttribute(attrib));
70 static void logCommonSurfaceAttributes (tcu::TestLog& log, const tcu::egl::Surface& surface)
87 logSurfaceAttributes(log, surface, attributes, DE_LENGTH_OF_ARRAY(attributes));
90 static void logPbufferSurfaceAttributes (tcu::TestLog& log, const tcu::egl::Surface& surface)
100 logSurfaceAttributes(log, surface, attributes, DE_LENGTH_OF_ARRAY(attributes));
119 tcu::TestLog& log = m_testCtx.getLog();
129 log << TestLog::Message << " Fail, config ID " << id << " does not match the one used to create the surface" << TestLog::EndMessage;
141 log << TestLog::Message << " Fail, invalid surface size " << width << "x" << height << TestLog::EndMessage;
153 log << TestLog::Message << " Fail, invalid surface resolution " << hRes << "x" << vRes << TestLog::EndMessage;
164 log << TestLog::Message << " Fail, invalid pixel aspect ratio " << surface.getAttribute(EGL_PIXEL_ASPECT_RATIO) << TestLog::EndMessage;
175 log << TestLog::Message << " Fail, invalid render buffer value " << renderBuffer << TestLog::EndMessage;
186 log << TestLog::Message << " Fail, invalid multisample resolve value " << multisampleResolve << TestLog::EndMessage;
192 log << TestLog::Message << " Fail, multisample resolve is reported as box filter but configuration does not support it." << TestLog::EndMessage;
203 log << TestLog::Message << " Fail, invalid swap behavior value " << swapBehavior << TestLog::EndMessage;
209 log << TestLog::Message << " Fail, swap behavior is reported as preserve but configuration does not support it." << TestLog::EndMessage;
220 log << TestLog::Message << " Fail, invalid OpenVG alpha format value " << vgAlphaFormat << TestLog::EndMessage;
226 log << TestLog::Message << " Fail, OpenVG is set to use premultiplied alpha but configuration does not support it." << TestLog::EndMessage;
237 log << TestLog::Message << " Fail, invalid OpenVG color space value " << vgColorspace << TestLog::EndMessage;
243 log << TestLog::Message << " Fail, OpenVG is set to use a linear color space but configuration does not support it." << TestLog::EndMessage;
252 tcu::TestLog& log = m_testCtx.getLog();
275 log << TestLog::Message << " Fail, querying " << name << " from a non-pbuffer surface should not result in an error, received "
286 log << TestLog::Message << " Fail, return value contents were modified when querying " << name << " from a non-pbuffer surface." << TestLog::EndMessage;
302 tcu::TestLog& log = m_testCtx.getLog();
309 log << TestLog::Message << "Creating window surface with config ID " << info.configId << TestLog::EndMessage;
315 logCommonSurfaceAttributes(log, surface);
332 tcu::TestLog& log = m_testCtx.getLog();
339 log << TestLog::Message << "Creating pixmap surface with config ID " << info.configId << TestLog::EndMessage;
345 logCommonSurfaceAttributes(log, surface);
362 tcu::TestLog& log = m_testCtx.getLog();
369 log << TestLog::Message << "Creating pbuffer surface with config ID " << info.configId << TestLog::EndMessage;
378 log << TestLog::Message << " Fail, maximum pbuffer size of " << width << "x" << height << " reported" << TestLog::EndMessage;
394 logCommonSurfaceAttributes(log, surface);
395 logPbufferSurfaceAttributes(log, surface);
407 log << TestLog::Message << " Fail, invalid largest pbuffer value " << largestPbuffer << TestLog::EndMessage;
418 log << TestLog::Message << " Fail, invalid texture format value " << textureFormat << TestLog::EndMessage;
429 log << TestLog::Message << " Fail, invalid texture target value " << textureTarget << TestLog::EndMessage;
440 log << TestLog::Message << " Fail, invalid mipmap texture value " << mipmapTexture << TestLog::EndMessage;
465 tcu::TestLog& log = m_testCtx.getLog();
472 log << TestLog::Message << "No attributes can be set in EGL 1.0" << TestLog::EndMessage;
484 logSurfaceAttribute(log, EGL_MIPMAP_LEVEL, value);
490 log << TestLog::Message << " Fail, initial mipmap level value should be 0, is " << value << TestLog::EndMessage;
496 log << TestLog::Message << " Fail, eglQuerySurface changed value when querying EGL_MIPMAP_LEVEL for non-pbuffer surface. Result: " << value << ". Expected: " << initialValue << TestLog::EndMessage;
507 log << TestLog::Message << " Fail, setting EGL_MIPMAP_LEVEL should not result in an error, received " << eglu::getErrorStr(error) << TestLog::EndMessage;
521 logSurfaceAttribute(log, EGL_MULTISAMPLE_RESOLVE, value);
525 log << TestLog::Message << " Fail, initial multisample resolve value should be EGL_MULTISAMPLE_RESOLVE_DEFAULT, is "
532 log << TestLog::Message << " Box filter is supported by surface, trying to set." << TestLog::EndMessage;
538 log << TestLog::Message << " Fail, tried to enable box filter but value did not change.";
548 logSurfaceAttribute(log, EGL_SWAP_BEHAVIOR, value);
558 log << TestLog::Message << " Fail, tried to set swap behavior to " << eglu::getSurfaceAttribStr(nextValue) << TestLog::EndMessage;
575 tcu::TestLog& log = m_testCtx.getLog();
582 log << TestLog::Message << "Creating window surface with config ID " << info.configId << TestLog::EndMessage;
602 tcu::TestLog& log = m_testCtx.getLog();
609 log << TestLog::Message << "Creating pixmap surface with config ID " << info.configId << TestLog::EndMessage;
629 tcu::TestLog& log = m_testCtx.getLog();
636 log << TestLog::Message << "Creating pbuffer surface with config ID " << info.configId << TestLog::EndMessage;
645 log << TestLog::Message << " Fail, maximum pbuffer size of " << width << "x" << height << " reported" << TestLog::EndMessage;