/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | EglBase14.java | 53 private EGLDisplay eglDisplay; field in EglBase14 75 eglDisplay = getEglDisplay(); in EglBase14() 76 eglConfig = getEglConfig(eglDisplay, configAttributes); in EglBase14() 77 eglContext = createEglContext(sharedContext, eglDisplay, eglConfig); in EglBase14() 102 eglSurface = EGL14.eglCreateWindowSurface(eglDisplay, eglConfig, surface, surfaceAttribs, 0); in createSurfaceInternal() 120 eglSurface = EGL14.eglCreatePbufferSurface(eglDisplay, eglConfig, surfaceAttribs, 0); in createPbufferSurface() 139 EGL14.eglQuerySurface(eglDisplay, eglSurface, EGL14.EGL_WIDTH, widthArray, 0); in surfaceWidth() 146 EGL14.eglQuerySurface(eglDisplay, eglSurface, EGL14.EGL_HEIGHT, heightArray, 0); in surfaceHeight() 153 EGL14.eglDestroySurface(eglDisplay, eglSurface); in releaseSurface() 159 if (eglDisplay == EGL14.EGL_NO_DISPLAY || eglContext == EGL14.EGL_NO_CONTEXT in checkIsNotReleased() [all …]
|
D | EglBase10.java | 53 private EGLDisplay eglDisplay; field in EglBase10 68 eglDisplay = getEglDisplay(); in EglBase10() 69 eglConfig = getEglConfig(eglDisplay, configAttributes); in EglBase10() 70 eglContext = createEglContext(sharedContext, eglDisplay, eglConfig); in EglBase10() 157 eglSurface = egl.eglCreateWindowSurface(eglDisplay, eglConfig, nativeWindow, surfaceAttribs); in createSurfaceInternal() 176 eglSurface = egl.eglCreatePbufferSurface(eglDisplay, eglConfig, surfaceAttribs); in createPbufferSurface() 195 egl.eglQuerySurface(eglDisplay, eglSurface, EGL10.EGL_WIDTH, widthArray); in surfaceWidth() 202 egl.eglQuerySurface(eglDisplay, eglSurface, EGL10.EGL_HEIGHT, heightArray); in surfaceHeight() 209 egl.eglDestroySurface(eglDisplay, eglSurface); in releaseSurface() 215 if (eglDisplay == EGL10.EGL_NO_DISPLAY || eglContext == EGL10.EGL_NO_CONTEXT in checkIsNotReleased() [all …]
|
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/ |
D | OGLES2HelloAPI_Windows.cpp | 120 int Cleanup(EGLDisplay eglDisplay, HWND hWnd, HDC hDC) in Cleanup() argument 128 eglMakeCurrent(eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in Cleanup() 129 eglTerminate(eglDisplay); in Cleanup() 158 EGLDisplay eglDisplay = 0; in WinMain() local 225 return Cleanup(eglDisplay, hWnd, hDC); in WinMain() 236 eglDisplay = eglGetDisplay(hDC); in WinMain() 238 if(eglDisplay == EGL_NO_DISPLAY) in WinMain() 239 eglDisplay = eglGetDisplay((EGLNativeDisplayType) EGL_DEFAULT_DISPLAY); in WinMain() 250 if (!eglInitialize(eglDisplay, &iMajorVersion, &iMinorVersion)) in WinMain() 253 return Cleanup(eglDisplay, hWnd, hDC); in WinMain() [all …]
|
D | OGLES2HelloAPI_LinuxX11.cpp | 217 bool CreateEGLDisplay( Display* nativeDisplay, EGLDisplay &eglDisplay ) in CreateEGLDisplay() argument 224 eglDisplay = eglGetDisplay((EGLNativeDisplayType)nativeDisplay); in CreateEGLDisplay() 226 if (eglDisplay == EGL_NO_DISPLAY) in CreateEGLDisplay() 239 if (!eglInitialize(eglDisplay, &eglMajorVersion, &eglMinorVersion)) in CreateEGLDisplay() 255 bool ChooseEGLConfig( EGLDisplay eglDisplay, EGLConfig& eglConfig ) in ChooseEGLConfig() argument 281 …if (!eglChooseConfig(eglDisplay, configurationAttributes, &eglConfig, 1, &configsReturned) || (con… in ChooseEGLConfig() 299 bool CreateEGLSurface( Window nativeWindow, EGLDisplay eglDisplay, EGLConfig eglConfig, EGLSurface&… in CreateEGLSurface() argument 310 …eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, (EGLNativeWindowType)nativeWindow, NULL… in CreateEGLSurface() 329 bool SetupEGLContext( EGLDisplay eglDisplay, EGLConfig eglConfig, EGLSurface eglSurface, EGLContext… in SetupEGLContext() argument 345 eglContext = eglCreateContext(eglDisplay, eglConfig, NULL, contextAttributes); in SetupEGLContext() [all …]
|
D | OGLES2HelloAPI_OSX.mm | 113 @Output eglDisplay EGLDisplay created 117 - (BOOL) createEGLDisplay:(EGLDisplay &)eglDisplay 125 eglDisplay = eglGetDisplay((EGLNativeDisplayType)0); 126 if (eglDisplay == EGL_NO_DISPLAY) 139 if (!eglInitialize(eglDisplay, &eglMajorVersion, &eglMinorVersion)) 151 @Input eglDisplay The EGLDisplay used by the application 155 - (BOOL) chooseEGLConfig:(EGLConfig &)eglConfig fromDisplay:(EGLDisplay)eglDisplay 181 …if (!eglChooseConfig(eglDisplay, configurationAttributes, &eglConfig, 1, &configsReturned) || (con… 193 @Input eglDisplay The EGLDisplay used by the application 199 - (BOOL) createEGLSurface:(EGLSurface &)eglSurface fromDisplay:(EGLDisplay)eglDisplay withConfig:(E… [all …]
|
/external/deqp/modules/egl/ |
D | teglResizeTests.cpp | 131 EGLConfig getEGLConfig (const Library& egl, const EGLDisplay eglDisplay, EGLenum surfaceType) in getEGLConfig() argument 138 return eglu::chooseSingleConfig(egl, eglDisplay, attribMap); in getEGLConfig() 147 const EGLDisplay eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init() local 148 const EGLConfig eglConfig = getEGLConfig(egl, eglDisplay, surfaceType()); in init() 154 EGLContext eglContext = egl.createContext(eglDisplay, in init() 159 MovePtr<UniqueContext> context (new UniqueContext(egl, eglDisplay, eglContext)); in init() 161 eglDisplay, in init() 171 eglDisplay, in init() 177 eglDisplay, in init() 180 MovePtr<UniqueSurface> surface (new UniqueSurface(egl, eglDisplay, eglSurface)); in init() [all …]
|
D | teglSwapBuffersWithDamageTests.cpp | 129 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay, bool preserveBuffer); 275 virtual EGLConfig getConfig (const Library& egl, EGLDisplay eglDisplay); 276 virtual void checkExtension (const Library& egl, EGLDisplay eglDisplay); 312 EGLConfig SwapBuffersWithDamageTest::getConfig (const Library& egl, EGLDisplay eglDisplay) in getConfig() argument 314 return getEGLConfig(egl, eglDisplay, false); in getConfig() 317 void SwapBuffersWithDamageTest::checkExtension (const Library& egl, EGLDisplay eglDisplay) in checkExtension() argument 319 if (!eglu::hasExtension(egl, eglDisplay, "EGL_KHR_swap_buffers_with_damage")) in checkExtension() 458 EGLConfig getConfig (const Library& egl, EGLDisplay eglDisplay); 471 …g SwapBuffersWithDamageAndPreserveBufferTest::getConfig (const Library& egl, EGLDisplay eglDisplay) in getConfig() argument 473 return getEGLConfig(egl, eglDisplay, true); in getConfig() [all …]
|
D | teglNegativePartialUpdateTests.cpp | 100 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay, unsigned surfaceTypes, bool pres… in getEGLConfig() argument 116 return chooseSingleConfig(egl, eglDisplay, filters); in getEGLConfig() 119 EGLContext initAndMakeCurrentEGLContext (const Library& egl, EGLDisplay eglDisplay, EGLSurface eglS… in initAndMakeCurrentEGLContext() argument 124 eglContext = egl.createContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attribList); in initAndMakeCurrentEGLContext() 127 egl.makeCurrent(eglDisplay, eglSurface, eglSurface, eglContext); in initAndMakeCurrentEGLContext()
|
D | teglBufferAgeTests.cpp | 195 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay, bool preserveColorBuffer); 684 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay, bool preserveColorBuffer) in getEGLConfig() argument 690 return eglu::chooseSingleConfig(egl, eglDisplay, filters); in getEGLConfig()
|
D | teglPartialUpdateTests.cpp | 183 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay); 630 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay) in getEGLConfig() argument 634 return eglu::chooseSingleConfig(egl, eglDisplay, filters); in getEGLConfig()
|
D | teglPreservingSwapTests.cpp | 301 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay, bool preserveColorbuffer) in getEGLConfig() argument 310 return eglu::chooseSingleConfig(egl, eglDisplay, &attribList[0]); in getEGLConfig()
|
D | teglGLES2SharedRenderingPerfTests.cpp | 444 EGLContext createEGLContext (EglTestContext& testCtx, EGLDisplay eglDisplay, EGLConfig eglConfig, E… in createEGLContext() argument 455 EGLContext context = egl.createContext(eglDisplay, eglConfig, share, attribList); in createEGLContext() 479 TestContext::TestContext (EglTestContext& testCtx, EGLDisplay eglDisplay, EGLConfig eglConfig, cons… in TestContext() argument 483 , m_eglDisplay (eglDisplay) in TestContext()
|
/external/swiftshader/src/OpenGL/libEGL/ |
D | Display.h | 51 explicit Display(EGLDisplay eglDisplay, void *nativeDisplay); 95 const EGLDisplay eglDisplay; variable
|
D | Display.cpp | 82 Display::Display(EGLDisplay eglDisplay, void *nativeDisplay) : eglDisplay(eglDisplay), nativeDispla… in Display() argument 740 return eglDisplay; in getEGLDisplay()
|
/external/deqp/framework/egl/ |
D | egluGLContextFactory.cpp | 233 …y* nativeDisplay, const NativeWindowFactory* windowFactory, EGLDisplay eglDisplay, EGLConfig eglCo… in createWindow() argument 242 …nativeWindow = windowFactory->createWindow(nativeDisplay, eglDisplay, eglConfig, &attribList[0], W… in createWindow() 246 …surface = eglu::createWindowSurface(*nativeDisplay, *nativeWindow, eglDisplay, eglConfig, attribLi… in createWindow() 257 …y* nativeDisplay, const NativePixmapFactory* pixmapFactory, EGLDisplay eglDisplay, EGLConfig eglCo… in createPixmap() argument 265 …nativePixmap = pixmapFactory->createPixmap(nativeDisplay, eglDisplay, eglConfig, &attribList[0], w… in createPixmap() 269 …surface = eglu::createPixmapSurface(*nativeDisplay, *nativePixmap, eglDisplay, eglConfig, attribLi… in createPixmap()
|
/external/skqp/src/gpu/gl/ |
D | GrGLExtensions.cpp | 73 GrEGLDisplay eglDisplay) { in init() argument 109 const char* extensions = queryString(eglDisplay, GR_EGL_EXTENSIONS); in init()
|
/external/skqp/tests/ |
D | VkHardwareBufferTest.cpp | 224 EGLDisplay eglDisplay = eglGetCurrentDisplay(); in importHardwareBuffer() local 225 fImage = fEGLCreateImageKHR(eglDisplay, EGL_NO_CONTEXT, in importHardwareBuffer() 313 EGLDisplay eglDisplay = eglGetCurrentDisplay(); in flushSurfaceAndSignalSemaphore() local 314 EGLSyncKHR eglsync = fEGLCreateSyncKHR(eglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in flushSurfaceAndSignalSemaphore() 322 fFdHandle = fEGLDupNativeFenceFDANDROID(eglDisplay, eglsync); in flushSurfaceAndSignalSemaphore() 324 EGLint result = fEGLDestroySyncKHR(eglDisplay, eglsync); in flushSurfaceAndSignalSemaphore() 335 EGLDisplay eglDisplay = eglGetCurrentDisplay(); in importAndWaitOnSemaphore() local 340 EGLSyncKHR eglsync = fEGLCreateSyncKHR(eglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attr); in importAndWaitOnSemaphore() 346 EGLint result = fEGLWaitSyncKHR(eglDisplay, eglsync, 0); in importAndWaitOnSemaphore() 351 result = fEGLDestroySyncKHR(eglDisplay, eglsync); in importAndWaitOnSemaphore()
|
/external/skia/tests/ |
D | VkHardwareBufferTest.cpp | 225 EGLDisplay eglDisplay = eglGetCurrentDisplay(); in importHardwareBuffer() local 226 fImage = fEGLCreateImageKHR(eglDisplay, EGL_NO_CONTEXT, in importHardwareBuffer() 314 EGLDisplay eglDisplay = eglGetCurrentDisplay(); in flushSurfaceAndSignalSemaphore() local 315 EGLSyncKHR eglsync = fEGLCreateSyncKHR(eglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in flushSurfaceAndSignalSemaphore() 323 fFdHandle = fEGLDupNativeFenceFDANDROID(eglDisplay, eglsync); in flushSurfaceAndSignalSemaphore() 325 EGLint result = fEGLDestroySyncKHR(eglDisplay, eglsync); in flushSurfaceAndSignalSemaphore() 336 EGLDisplay eglDisplay = eglGetCurrentDisplay(); in importAndWaitOnSemaphore() local 341 EGLSyncKHR eglsync = fEGLCreateSyncKHR(eglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attr); in importAndWaitOnSemaphore() 347 EGLint result = fEGLWaitSyncKHR(eglDisplay, eglsync, 0); in importAndWaitOnSemaphore() 352 result = fEGLDestroySyncKHR(eglDisplay, eglsync); in importAndWaitOnSemaphore()
|
/external/skia/src/gpu/gl/ |
D | GrGLExtensions.cpp | 72 GrEGLDisplay eglDisplay) { in init() argument 115 const char* extensions = queryString(eglDisplay, GR_EGL_EXTENSIONS); in init()
|
/external/deqp/framework/platform/lnx/wayland/ |
D | tcuLnxWaylandEglDisplayFactory.cpp | 150 eglw::EGLDisplay eglDisplay, in createWindow() argument 155 DE_UNREF(eglDisplay); in createWindow()
|
/external/skia/include/gpu/gl/ |
D | GrGLExtensions.h | 50 GrEGLDisplay eglDisplay = nullptr);
|
/external/skqp/include/gpu/gl/ |
D | GrGLExtensions.h | 50 GrEGLDisplay eglDisplay = nullptr);
|
/external/deqp/framework/platform/lnx/X11/ |
D | tcuLnxX11EglDisplayFactory.cpp | 202 eglw::EGLDisplay eglDisplay, in createWindow() argument 212 nativeDisplay->getLibrary().getConfigAttrib(eglDisplay, config, EGL_NATIVE_VISUAL_ID, &visualID); in createWindow()
|
/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/ |
D | SkottieRunner.java | 203 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument 205 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
|
/external/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/ |
D | SkottieRunner.java | 203 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument 205 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
|