HomeSort by relevance Sort by last modified time
    Searched refs:m_eglTestCtx (Results 1 - 25 of 43) sorted by null

1 2

  /external/deqp/modules/egl/
teglTestPackage.cpp 80 addChild(new MemoryStressTests(m_eglTestCtx));
94 addChild(new MakeCurrentPerfTests (m_eglTestCtx));
95 addChild(new GLES2SharedRenderingPerfTests (m_eglTestCtx));
109 addChild(new CreateContextTests (m_eglTestCtx));
110 addChild(new QueryContextTests (m_eglTestCtx));
111 addChild(new CreateSurfaceTests (m_eglTestCtx));
112 addChild(new QuerySurfaceTests (m_eglTestCtx));
113 addChild(new QueryConfigTests (m_eglTestCtx));
114 addChild(new ChooseConfigTests (m_eglTestCtx));
115 addChild(new ColorClearTests (m_eglTestCtx));
    [all...]
teglTestPackage.hpp 47 EglTestContext* m_eglTestCtx;
teglImageTests.cpp 91 TCU_CHECK_AND_THROW(NotSupportedError, eglu::hasExtension(m_eglTestCtx.getLibrary(), DPY, EXTNAME), (string("Unsupported extension: ") + EXTNAME).c_str())
144 // \note These macros expect "EglTestContext m_eglTestCtx" to be defined.
145 #define CHECK_EXT_CALL_RET(CALL, EXPECT_RETURN_VALUE, EXPECT_ERROR) checkCallReturn(m_eglTestCtx, #CALL, CALL, (EXPECT_RETURN_VALUE), (EXPECT_ERROR))
146 #define CHECK_EXT_CALL_ERR(CALL, EXPECT_ERROR) checkCallError(m_eglTestCtx, #CALL, CALL, (EXPECT_ERROR))
162 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
165 m_eglTestCtx.initGLFunctions(&m_gl, m_api, DE_LENGTH_OF_ARRAY(extensions), &extensions[0]);
170 m_eglTestCtx.getLibrary().terminate(m_display);
213 const Library& egl = m_eglTestCtx.getLibrary();
218 checkCallReturn(m_eglTestCtx, call.str().c_str(), image, EGL_NO_IMAGE_KHR, expectError);
248 : m_eglTestCtx (eglTestCtx
    [all...]
teglInfoTests.cpp 68 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay(), &m_version);
73 m_eglTestCtx.getLibrary().terminate(m_display);
125 const Library& egl = m_eglTestCtx.getLibrary();
151 const Library& egl = m_eglTestCtx.getLibrary();
174 addChild(new QueryStringCase(m_eglTestCtx, "version", "EGL Version", EGL_VERSION));
175 addChild(new QueryStringCase(m_eglTestCtx, "vendor", "EGL Vendor", EGL_VENDOR));
176 addChild(new QueryStringCase(m_eglTestCtx, "client_apis", "Supported client APIs", EGL_CLIENT_APIS));
177 addChild(new QueryExtensionsCase(m_eglTestCtx));
178 addChild(new ConfigList(m_eglTestCtx));
teglSyncTests.cpp 187 const Library& egl = m_eglTestCtx.getLibrary();
188 const eglu::NativeWindowFactory& windowFactory = eglu::selectNativeWindowFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
204 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
207 m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0));
222 m_nativeWindow = windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, m_eglConfig, DE_NULL, eglu::WindowParams(480, 480, eglu::parseWindowVisibility(m_testCtx.getCommandLine())));
223 m_eglSurface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_nativeWindow, m_eglDisplay, m_eglConfig, DE_NULL);
233 const Library& egl = m_eglTestCtx.getLibrary();
275 const Library& egl = m_eglTestCtx.getLibrary();
298 const Library& egl = m_eglTestCtx.getLibrary();
324 const Library& egl = m_eglTestCtx.getLibrary()
    [all...]
