Home
last modified time | relevance | path

Searched refs:m_eglDisplay (Results 1 – 13 of 13) sorted by relevance

/external/deqp/modules/egl/
DteglNegativePartialUpdateTests.cpp73 EGLDisplay m_eglDisplay; member in deqp::egl::__anon681dbff50111::NegativePartialUpdateTest
136 , m_eglDisplay (EGL_NO_DISPLAY) in NegativePartialUpdateTest()
155 m_eglDisplay = getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
157 if (!hasExtension(egl, m_eglDisplay, "EGL_KHR_partial_update")) in init()
160 m_eglConfig = getEGLConfig(egl, m_eglDisplay, m_surfaceType, m_preserveBuffer); in init()
165 m_eglSurface = egl.createPbufferSurface(m_eglDisplay, m_eglConfig, pbufferAttribList); in init()
170 …m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, m_eglConfig, DE_NU… in init()
172 …m_eglSurface = createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay, m_egl… in init()
174 …m_eglContext = initAndMakeCurrentEGLContext(egl, m_eglDisplay, m_eglSurface, m_eglConfig, contextA… in init()
183 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in deinit()
[all …]
DteglMutableRenderBufferTests.cpp65 EGLDisplay m_eglDisplay; member in deqp::egl::__anona52e30d60111::MutableRenderBufferTest
78 , m_eglDisplay (EGL_NO_DISPLAY) in MutableRenderBufferTest()
96 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
98 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_KHR_mutable_render_buffer")) in init()
127 m_eglConfig = eglu::chooseSingleConfig(egl, m_eglDisplay, attribs); in init()
131 const vector<EGLConfig> configs = eglu::chooseConfigs(egl, m_eglDisplay, attribsNoBit); in init()
136 EGLU_CHECK_CALL(egl, getConfigAttrib(m_eglDisplay, *config, EGL_SURFACE_TYPE, &surfaceType)); in init()
151 …m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, m_eglConfig, DE_NU… in init()
153 …m_eglSurface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay,… in init()
163 m_eglContext = egl.createContext(m_eglDisplay, m_eglConfig, EGL_NO_CONTEXT, contextAttribList); in init()
[all …]
DteglSyncTests.cpp112 EGLDisplay getEglDisplay() {return m_eglDisplay;} in getEglDisplay()
121 EGLDisplay m_eglDisplay; member in deqp::egl::SyncTest
136 , m_eglDisplay (EGL_NO_DISPLAY) in SyncTest()
165 eglu::Version version = eglu::getVersion(egl, m_eglDisplay); in hasRequiredEGLVersion()
182 if (!eglu::hasExtension(m_eglTestCtx.getLibrary(), m_eglDisplay, "EGL_KHR_fence_sync")) in hasRequiredEGLExtensions()
188 if (!eglu::hasExtension(m_eglTestCtx.getLibrary(), m_eglDisplay, "EGL_KHR_reusable_sync")) in hasRequiredEGLExtensions()
194 if (!eglu::hasExtension(m_eglTestCtx.getLibrary(), m_eglDisplay, "EGL_KHR_wait_sync")) in hasRequiredEGLExtensions()
252 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
253 m_eglConfig = eglu::chooseSingleConfig(egl, m_eglDisplay, displayAttribList); in init()
263 m_eglContext = egl.createContext(m_eglDisplay, m_eglConfig, EGL_NO_CONTEXT, contextAttribList); in init()
[all …]
DteglWideColorTests.cpp120 EGLDisplay m_eglDisplay; member in deqp::egl::__anon7d6e3dda0111::WideColorTest
272 , m_eglDisplay (EGL_NO_DISPLAY) in WideColorTest()
283 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
292 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_pixel_format_float")) in checkPixelFloatSupport()
300 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_KHR_gl_colorspace")) in checkColorSpaceSupport()
308 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_gl_colorspace_display_p3")) in checkDisplayP3Support()
316 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_gl_colorspace_display_p3_passthrough")) in checkDisplayP3PassthroughSupport()
324 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_gl_colorspace_scrgb")) in checkSCRGBSupport()
332 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_gl_colorspace_scrgb_linear")) in checkSCRGBLinearSupport()
340 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_gl_colorspace_bt2020_linear")) in checkbt2020linear()
[all …]
DteglPartialUpdateTests.cpp107 EGLDisplay m_eglDisplay; member in deqp::egl::__anonfe5b69220111::PartialUpdateTest
361 , m_eglDisplay (EGL_NO_DISPLAY) in PartialUpdateTest()
377 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
378 m_eglConfig = getEGLConfig(m_eglTestCtx.getLibrary(), m_eglDisplay); in init()
386 m_supportBufferAge = eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_buffer_age"); in init()
388 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_KHR_partial_update")) in init()
407 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in deinit()
408 egl.destroyContext(m_eglDisplay, m_eglContext); in deinit()
414 egl.destroySurface(m_eglDisplay, m_eglSurface); in deinit()
418 if (m_eglDisplay != EGL_NO_DISPLAY) in deinit()
[all …]
DteglSwapBuffersWithDamageTests.cpp287 EGLDisplay m_eglDisplay; member in deqp::egl::__anon375e92550111::SwapBuffersWithDamageTest
301 , m_eglDisplay (EGL_NO_DISPLAY) in SwapBuffersWithDamageTest()
327 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
328 m_eglConfig = getConfig(egl, m_eglDisplay); in init()
330 checkExtension(egl, m_eglDisplay); in init()
348 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in deinit()
349 egl.destroyContext(m_eglDisplay, m_eglContext); in deinit()
355 egl.destroySurface(m_eglDisplay, m_eglSurface); in deinit()
359 if (m_eglDisplay != EGL_NO_DISPLAY) in deinit()
361 egl.terminate(m_eglDisplay); in deinit()
[all …]
DteglPreservingSwapTests.cpp91 EGLDisplay m_eglDisplay; member in deqp::egl::__anon4ef199520111::PreservingSwapTest
287 , m_eglDisplay (EGL_NO_DISPLAY) in PreservingSwapTest()
333 …m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, config, DE_NULL, … in initEGLSurface()
334 …m_eglSurface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay,… in initEGLSurface()
347 m_eglContext = egl.createContext(m_eglDisplay, config, EGL_NO_CONTEXT, attribList); in initEGLContext()
351 egl.makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext); in initEGLContext()
357 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
358 m_eglConfig = getEGLConfig(m_eglTestCtx.getLibrary(), m_eglDisplay, m_preserveColorbuffer); in init()
384 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in deinit()
385 egl.destroyContext(m_eglDisplay, m_eglContext); in deinit()
[all …]
DteglBufferAgeTests.cpp115 EGLDisplay m_eglDisplay; member in deqp::egl::__anonc7dace990111::BufferAgeTest
374 , m_eglDisplay (EGL_NO_DISPLAY) in BufferAgeTest()
392 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
393 m_eglConfig = getEGLConfig(m_eglTestCtx.getLibrary(), m_eglDisplay, m_preserveColorBuffer); in init()
404 if (eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_buffer_age") == false) in init()
423 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in deinit()
424 egl.destroyContext(m_eglDisplay, m_eglContext); in deinit()
430 egl.destroySurface(m_eglDisplay, m_eglSurface); in deinit()
434 if (m_eglDisplay != EGL_NO_DISPLAY) in deinit()
436 egl.terminate(m_eglDisplay); in deinit()
[all …]
DteglRobustnessTests.cpp260 EGLDisplay m_eglDisplay; member in deqp::egl::__anon78dce4ca0111::RobustnessTestCase
316 , m_eglDisplay (EGL_NO_DISPLAY) in RobustnessTestCase()
326 , m_eglDisplay (EGL_NO_DISPLAY) in RobustnessTestCase()
340 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
352 egl.destroySurface(m_eglDisplay, m_eglSurface); in deinit()
355 if (m_eglDisplay != EGL_NO_DISPLAY) in deinit()
357 egl.terminate(m_eglDisplay); in deinit()
358 m_eglDisplay = EGL_NO_DISPLAY; in deinit()
369 return eglu::chooseSingleConfig(m_eglTestCtx.getLibrary(), m_eglDisplay, filters); in getEGLConfig()
379 …m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, m_eglConfi… in initEGLSurface()
[all …]
DteglGLES2SharedRenderingPerfTests.cpp122 EGLDisplay m_eglDisplay; member in deqp::egl::__anon4a3faeb10111::TestContext
483 , m_eglDisplay (eglDisplay) in TestContext()
498 const vector<string> extensions = eglu::getDisplayExtensions(egl, m_eglDisplay); in TestContext()
505 …m_eglContext = createEGLContext(m_testCtx, m_eglDisplay, eglConfig, (share && parent ? parent->get… in TestContext()
506 m_eglSurface = createEGLSurface(m_testCtx, m_eglDisplay, eglConfig, config); in TestContext()
508 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext)); in TestContext()
588 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TestContext()
604 …EGLImageKHR image = egl.createImageKHR(m_eglDisplay, m_eglContext, EGL_GL_TEXTURE_2D_KHR, (EGLClie… in createEGLImage()
645 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext)); in ~TestContext()
648 EGLU_CHECK_CALL(egl, destroyImageKHR(m_eglDisplay, m_eglImage)); in ~TestContext()
[all …]
DteglGLES2SharingThreadedTests.cpp2096 EGLDisplay m_eglDisplay; member in deqp::egl::GLES2SharingRandomTest
2127 , m_eglDisplay (EGL_NO_DISPLAY) in GLES2SharingRandomTest()
2150 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
2151 m_eglConfig = eglu::chooseSingleConfig(egl, m_eglDisplay, attribList); in init()
2157 requireEGLExtension(egl, m_eglDisplay, "EGL_KHR_fence_sync"); in init()
2160 requireEGLExtension(egl, m_eglDisplay, "EGL_KHR_wait_sync"); in init()
2164 requireEGLExtension(egl, m_eglDisplay, "EGL_KHR_image_base"); in init()
2165 requireEGLExtension(egl, m_eglDisplay, "EGL_KHR_gl_texture_2D_image"); in init()
2175 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, s… in init()
2187 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglCo… in init()
[all …]
/external/deqp/framework/egl/
DegluGLContextFactory.cpp141 virtual EGLDisplay getEGLDisplay (void) const { return m_eglDisplay; } in getEGLDisplay()
161 EGLDisplay m_eglDisplay; member in eglu::__anonb10fb3450111::RenderContext
179 , m_eglDisplay (EGL_NO_DISPLAY) in RenderContext()
302 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext)); in makeCurrent()
325 m_eglDisplay = eglu::getDisplay(*m_display); in create()
331 EGLU_CHECK_CALL(egl, initialize(m_eglDisplay, &major, &minor)); in create()
334 m_eglConfig = chooseConfig(egl, m_eglDisplay, config); in create()
339 …const EGLint supportedTypes = eglu::getConfigAttribInt(egl, m_eglDisplay, m_eglConfig, EGL_SURFACE… in create()
357 …facePair windowSurface = createWindow(m_display.get(), windowFactory, m_eglDisplay, m_eglConfig, c… in create()
370 …facePair pixmapSurface = createPixmap(m_display.get(), pixmapFactory, m_eglDisplay, m_eglConfig, c… in create()
[all …]
/external/deqp/framework/platform/surfaceless/
DtcuSurfacelessPlatform.cpp219 eglw::EGLDisplay m_eglDisplay; member in tcu::surfaceless::EglRenderContext
243 , m_eglDisplay(EGL_NO_DISPLAY) in EglRenderContext()
272 m_eglDisplay = m_egl.getDisplay(NULL); in EglRenderContext()
274 if (m_eglDisplay == EGL_NO_DISPLAY) in EglRenderContext()
277 EGLU_CHECK_CALL(m_egl, initialize(m_eglDisplay, &eglMajorVersion, &eglMinorVersion)); in EglRenderContext()
335 if (!eglChooseConfig(m_eglDisplay, &frame_buffer_attribs[0], NULL, 0, &num_configs)) in EglRenderContext()
338 if (!eglChooseConfig(m_eglDisplay, &frame_buffer_attribs[0], &egl_config, 1, &num_configs)) in EglRenderContext()
347 egl_surface = eglCreatePbufferSurface(m_eglDisplay, egl_config, &surface_attribs[0]); in EglRenderContext()
389 m_eglContext = m_egl.createContext(m_eglDisplay, egl_config, EGL_NO_CONTEXT, &context_attribs[0]); in EglRenderContext()
394 EGLU_CHECK_CALL(m_egl, makeCurrent(m_eglDisplay, egl_surface, egl_surface, m_eglContext)); in EglRenderContext()
[all …]