Lines Matching refs:config

102 	//    - EGL_BAD_MATCH is generated if the attributes of native_pixmap do not correspond to config or if config does not support rendering to pixmaps
103 // - EGL_BAD_MATCH is generated if config does not support the specified OpenVG alpha format attribute or colorspace attribute
106 // - EGL_BAD_MATCH is generated if the attributes of native_window do not correspond to config or if config does not support rendering to windows
107 // - EGL_BAD_MATCH is generated if config does not support the specified OpenVG alpha format attribute or colorspace attribute
202 EGLConfig config;
205 if (getConfig(&config, FilterList() << surfaceBits<EGL_PBUFFER_BIT>))
207 eglu::UniqueSurface surface (egl, display, egl.createPbufferSurface(display, config, s_validGenericPbufferAttrib));
303 log << TestLog::Section("Test2", "EGL_BAD_CONFIG is generated if config is not an EGL frame buffer configuration");
310 log << TestLog::Section("Test3", "EGL_BAD_CONFIG is generated if config does not support the current rendering API");
387 log << TestLog::Section("Test4", "EGL_BAD_CONFIG or EGL_BAD_MATCH is generated if OpenGL ES 1.x context is requested and EGL_RENDERABLE_TYPE attribute of config does not contain EGL_OPENGL_ES_BIT");
414 log << TestLog::Section("Test5", "EGL_BAD_CONFIG or EGL_BAD_MATCH is generated if OpenGL ES 2.x context is requested and EGL_RENDERABLE_TYPE attribute of config does not contain EGL_OPENGL_ES2_BIT");
505 log << TestLog::Section("Test2", "EGL_BAD_CONFIG or EGL_BAD_PARAMETER is generated if config is not an EGL frame buffer configuration and if buffer is not valid OpenVG image");
573 log << TestLog::Section("Test2", "EGL_BAD_CONFIG is generated if config is not an EGL frame buffer configuration");
582 // Generic pbuffer-capable config
595 log << TestLog::Section("Test4", "EGL_BAD_MATCH is generated if config does not support rendering to pixel buffers");
606 log << TestLog::Section("Test5", "EGL_BAD_ATTRIBUTE is generated if attrib_list contains any of the attributes EGL_MIPMAP_TEXTURE, EGL_TEXTURE_FORMAT, or EGL_TEXTURE_TARGET, and config does not support OpenGL ES rendering");
622 // ES1 or ES2 config.
637 log << TestLog::Section("Test7", "EGL_BAD_MATCH is generated if config does not support the specified OpenVG alpha format attribute or colorspace attribute");
688 log << TestLog::Section("Test2", "EGL_BAD_CONFIG or EGL_BAD_PARAMETER is generated if config is not an EGL frame buffer configuration or if the PixmapSurface call is not supported");
698 EGLConfig config = DE_NULL;
699 bool gotConfig = getConfig(&config, FilterList() << renderable<EGL_OPENGL_ES2_BIT> << surfaceBits<EGL_WINDOW_BIT>);
706 de::UniquePtr<eglu::NativeWindow> window (factory.createWindow(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, eglu::WindowParams(256, 256, eglu::parseWindowVisibility(m_testCtx.getCommandLine()))));
710 expectNoSurface(eglCreateWindowSurface(EGL_NO_DISPLAY, config, window->getLegacyNative(), s_emptyAttribList));
713 expectNoSurface(eglCreateWindowSurface((EGLDisplay)-1, config, window->getLegacyNative(), s_emptyAttribList));
788 log << TestLog::Section("Test2", "EGL_BAD_CONFIG is generated if config is not an EGL frame buffer configuration");
795 // Any config.
796 EGLConfig config = DE_NULL;
797 bool hasConfig = getConfig(&config, FilterList());
803 expectFalse(eglGetConfigAttrib(display, config, 0, &value));
806 expectFalse(eglGetConfigAttrib(display, config, -1, &value));
873 EGLConfig config;
874 if (getConfig(&config, FilterList() << surfaceBits<EGL_PBUFFER_BIT>))
876 surface = eglCreatePbufferSurface(display, config, s_validGenericPbufferAttrib);
884 EGLConfig config;
885 if (getConfig(&config, FilterList() << renderable<EGL_OPENGL_ES2_BIT>))
887 context = eglCreateContext(display, config, EGL_NO_CONTEXT, s_es2ContextAttribList);
965 EGLConfig config = DE_NULL;
968 bool gotConfig = getConfig(&config, FilterList() << renderable<EGL_OPENGL_ES2_BIT> << surfaceBits<EGL_PBUFFER_BIT>);
975 context = eglCreateContext(display, config, EGL_NO_CONTEXT, s_es2ContextAttribList);
979 surface = eglCreatePbufferSurface(display, config, s_validGenericPbufferAttrib);
1036 EGLConfig config = DE_NULL;
1038 bool gotConfig = getConfig(&config, FilterList() << renderable<EGL_OPENGL_ES2_BIT>);
1045 context = eglCreateContext(display, config, EGL_NO_CONTEXT, s_es2ContextAttribList);
1124 EGLConfig config;
1125 if (getConfig(&config, FilterList() << surfaceBits<EGL_PBUFFER_BIT>))
1127 surface = eglCreatePbufferSurface(display, config, s_validGenericPbufferAttrib);
1131 log << TestLog::Message << "// WARNING: No suitable config found, testing will be incomplete" << TestLog::EndMessage;
1209 EGLConfig config;
1210 if (getConfig(&config, FilterList() << surfaceBits<EGL_PBUFFER_BIT>))
1212 surface = eglCreatePbufferSurface(display, config, s_validGenericPbufferAttrib);
1216 log << TestLog::Message << "// WARNING: No suitable config found, testing will be incomplete" << TestLog::EndMessage;
1243 EGLConfig config;
1244 if (getConfig(&config, FilterList() << surfaceBits<EGL_PBUFFER_BIT> << notSurfaceBits<EGL_MULTISAMPLE_RESOLVE_BOX_BIT>))
1246 surface = eglCreatePbufferSurface(display, config, s_validGenericPbufferAttrib);
1250 log << TestLog::Message << "// WARNING: No suitable config found, testing will be incomplete" << TestLog::EndMessage;
1274 EGLConfig config;
1275 if (getConfig(&config, FilterList() << surfaceBits<EGL_PBUFFER_BIT> << notSurfaceBits<EGL_SWAP_BEHAVIOR_PRESERVED_BIT>))
1277 surface = eglCreatePbufferSurface(display, config, s_validGenericPbufferAttrib);
1281 log << TestLog::Message << "// WARNING: No suitable config found, testing will be incomplete" << TestLog::EndMessage;
1368 EGLConfig config = DE_NULL;
1369 bool gotConfig = getConfig(&config, FilterList() << renderable<EGL_OPENGL_ES2_BIT> << surfaceBits<EGL_WINDOW_BIT>);
1377 de::UniquePtr<eglu::NativeWindow> window (factory.createWindow(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, eglu::WindowParams(256, 256, eglu::parseWindowVisibility(m_testCtx.getCommandLine()))));
1378 eglu::UniqueSurface surface (egl, display, eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *window, display, config, DE_NULL));
1384 context = eglCreateContext(display, config, EGL_NO_CONTEXT, s_es2ContextAttribList);