teglTestCase.cpp 78 , m_eglTestCtx (eglTestCtx)
88 , m_eglTestCtx (eglTestCtx)
94 , m_eglTestCtx (eglTestCtx)
teglMemoryStressTests.cpp 85 EglTestContext& m_eglTestCtx;
106 : m_eglTestCtx (eglTestCtx)
120 m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0));
125 const Library& egl = m_eglTestCtx.getLibrary();
199 const Library& egl = m_eglTestCtx.getLibrary();
265 const Library& egl = m_eglTestCtx.getLibrary();
358 const Library& egl = m_eglTestCtx.getLibrary();
373 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
387 m_eglTestCtx.getLibrary().terminate(m_display);
401 m_allocator = new MemoryAllocator(m_eglTestCtx, m_display, m_config, m_seed, m_spec.types, m_spec.minWidth, m_spec.minHeight, m_spec.maxWidth, m_ (…)
    [all...]
teglGetProcAddressTests.cpp 129 m_supported = eglu::getClientExtensions(m_eglTestCtx.getLibrary());
140 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
143 const std::vector<std::string> displayExtensios = eglu::getDisplayExtensions(m_eglTestCtx.getLibrary(), m_display);
152 m_eglTestCtx.getLibrary().terminate(m_display);
237 const bool apiSupported = (eglu::getRenderableAPIsMask(m_eglTestCtx.getLibrary(), m_display) & m_apiBit) == m_apiBit;
298 extensionsGroup->addChild(new GetProcAddressExtensionCase(m_eglTestCtx, testName.c_str(), ("Test " + extName).c_str(), extName));
307 coreFuncGroup->addChild(new GetProcAddressCoreFunctionsCase (m_eglTestCtx, "egl", "Test EGL core functions", 0));
308 coreFuncGroup->addChild(new GetProcAddressCoreFunctionsCase (m_eglTestCtx, "gles", "Test OpenGL ES core functions", EGL_OPENGL_ES_BIT));
309 coreFuncGroup->addChild(new GetProcAddressCoreFunctionsCase (m_eglTestCtx, "gles2", "Test OpenGL ES 2 core functions", EGL_OPENGL_ES2_BIT));
310 coreFuncGroup->addChild(new GetProcAddressCoreFunctionsCase (m_eglTestCtx, "gles3", "Test OpenGL ES 3 core functions", EGL_OPENGL_ES3_BIT_KHR))
    [all...]
teglMakeCurrentPerfTests.cpp 173 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
187 m_eglTestCtx.getLibrary().terminate(m_display);
204 const Library& egl = m_eglTestCtx.getLibrary();
255 const Library& egl = m_eglTestCtx.getLibrary();
274 const Library& egl = m_eglTestCtx.getLibrary();
278 const eglu::NativeWindowFactory& windowFactory = eglu::selectNativeWindowFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
285 window = windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_display, m_config, DE_NULL, eglu::WindowParams(width, height, eglu::parseWindowVisibility(m_eglTestCtx.getTestContext().getCommandLine())));
286 surface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *window, m_display, m_config, DE_NULL);
303 const Library& egl = m_eglTestCtx.getLibrary()
    [all...]
teglApiCase.cpp 53 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
54 m_supportedClientAPIs = eglu::getClientAPIs(m_eglTestCtx.getLibrary(), m_display);
59 const Library& egl = m_eglTestCtx.getLibrary();
87 EGLenum err = m_eglTestCtx.getLibrary().getError();
98 EGLenum err = m_eglTestCtx.getLibrary().getError();
163 *config = eglu::chooseSingleConfig(m_eglTestCtx.getLibrary(), m_display, filters);
teglNegativePartialUpdateTests.cpp 150 const Library& egl = m_eglTestCtx.getLibrary();
155 m_eglDisplay = getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
169 const NativeWindowFactory& factory = selectNativeWindowFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
170 m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, m_eglConfig, DE_NULL,
172 m_eglSurface = createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay, m_eglConfig, DE_NULL);
179 const Library& egl = m_eglTestCtx.getLibrary();
206 const EGLenum err = m_eglTestCtx.getLibrary().getError();
240 const Library& egl = m_eglTestCtx.getLibrary();
274 const Library& egl = m_eglTestCtx.getLibrary();
367 const Library& egl = m_eglTestCtx.getLibrary()
    [all...]
teglClientExtensionTests.cpp 136 const Library& egl = m_eglTestCtx.getLibrary();
187 const Library& egl = m_eglTestCtx.getLibrary();
208 EGLDisplay display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
255 const Library& egl = m_eglTestCtx.getLibrary();
270 EGLDisplay display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
329 addChild(new BaseTest(m_eglTestCtx));
330 addChild(new DisjointTest(m_eglTestCtx));
331 addChild(new CheckExtensionsTest(m_eglTestCtx));
teglTestCase.hpp 91 EglTestContext& m_eglTestCtx;
102 EglTestContext& m_eglTestCtx;
teglCreateSurfaceTests.cpp 118 const Library& egl = m_eglTestCtx.getLibrary();
121 const eglu::NativeWindowFactory& windowFactory = eglu::selectNativeWindowFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
142 de::UniquePtr<eglu::NativeWindow> window (windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, eglu::WindowParams(width, height, eglu::parseWindowVisibility(m_testCtx.getCommandLine()))));
143 eglu::UniqueSurface surface (egl, display, createWindowSurface(display, config, m_eglTestCtx.getNativeDisplay(), *window, m_useLegacyCreate));
176 const Library& egl = m_eglTestCtx.getLibrary();
179 const eglu::NativePixmapFactory& pixmapFactory = eglu::selectNativePixmapFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
200 de::UniquePtr<eglu::NativePixmap> pixmap (pixmapFactory.createPixmap(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, width, height));
201 eglu::UniqueSurface surface (egl, display, createPixmapSurface(display, config, m_eglTestCtx.getNativeDisplay(), *pixmap, m_useLegacyCreate));
232 const Library& egl = m_eglTestCtx.getLibrary();
304 windowGroup->addChild(new CreateWindowSurfaceCase(m_eglTestCtx, i->getName(), i->getDescription(), true, *i))
    [all...]
