Lines Matching defs:log
56 static void logSurfaceAttribute (tcu::TestLog& log, EGLint attribute, EGLint value)
61 log << TestLog::Message << " " << name << ": " << valueFmt << TestLog::EndMessage;
64 static void logSurfaceAttributes (tcu::TestLog& log, const Library& egl, EGLDisplay display, EGLSurface surface, const EGLint* attributes, int numAttribs)
67 logSurfaceAttribute(log, attributes[ndx], eglu::querySurfaceInt(egl, display, surface, attributes[ndx]));
70 static void logCommonSurfaceAttributes (tcu::TestLog& log, const Library& egl, EGLDisplay display, EGLSurface surface)
87 logSurfaceAttributes(log, egl, display, surface, attributes, DE_LENGTH_OF_ARRAY(attributes));
90 static void logPbufferSurfaceAttributes (tcu::TestLog& log, const Library& egl, EGLDisplay display, EGLSurface surface)
101 logSurfaceAttributes(log, egl, display, surface, attributes, DE_LENGTH_OF_ARRAY(attributes));
121 tcu::TestLog& log = m_testCtx.getLog();
131 log << TestLog::Message << " Fail, config ID " << id << " does not match the one used to create the surface" << TestLog::EndMessage;
143 log << TestLog::Message << " Fail, invalid surface size " << width << "x" << height << TestLog::EndMessage;
155 log << TestLog::Message << " Fail, invalid surface resolution " << hRes << "x" << vRes << TestLog::EndMessage;
166 log << TestLog::Message << " Fail, invalid pixel aspect ratio " << eglu::querySurfaceInt(egl, display, surface, EGL_PIXEL_ASPECT_RATIO) << TestLog::EndMessage;
177 log << TestLog::Message << " Fail, invalid render buffer value " << renderBuffer << TestLog::EndMessage;
188 log << TestLog::Message << " Fail, invalid multisample resolve value " << multisampleResolve << TestLog::EndMessage;
194 log << TestLog::Message << " Fail, multisample resolve is reported as box filter but configuration does not support it." << TestLog::EndMessage;
205 log << TestLog::Message << " Fail, invalid swap behavior value " << swapBehavior << TestLog::EndMessage;
211 log << TestLog::Message << " Fail, swap behavior is reported as preserve but configuration does not support it." << TestLog::EndMessage;
222 log << TestLog::Message << " Fail, invalid alpha format value " << alphaFormat << TestLog::EndMessage;
228 log << TestLog::Message << " Fail, is set to use premultiplied alpha but configuration does not support it." << TestLog::EndMessage;
239 log << TestLog::Message << " Fail, invalid color space value " << colorspace << TestLog::EndMessage;
245 log << TestLog::Message << " Fail, is set to use a linear color space but configuration does not support it." << TestLog::EndMessage;
255 tcu::TestLog& log = m_testCtx.getLog();
279 log << TestLog::Message << " Fail, querying " << name << " from a non-pbuffer surface should not result in an error, received "
289 log << TestLog::Message << " Fail, return value contents were modified when querying " << name << " from a non-pbuffer surface." << TestLog::EndMessage;
306 tcu::TestLog& log = m_testCtx.getLog();
314 log << TestLog::Message << "Creating window surface with config ID " << info.configId << TestLog::EndMessage;
320 logCommonSurfaceAttributes (log, egl, display, *surface);
337 tcu::TestLog& log = m_testCtx.getLog();
345 log << TestLog::Message << "Creating pixmap surface with config ID " << info.configId << TestLog::EndMessage;
351 logCommonSurfaceAttributes (log, egl, display, *surface);
368 tcu::TestLog& log = m_testCtx.getLog();
375 log << TestLog::Message << "Creating pbuffer surface with config ID " << info.configId << TestLog::EndMessage;
384 log << TestLog::Message << " Fail, maximum pbuffer size of " << width << "x" << height << " reported" << TestLog::EndMessage;
400 logCommonSurfaceAttributes (log, egl, display, *surface);
401 logPbufferSurfaceAttributes (log, egl, display, *surface);
412 log << TestLog::Message << " Fail, invalid largest pbuffer value " << largestPbuffer << TestLog::EndMessage;
423 log << TestLog::Message << " Fail, invalid texture format value " << textureFormat << TestLog::EndMessage;
434 log << TestLog::Message << " Fail, invalid texture target value " << textureTarget << TestLog::EndMessage;
445 log << TestLog::Message << " Fail, invalid mipmap texture value " << mipmapTexture << TestLog::EndMessage;
470 tcu::TestLog& log = m_testCtx.getLog();
475 log << TestLog::Message << "No attributes can be set in EGL 1.0" << TestLog::EndMessage;
487 logSurfaceAttribute(log, EGL_MIPMAP_LEVEL, value);
493 log << TestLog::Message << " Fail, initial mipmap level value should be 0, is " << value << TestLog::EndMessage;
499 log << TestLog::Message << " Fail, eglQuerySurface changed value when querying EGL_MIPMAP_LEVEL for non-pbuffer surface. Result: " << value << ". Expected: " << initialValue << TestLog::EndMessage;
510 log << TestLog::Message << " Fail, setting EGL_MIPMAP_LEVEL should not result in an error, received " << eglu::getErrorStr(error) << TestLog::EndMessage;
524 logSurfaceAttribute(log, EGL_MULTISAMPLE_RESOLVE, value);
528 log << TestLog::Message << " Fail, initial multisample resolve value should be EGL_MULTISAMPLE_RESOLVE_DEFAULT, is "
535 log << TestLog::Message << " Box filter is supported by surface, trying to set." << TestLog::EndMessage;
541 log << TestLog::Message << " Fail, tried to enable box filter but value did not change.";
551 logSurfaceAttribute(log, EGL_SWAP_BEHAVIOR, value);
561 log << TestLog::Message << " Fail, tried to set swap behavior to " << eglu::getSurfaceAttribStr(nextValue) << TestLog::EndMessage;
579 tcu::TestLog& log = m_testCtx.getLog();
587 log << TestLog::Message << "Creating window surface with config ID " << info.configId << TestLog::EndMessage;
608 tcu::TestLog& log = m_testCtx.getLog();
616 log << TestLog::Message << "Creating pixmap surface with config ID " << info.configId << TestLog::EndMessage;
637 tcu::TestLog& log = m_testCtx.getLog();
644 log << TestLog::Message << "Creating pbuffer surface with config ID " << info.configId << TestLog::EndMessage;
653 log << TestLog::Message << " Fail, maximum pbuffer size of " << width << "x" << height << " reported" << TestLog::EndMessage;