Home
last modified time | relevance | path

Searched refs:getDisplay (Results 1 – 25 of 124) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DPbufferTest.cpp61 eglGetConfigAttrib(window->getDisplay(), window->getConfig(), EGL_SURFACE_TYPE, in testSetUp()
66 eglGetConfigAttrib(window->getDisplay(), window->getConfig(), EGL_BIND_TO_TEXTURE_RGBA, in testSetUp()
79 eglCreatePbufferSurface(window->getDisplay(), window->getConfig(), pBufferAttributes); in testSetUp()
101 eglDestroySurface(window->getDisplay(), mPbuffer); in testTearDown()
111 eglDestroySurface(window->getDisplay(), mPbuffer); in recreatePbufferInSrgbColorspace()
129 mPbuffer = eglCreatePbufferSurface(window->getDisplay(), window->getConfig(), in recreatePbufferInSrgbColorspace()
159 eglMakeCurrent(window->getDisplay(), mPbuffer, mPbuffer, window->getContext()); in TEST_P()
185 eglMakeCurrent(window->getDisplay(), mPbuffer, mPbuffer, window->getContext()); in TEST_P()
209 eglBindTexImage(window->getDisplay(), mPbuffer, EGL_BACK_BUFFER); in TEST_P()
221 eglReleaseTexImage(window->getDisplay(), mPbuffer, EGL_BACK_BUFFER); in TEST_P()
[all …]
DPixmapTest.cpp45 eglGetConfigAttrib(window->getDisplay(), window->getConfig(), EGL_SURFACE_TYPE, in testSetUp()
50 eglGetConfigAttrib(window->getDisplay(), window->getConfig(), EGL_BIND_TO_TEXTURE_RGBA, in testSetUp()
53 IsEGLDisplayExtensionEnabled(window->getDisplay(), "EGL_NOK_texture_from_pixmap") && in testSetUp()
63 ASSERT_TRUE(eglGetConfigAttrib(window->getDisplay(), window->getConfig(), in testSetUp()
80 mPixmap = eglCreatePixmapSurface(window->getDisplay(), window->getConfig(), in testSetUp()
96 eglDestroySurface(window->getDisplay(), mPixmap); in testTearDown()
130 eglMakeCurrent(window->getDisplay(), mPixmap, mPixmap, window->getContext()); in TEST_P()
161 eglMakeCurrent(window->getDisplay(), mPixmap, mPixmap, window->getContext()); in TEST_P()
185 eglBindTexImage(window->getDisplay(), mPixmap, EGL_BACK_BUFFER); in TEST_P()
197 eglReleaseTexImage(window->getDisplay(), mPixmap, EGL_BACK_BUFFER); in TEST_P()
[all …]
DImageTest.cpp308 eglCreateImageKHR(window->getDisplay(), window->getContext(), EGL_GL_TEXTURE_2D_KHR, in createEGLImage2DTextureSource()
347 eglCreateImageKHR(window->getDisplay(), window->getContext(), imageTarget, in createEGLImageCubemapTextureSource()
382 eglCreateImageKHR(window->getDisplay(), window->getContext(), EGL_GL_TEXTURE_3D_KHR, in createEGLImage3DTextureSource()
418 window->getDisplay(), window->getContext(), EGL_GL_RENDERBUFFER_KHR, in createEGLImageRenderbufferSource()
638 window->getDisplay(), EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in createEGLImageAndroidHardwareBufferSource()
673 eglCreateImageKHR(window->getDisplay(), EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in createEGLImageANWBClientBufferSource()
928 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), kImageGLColorspaceExt); in hasImageGLColorspaceExt()
933 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), in hasAndroidImageNativeBufferExt()
958 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), kBaseExt); in hasBaseExt()
963 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), k2DTextureExt); in has2DTextureExt()
[all …]
DExternalWrapTest.cpp116 ASSERT_TRUE(IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), in createExternalTexture()
127 window->getDisplay(), window->getContext(), EGL_GL_TEXTURE_2D_KHR, in createExternalTexture()
154 !IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), "EGL_KHR_gl_texture_2D_image")); in TEST_P()
179 !IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), "EGL_KHR_gl_texture_2D_image")); in TEST_P()
206 !IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), "EGL_KHR_gl_texture_2D_image")); in TEST_P()
238 !IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), "EGL_KHR_gl_texture_2D_image")); in TEST_P()
DD3DTextureTest.cpp85 EGLDisplay display = window->getDisplay(); in testSetUp()
148 EGLDisplay display = window->getDisplay(); in createD3D11PBuffer()
201 EGLDisplay display = window->getDisplay(); in createPBuffer()
234 EGLDisplay display = window->getDisplay(); in valid()
327 EGLDisplay display = window->getDisplay(); in TEST_P()
377 EGLDisplay display = window->getDisplay(); in TEST_P()
453 EGLDisplay display = window->getDisplay(); in TEST_P()
556 EGLDisplay display = window->getDisplay(); in TEST_P()
711 EGLDisplay display = window->getDisplay(); in TEST_P()
736 EGLDisplay display = window->getDisplay(); in TEST_P()
[all …]
DMultithreadingTest.cpp40 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), "EGL_KHR_fence_sync"); in hasFenceSyncExtension()
48 if (!IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), in createMultithreadedContext()
64 EGLDisplay dpy = window->getDisplay(); in runMultithreadedGLTest()
174 EGLDisplay dpy = window->getDisplay(); in TEST_P()
245 EGLDisplay dpy = window->getDisplay(); in TEST_P()
365 EGLDisplay dpy = window->getDisplay(); in TEST_P()
417 EGLDisplay dpy = window->getDisplay(); in TEST_P()
470 EGLDisplay dpy = window->getDisplay(); in TEST_P()
516 EGLDisplay dpy = window->getDisplay(); in textureThreadFunction()
629 EGLDisplay dpy = window->getDisplay(); in mainThreadDraw()
[all …]
DImageTestMetal.mm177 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &angleDevice));
236 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &angleDevice);
247 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(),
255 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), kBaseExt);
274 eglCreateImageKHR(window->getDisplay(), EGL_NO_CONTEXT, EGL_METAL_TEXTURE_ANGLE,
315 eglDestroyImageKHR(window->getDisplay(), image);
351 eglDestroyImageKHR(window->getDisplay(), image);
DVulkanImageTest.cpp31 EGLDisplay display = window->getDisplay(); in TEST_P()
101 EGLDisplay display = window->getDisplay(); in TEST_P()
144 EGLDisplay display = window->getDisplay(); in TEST_P()
199 EGLDisplay display = window->getDisplay(); in TEST_P()
267 EGLDisplay display = window->getDisplay(); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLSyncTest.cpp22 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), "EGL_KHR_fence_sync"); in hasFenceSyncExtension()
27 IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), "EGL_KHR_wait_sync"); in hasWaitSyncExtension()
33 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), in hasAndroidNativeFenceSyncExtension()
43 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
134 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
168 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
205 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
248 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
266 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
284 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
[all …]
DEGLDeviceTest.cpp337 static_cast<const char *>(eglQueryString(getEGLWindow()->getDisplay(), EGL_EXTENSIONS)); in testSetUp()
359 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &angleDevice)); in testSetUp()
380 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &angleDevice)); in TEST_P()
392 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &angleDevice)); in TEST_P()
414 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &angleDevice)); in TEST_P()
422 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &angleDevice)); in TEST_P()
437 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &eglDevice)); in TEST_P()
441 EXPECT_EQ(getEGLWindow()->getDisplay(), display2); in TEST_P()
DEGLDeviceCGLTest.cpp24 static_cast<const char *>(eglQueryString(getEGLWindow()->getDisplay(), EGL_EXTENSIONS)); in testSetUp()
46 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &angleDevice)); in testSetUp()
62 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &angleDevice)); in TEST_P()
DEGLBlobCacheTest.cpp105 EGLDisplay display = getEGLWindow()->getDisplay(); in testSetUp()
119 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
198 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
238 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
DEGLStreamTest.cpp67 EGLDisplay display = window->getDisplay(); in TEST_P()
162 EGLDisplay display = window->getDisplay(); in TEST_P()
200 EGLDisplay display = window->getDisplay(); in TEST_P()
317 EGLDisplay display = window->getDisplay(); in TEST_P()
387 mDisplay = window->getDisplay(); in testSetUp()
442 EGLDisplay display = window->getDisplay(); in TEST_P()
532 EGLDisplay display = window->getDisplay(); in TEST_P()
660 EGLDisplay display = window->getDisplay(); in TEST_P()
845 EGLDisplay display = window->getDisplay(); in TEST_P()
DEGLProgramCacheControlTest.cpp47 EGLDisplay display = getEGLWindow()->getDisplay(); in testSetUp()
59 EGLDisplay display = getEGLWindow()->getDisplay(); in extensionAvailable()
110 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
198 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
DEGLRecordableTest.cpp28 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
35 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
/third_party/vk-gl-cts/modules/egl/
DteglNegativeApiTests.cpp170 EGLDisplay display = getDisplay(); in init()
199 EGLDisplay display = getDisplay(); in init()
253 EGLDisplay display = getDisplay(); in init()
291 EGLDisplay display = getDisplay(); in init()
489 EGLDisplay display = getDisplay(); in init()
561 EGLDisplay display = getDisplay(); in init()
676 EGLDisplay display = getDisplay(); in init()
704 EGLDisplay display = getDisplay(); in init()
723 EGLDisplay display = getDisplay(); in init()
749 EGLDisplay display = getDisplay(); in init()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/
DContextCGL.cpp41 return GetImplAs<DisplayCGL>(context->getDisplay())->unreferenceDiscreteGPU(); in releaseHighPowerGPU()
52 return GetImplAs<DisplayCGL>(context->getDisplay())->referenceDiscreteGPU(); in reacquireHighPowerGPU()
62 (void)GetImplAs<DisplayCGL>(context->getDisplay())->unreferenceDiscreteGPU(); in onDestroy()
/third_party/skia/third_party/externals/swiftshader/tests/GLESUnitTests/
Dunittests.cpp470 EGLDisplay getDisplay() const { return display; } in getDisplay() function in SwiftShaderTest
2279 …EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, buffer, g… in createIOSurfacePbuffer()
2290 EGLBoolean result = eglBindTexImage(getDisplay(), *pbuffer, EGL_BACK_BUFFER); in bindIOSurfaceToTexture()
2336 EGLBoolean result = eglReleaseTexImage(getDisplay(), pbuffer, EGL_BACK_BUFFER); in doClearTest()
2346 result = eglDestroySurface(getDisplay(), pbuffer); in doClearTest()
2389 EGLBoolean result = eglReleaseTexImage(getDisplay(), pbuffer, EGL_BACK_BUFFER); in doSampleTest()
2572 …EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBuf… in TEST_F()
2575 EGLBoolean result = eglDestroySurface(getDisplay(), pbuffer); in TEST_F()
2599 …EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBuf… in TEST_F()
2623 …EGLSurface pbuffer = eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, clientBuf… in TEST_F()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/
Dvk_android_utils.cpp30 ASSERT(GetImplAs<DisplayVkAndroid>(contextVk->getRenderer()->getDisplay()) in GetClientBufferMemoryRequirements()
68 GetImplAs<DisplayVkAndroid>(contextVk->getRenderer()->getDisplay())->getAHBFunctions(); in InitAndroidExternalMemory()
100 GetImplAs<DisplayVkAndroid>(rendererVk->getDisplay())->getAHBFunctions(); in ReleaseAndroidExternalMemory()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/
DvktWsiSurfaceTests.cpp231 …e (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWin… in createSurfaceTest()
240 … (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWin… in querySurfaceCounterTest()
275 native.getDisplay(), in createSurfaceCustomAllocatorTest()
322 native.getDisplay(), in createSurfaceSimulateOOMTest()
372 … (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWin… in querySurfaceSupportTest()
411 … (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWin… in queryPresentationSupportTest()
414 native.getDisplay(); in queryPresentationSupportTest()
422 …ePresentationSupport(instHelper.vki, physicalDevice, queueFamilyNdx, wsiType, native.getDisplay()); in queryPresentationSupportTest()
506 … (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWin… in querySurfaceCapabilitiesTest()
534 … (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWin… in querySurfaceCapabilities2Test()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiSurfaceTests.cpp231 …e (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWin… in createSurfaceTest()
240 … (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWin… in querySurfaceCounterTest()
275 native.getDisplay(), in createSurfaceCustomAllocatorTest()
322 native.getDisplay(), in createSurfaceSimulateOOMTest()
372 … (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWin… in querySurfaceSupportTest()
411 … (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWin… in queryPresentationSupportTest()
414 native.getDisplay(); in queryPresentationSupportTest()
422 …ePresentationSupport(instHelper.vki, physicalDevice, queueFamilyNdx, wsiType, native.getDisplay()); in queryPresentationSupportTest()
506 … (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWin… in querySurfaceCapabilitiesTest()
534 … (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWin… in querySurfaceCapabilities2Test()
[all …]
/third_party/skia/third_party/externals/angle2/samples/multi_window/
DMultiWindow.cpp67 window.surface = eglCreateWindowSurface(getDisplay(), getConfig(), in initialize()
136 eglMakeCurrent(getDisplay(), surface, surface, getContext()); in draw()
168 eglSwapBuffers(getDisplay(), surface); in draw()
/third_party/vk-gl-cts/framework/platform/lnx/wayland/
DtcuLnxWayland.hpp50 struct wl_display* getDisplay (void) { return m_display; } in getDisplay() function in tcu::lnx::wayland::Display
91 Display& getDisplay (void) { return m_display; } in getDisplay() function in tcu::lnx::wayland::Window
/third_party/vk-gl-cts/framework/platform/lnx/X11/
DtcuLnxX11.hpp74 virtual DisplayBase& getDisplay (void) = 0;
123 DisplayBase& getDisplay (void) { return (DisplayBase&)m_display; } in getDisplay() function in tcu::lnx::x11::XlibWindow
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_render_utils.mm615 DisplayMtl *display = context->getDisplay();
631 DisplayMtl *display = context->getDisplay();
708 if (allowNonUniform && contextMtl->getDisplay()->getFeatures().hasNonUniformDispatch.enabled)
731 if (contextMtl->getDisplay()->getFeatures().hasNonUniformDispatch.enabled)
1222 id<MTLLibrary> shaderLib = ctx->getDisplay()->getDefaultShadersLib();
1253 return contextMtl->getDisplay()->getStateCache().getNullDepthStencilState(contextMtl);
1278 return contextMtl->getDisplay()->getStateCache().getDepthStencilState(
1432 id<MTLLibrary> shaderLib = ctx->getDisplay()->getDefaultShadersLib();
1540 contextMtl->getDisplay()->getStateCache().getNullDepthStencilState(contextMtl));
1549 cmdEncoder->setFragmentSamplerState(contextMtl->getDisplay()->getStateCache().getSamplerState(
[all …]

12345