teglColorClearTests.cpp 110 createColorClearGroups<SingleThreadColorClearCase>(m_eglTestCtx, singleContextGroup, &singleContextCases[0], &singleContextCases[DE_LENGTH_OF_ARRAY(singleContextCases)]);
114 createColorClearGroups<SingleThreadColorClearCase>(m_eglTestCtx, multiContextGroup, &multiContextCases[0], &multiContextCases[DE_LENGTH_OF_ARRAY(multiContextCases)]);
118 createColorClearGroups<MultiThreadColorClearCase>(m_eglTestCtx, multiThreadGroup, &multiContextCases[0], &multiContextCases[DE_LENGTH_OF_ARRAY(multiContextCases)]);
teglQueryContextTests.cpp 97 const Library& egl = m_eglTestCtx.getLibrary();
139 const Library& egl = m_eglTestCtx.getLibrary();
181 const Library& egl = m_eglTestCtx.getLibrary();
222 const Library& egl = m_eglTestCtx.getLibrary();
231 const Library& egl = m_eglTestCtx.getLibrary();
319 const Library& egl = m_eglTestCtx.getLibrary();
320 EGLDisplay display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
396 simpleGroup->addChild(new QueryAPICase(m_eglTestCtx, "query_api", "eglQueryAPI() test"));
404 createQueryContextGroups<GetCurrentContextCase>(m_eglTestCtx, getCurrentContextGroup);
412 createQueryContextGroups<GetCurrentSurfaceCase>(m_eglTestCtx, getCurrentSurfaceGroup)
    [all...]
teglQuerySurfaceTests.cpp 120 const Library& egl = m_eglTestCtx.getLibrary();
253 const Library& egl = m_eglTestCtx.getLibrary();
305 const Library& egl = m_eglTestCtx.getLibrary();
309 const eglu::NativeWindowFactory& windowFactory = eglu::selectNativeWindowFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
317 de::UniquePtr<eglu::NativeWindow> window (windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, eglu::WindowParams(width, height, eglu::parseWindowVisibility(m_testCtx.getCommandLine()))));
318 eglu::UniqueSurface surface (egl, display, eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *window, display, config, DE_NULL));
336 const Library& egl = m_eglTestCtx.getLibrary();
340 const eglu::NativePixmapFactory& pixmapFactory = eglu::selectNativePixmapFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
348 de::UniquePtr<eglu::NativePixmap> pixmap (pixmapFactory.createPixmap(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, width, height));
349 eglu::UniqueSurface surface (egl, display, eglu::createPixmapSurface(m_eglTestCtx.getNativeDisplay(), *pixmap, display, config, DE_NULL))
    [all...]
teglChooseConfigTests.cpp 135 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
140 m_eglTestCtx.getLibrary().terminate(m_display);
161 const Library& egl = m_eglTestCtx.getLibrary();
293 vector<EGLConfig> configs = eglu::getConfigs(m_eglTestCtx.getLibrary(), m_display);
294 return eglu::getConfigID(m_eglTestCtx.getLibrary(), m_display, configs[rnd.getInt(0, (int)configs.size()-1)]);
546 selectionGroup->addChild(new ChooseConfigSimpleCase(m_eglTestCtx, attributes[ndx].testName, "Simple config selection case", attributes[ndx].attribute, false));
547 sortGroup->addChild(new ChooseConfigSimpleCase(m_eglTestCtx, attributes[ndx].testName, "Simple config selection and sort case", attributes[ndx].attribute, true));
563 randomGroup->addChild(new ChooseConfigRandomCase(m_eglTestCtx, "color_sizes", "Random color size rules", toSet(rgbaSizes)));
574 randomGroup->addChild(new ChooseConfigRandomCase(m_eglTestCtx, "color_depth_stencil_sizes", "Random color, depth and stencil size rules", toSet(colorDepthStencilSizes)));
584 randomGroup->addChild(new ChooseConfigRandomCase(m_eglTestCtx, "buffer_sizes", "Various buffer size rules", toSet(bufferSizes)))
    [all...]
