Home
last modified time | relevance | path

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

1234567

/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);
/third_party/flutter/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()
99 eglDestroySurface(window->getDisplay(), mPbuffer); in testTearDown()
128 eglMakeCurrent(window->getDisplay(), mPbuffer, mPbuffer, window->getContext()); in TEST_P()
154 eglMakeCurrent(window->getDisplay(), mPbuffer, mPbuffer, window->getContext()); in TEST_P()
178 eglBindTexImage(window->getDisplay(), mPbuffer, EGL_BACK_BUFFER); in TEST_P()
190 eglReleaseTexImage(window->getDisplay(), mPbuffer, EGL_BACK_BUFFER); in TEST_P()
231 eglBindTexImage(window->getDisplay(), mPbuffer, EGL_BACK_BUFFER); in TEST_P()
242 eglReleaseTexImage(window->getDisplay(), mPbuffer, EGL_BACK_BUFFER); in TEST_P()
[all …]
DImageTest.cpp168 eglCreateImageKHR(window->getDisplay(), window->getContext(), EGL_GL_TEXTURE_2D_KHR, in createEGLImage2DTextureSource()
215 eglCreateImageKHR(window->getDisplay(), window->getContext(), imageTarget, in createEGLImageCubemapTextureSource()
260 eglCreateImageKHR(window->getDisplay(), window->getContext(), EGL_GL_TEXTURE_3D_KHR, in createEGLImage3DTextureSource()
306 eglCreateImageKHR(window->getDisplay(), window->getContext(), EGL_GL_RENDERBUFFER_KHR, in createEGLImageRenderbufferSource()
429 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), kBaseExt); in hasBaseExt()
434 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), k2DTextureExt); in has2DTextureExt()
439 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), k3DTextureExt); in has3DTextureExt()
444 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), kPixmapExt); in hasPixmapExt()
449 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), kRenderbufferExt); in hasRenderbufferExt()
454 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), kCubemapExt); in hasCubemapExt()
[all …]
DD3DTextureTest.cpp84 EGLDisplay display = window->getDisplay(); in testSetUp()
153 EGLDisplay display = window->getDisplay(); in createD3D11PBuffer()
206 EGLDisplay display = window->getDisplay(); in createPBuffer()
239 EGLDisplay display = window->getDisplay(); in valid()
332 EGLDisplay display = window->getDisplay(); in TEST_P()
382 EGLDisplay display = window->getDisplay(); in TEST_P()
458 EGLDisplay display = window->getDisplay(); in TEST_P()
561 EGLDisplay display = window->getDisplay(); in TEST_P()
716 EGLDisplay display = window->getDisplay(); in TEST_P()
741 EGLDisplay display = window->getDisplay(); in TEST_P()
[all …]
/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()
DEGLRecordableTest.cpp28 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
35 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLDebugTest.cpp160 eglLabelObjectKHR(getEGLWindow()->getDisplay(), EGL_OBJECT_DISPLAY_KHR, in TEST_P()
161 getEGLWindow()->getDisplay(), const_cast<char *>("Display"))); in TEST_P()
163 eglLabelObjectKHR(nullptr, EGL_OBJECT_DISPLAY_KHR, getEGLWindow()->getDisplay(), in TEST_P()
168 eglLabelObjectKHR(getEGLWindow()->getDisplay(), EGL_OBJECT_SURFACE_KHR, in TEST_P()
174 eglLabelObjectKHR(getEGLWindow()->getDisplay(), EGL_OBJECT_IMAGE_KHR, in TEST_P()
DEGLSyncTest.cpp22 return IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), "EGL_KHR_fence_sync"); in hasFenceSyncExtension()
27 IsEGLDisplayExtensionEnabled(getEGLWindow()->getDisplay(), "EGL_KHR_wait_sync"); in hasWaitSyncExtension()
37 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
128 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
162 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
199 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
DEGLDeviceTest.cpp410 static_cast<const char *>(eglQueryString(getEGLWindow()->getDisplay(), EGL_EXTENSIONS)); in testSetUp()
432 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &angleDevice)); in testSetUp()
453 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &angleDevice)); in TEST_P()
465 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &angleDevice)); in TEST_P()
487 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &angleDevice)); in TEST_P()
495 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &angleDevice)); in TEST_P()
510 eglQueryDisplayAttribEXT(getEGLWindow()->getDisplay(), EGL_DEVICE_EXT, &eglDevice)); in TEST_P()
514 EXPECT_EQ(getEGLWindow()->getDisplay(), display2); in TEST_P()
DEGLContextSharingTest.cpp40 EGLDisplay display = getEGLWindow()->getDisplay(); in testTearDown()
61 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
87 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
123 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
205 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
DEGLStreamTest.cpp56 EGLDisplay display = window->getDisplay(); in TEST_P()
151 EGLDisplay display = window->getDisplay(); in TEST_P()
190 EGLDisplay display = window->getDisplay(); in TEST_P()
308 EGLDisplay display = window->getDisplay(); in TEST_P()
377 mDisplay = window->getDisplay(); in testSetUp()
432 EGLDisplay display = window->getDisplay(); in TEST_P()
522 EGLDisplay display = window->getDisplay(); in TEST_P()
650 EGLDisplay display = window->getDisplay(); in TEST_P()
DEGLRecordableTest.cpp28 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
35 EGLDisplay display = getEGLWindow()->getDisplay(); in TEST_P()
/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/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/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/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 …]

1234567