Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/modules/egl/
DteglNegativePartialUpdateTests.cpp73 EGLDisplay m_eglDisplay; member in deqp::egl::__anon453398ab0111::NegativePartialUpdateTest
137 , m_eglDisplay (EGL_NO_DISPLAY) in NegativePartialUpdateTest()
156 m_eglDisplay = getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
158 if (!hasExtension(egl, m_eglDisplay, "EGL_KHR_partial_update")) in init()
163 m_eglConfig = getEGLConfig(egl, m_eglDisplay, SURFACETYPE_PBUFFER, m_preserveBuffer); in init()
165 m_eglSurface = egl.createPbufferSurface(m_eglDisplay, m_eglConfig, pbufferAttribList); in init()
169 …m_eglConfig = getEGLConfig(egl, m_eglDisplay, SURFACETYPE_WINDOW | SURFACETYPE_PBUFFER, m_preserve… in init()
171 …m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, m_eglConfig, DE_NU… in init()
173 …m_eglSurface = createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay, m_egl… in init()
175 …m_eglContext = initAndMakeCurrentEGLContext(egl, m_eglDisplay, m_eglSurface, m_eglConfig, contextA… in init()
[all …]
DteglMutableRenderBufferTests.cpp65 EGLDisplay m_eglDisplay; member in deqp::egl::__anon426a640c0111::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.cpp113 EGLDisplay getEglDisplay() {return m_eglDisplay;} in getEglDisplay()
122 EGLDisplay m_eglDisplay; member in deqp::egl::SyncTest
137 , m_eglDisplay (EGL_NO_DISPLAY) in SyncTest()
166 eglu::Version version = eglu::getVersion(egl, m_eglDisplay); in hasRequiredEGLVersion()
183 if (!eglu::hasExtension(m_eglTestCtx.getLibrary(), m_eglDisplay, "EGL_KHR_fence_sync")) in hasEGLFenceSyncExtension()
196 if (!eglu::hasExtension(m_eglTestCtx.getLibrary(), m_eglDisplay, "EGL_KHR_wait_sync")) in hasEGLWaitSyncExtension()
254 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
255 m_eglConfig = eglu::chooseSingleConfig(egl, m_eglDisplay, displayAttribList); in init()
265 m_eglContext = egl.createContext(m_eglDisplay, m_eglConfig, EGL_NO_CONTEXT, contextAttribList); in init()
269 …m_nativeWindow = windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, m_eglC… in init()
[all …]
DteglWideColorTests.cpp121 EGLDisplay m_eglDisplay; member in deqp::egl::__anonaf58d5900111::WideColorTest
273 , m_eglDisplay (EGL_NO_DISPLAY) in WideColorTest()
284 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
293 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_pixel_format_float")) in checkPixelFloatSupport()
301 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_KHR_gl_colorspace")) in checkColorSpaceSupport()
309 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_gl_colorspace_display_p3")) in checkDisplayP3Support()
317 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_gl_colorspace_display_p3_passthrough")) in checkDisplayP3PassthroughSupport()
325 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_gl_colorspace_scrgb")) in checkSCRGBSupport()
333 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_gl_colorspace_scrgb_linear")) in checkSCRGBLinearSupport()
341 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_gl_colorspace_bt2020_linear")) in checkbt2020linear()
[all …]
DteglPartialUpdateTests.cpp107 EGLDisplay m_eglDisplay; member in deqp::egl::__anonce96ebd80111::PartialUpdateTest
361 , m_eglDisplay (EGL_NO_DISPLAY) in PartialUpdateTest()
377 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
379 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_KHR_partial_update")) in init()
381 egl.terminate(m_eglDisplay); in init()
382 m_eglDisplay = EGL_NO_DISPLAY; in init()
386 m_eglConfig = getEGLConfig(m_eglTestCtx.getLibrary(), m_eglDisplay); in init()
394 m_supportBufferAge = eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_buffer_age"); in init()
412 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in deinit()
413 egl.destroyContext(m_eglDisplay, m_eglContext); in deinit()
[all …]
DteglSwapBuffersWithDamageTests.cpp287 EGLDisplay m_eglDisplay; member in deqp::egl::__anon14746b0b0111::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::__anon269d72c80111::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::__anonf9c5664f0111::BufferAgeTest
374 , m_eglDisplay (EGL_NO_DISPLAY) in BufferAgeTest()
392 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
394 if (eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_buffer_age") == false) in init()
396 egl.terminate(m_eglDisplay); in init()
397 m_eglDisplay = EGL_NO_DISPLAY; in init()
401 m_eglConfig = getEGLConfig(m_eglTestCtx.getLibrary(), m_eglDisplay, m_preserveColorBuffer); in init()
428 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in deinit()
429 egl.destroyContext(m_eglDisplay, m_eglContext); in deinit()
435 egl.destroySurface(m_eglDisplay, m_eglSurface); in deinit()
[all …]
DteglRobustnessTests.cpp254 EGLDisplay m_eglDisplay; member in deqp::egl::__anone81a73400111::RobustnessTestCase
299 , m_eglDisplay (EGL_NO_DISPLAY) in RobustnessTestCase()
309 , m_eglDisplay (EGL_NO_DISPLAY) in RobustnessTestCase()
323 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
335 egl.destroySurface(m_eglDisplay, m_eglSurface); in deinit()
338 if (m_eglDisplay != EGL_NO_DISPLAY) in deinit()
340 egl.terminate(m_eglDisplay); in deinit()
341 m_eglDisplay = EGL_NO_DISPLAY; in deinit()
352 return eglu::chooseSingleConfig(m_eglTestCtx.getLibrary(), m_eglDisplay, filters); in getEGLConfig()
362 …m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, m_eglConfi… in initEGLSurface()
[all …]
DteglGLES2SharedRenderingPerfTests.cpp122 EGLDisplay m_eglDisplay; member in deqp::egl::__anon020a53a70111::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 …]
/third_party/vk-gl-cts/framework/egl/
DegluGLContextFactory.cpp141 virtual EGLDisplay getEGLDisplay (void) const { return m_eglDisplay; } in getEGLDisplay()
161 EGLDisplay m_eglDisplay; member in eglu::__anon814b35fb0111::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 …]
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/EGLWLInputEventExample/src/
DWLEGLSurface.cpp39 , m_eglDisplay(EGL_NO_DISPLAY) in WLEGLSurface()
50 eglMakeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~WLEGLSurface()
51 eglTerminate(m_eglDisplay); in ~WLEGLSurface()
78 m_eglDisplay = eglGetDisplay((EGLNativeDisplayType)m_wlContext->GetWLDisplay()); in CreatePlatformSurface()
81 if (!eglInitialize(m_eglDisplay, &major, &minor)){ in CreatePlatformSurface()
88 if (!eglChooseConfig(m_eglDisplay, configAttribs, &m_eglConfig, 1, &nConfig) in CreatePlatformSurface()
93 m_eglSurface = eglCreateWindowSurface(m_eglDisplay, m_eglConfig, in CreatePlatformSurface()
97 m_eglContext = eglCreateContext(m_eglDisplay, m_eglConfig, NULL, contextAttribs); in CreatePlatformSurface()
100 eglMakeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext); in CreatePlatformSurface()
/third_party/vk-gl-cts/framework/platform/surfaceless/
DtcuSurfacelessPlatform.cpp229 eglw::EGLDisplay m_eglDisplay; member in tcu::surfaceless::EglRenderContext
253 , m_eglDisplay(EGL_NO_DISPLAY) in EglRenderContext()
282 m_eglDisplay = m_egl.getDisplay(NULL); in EglRenderContext()
284 if (m_eglDisplay == EGL_NO_DISPLAY) in EglRenderContext()
287 EGLU_CHECK_CALL(m_egl, initialize(m_eglDisplay, &eglMajorVersion, &eglMinorVersion)); in EglRenderContext()
347 if (!eglChooseConfig(m_eglDisplay, &frame_buffer_attribs[0], NULL, 0, &num_configs)) in EglRenderContext()
352 …if (!eglChooseConfig(m_eglDisplay, &frame_buffer_attribs[0], all_configs, num_configs, &num_config… in EglRenderContext()
357 eglGetConfigAttrib(m_eglDisplay, all_configs[i], EGL_RED_SIZE, &red); in EglRenderContext()
358 eglGetConfigAttrib(m_eglDisplay, all_configs[i], EGL_GREEN_SIZE, &green); in EglRenderContext()
359 eglGetConfigAttrib(m_eglDisplay, all_configs[i], EGL_BLUE_SIZE, &blue); in EglRenderContext()
[all …]
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/EGLWLInputEventExample/include/
DWLEGLSurface.h32 EGLDisplay m_eglDisplay; variable
50 inline EGLDisplay WLEGLSurface::GetEGLDisplay() const { return m_eglDisplay; } in GetEGLDisplay()