teglResizeTests.cpp 145 const Library& egl = m_eglTestCtx.getLibrary();
147 const EGLDisplay eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
165 NativeDisplay& nativeDisplay = m_eglTestCtx.getNativeDisplay();
166 const NativeWindowFactory& windowFactory = eglu::selectNativeWindowFactory(m_eglTestCtx.getNativeDisplayFactory(),
187 m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2, 0));
199 m_eglTestCtx.getLibrary().terminate(m_display);
348 const Library& egl = m_eglTestCtx.getLibrary();
387 const Library& egl = m_eglTestCtx.getLibrary();
460 const Library& egl = m_eglTestCtx.getLibrary();
488 const Library& egl = m_eglTestCtx.getLibrary()
    [all...]
teglMultiThreadTests.cpp 154 const Library& getLibrary (void) const { return m_eglTestCtx.getLibrary(); }
286 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
293 m_eglTestCtx.getLibrary().terminate(m_display);
1104 const eglu::NativeWindowFactory& windowFactory = eglu::selectNativeWindowFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
1115 window = windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_display, m_config, DE_NULL, eglu::WindowParams(64, 64, eglu::parseWindowVisibility(m_testCtx.getCommandLine())));
1116 surface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *window, m_display, m_config, DE_NULL);
1142 window = windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_display, m_config, DE_NULL, eglu::WindowParams(64, 64, eglu::parseWindowVisibility(m_testCtx.getCommandLine())));
1143 surface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *window, m_display, m_config, DE_NULL);
    [all...]
teglGLES2SharedRenderingPerfTests.cpp 849 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
852 const Library& egl = m_eglTestCtx.getLibrary();
863 m_contexts.push_back(new TestContext(m_eglTestCtx, m_display, eglConfig, m_config, m_config.sharedContexts, (threadNdx == 0 ? DE_NULL : m_contexts[threadNdx-1])));
881 m_eglTestCtx.getLibrary().terminate(m_display);
1125 TestCaseGroup* sharedNoneGroup = new TestCaseGroup(m_eglTestCtx, "no_shared_context", "Tests without sharing contexts.");
1152 sharedNoneGroup->addChild(new SharedRenderingPerfCase(m_eglTestCtx, smallConfig, (createTestName(threadCount, contextCount) + "_small_call").c_str(), ""));
    [all...]
teglPreservingSwapTests.cpp 331 const eglu::NativeWindowFactory& factory = eglu::selectNativeWindowFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
333 m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, config, DE_NULL, eglu::WindowParams(480, 480, eglu::parseWindowVisibility(m_testCtx.getCommandLine())));
334 m_eglSurface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay, config, DE_NULL);
339 const Library& egl = m_eglTestCtx.getLibrary();
357 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
358 m_eglConfig = getEGLConfig(m_eglTestCtx.getLibrary(), m_eglDisplay, m_preserveColorbuffer);
366 m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0));
374 const Library& egl = m_eglTestCtx.getLibrary();
420 const Library& egl = m_eglTestCtx.getLibrary();
602 TestCaseGroup* const preserveGroup = new TestCaseGroup(m_eglTestCtx, (preserve ? "preserve" : "no_preserve"), "")
    [all...]
teglSimpleConfigCase.cpp 57 const Library& egl = m_eglTestCtx.getLibrary();
61 m_display = getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
92 m_eglTestCtx.getLibrary().terminate(m_display);
teglCreateContextTests.cpp 61 const Library& egl = m_eglTestCtx.getLibrary();
128 addChild(new CreateContextCase(m_eglTestCtx, i->getName(), i->getDescription(), *i));
teglGLES2SharingTests.cpp 125 m_eglTestCtx.initGLFunctions(&m_gl, glu::ApiType::es(2,0));
130 const Library& egl = m_eglTestCtx.getLibrary();
149 const Library& egl = m_eglTestCtx.getLibrary();
155 const Library& egl = m_eglTestCtx.getLibrary();
157 eglu::UniqueDisplay display (egl, eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()));
158 const eglu::NativeWindowFactory& windowFactory = eglu::selectNativeWindowFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
178 de::UniquePtr<eglu::NativeWindow> window (windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), *display, config, DE_NULL, eglu::WindowParams(480, 480, eglu::parseWindowVisibility(m_testCtx.getCommandLine()))));
179 eglu::UniqueSurface surface (egl, *display, eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *window, *display, config, DE_NULL));
    [all...]

Completed in 943 milliseconds

1 2