/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 20 EGLDisplay eglDisplay; variable 128 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY ) in init_gl_surface() 134 if ( eglInitialize(eglDisplay, NULL, NULL) != EGL_TRUE ) in init_gl_surface() 141 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface() 143 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, in init_gl_surface() 150 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) in init_gl_surface() 156 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface() 167 if (eglDisplay != EGL_NO_DISPLAY) in free_gl_surface() 171 eglDestroyContext( eglDisplay, eglContext ); in free_gl_surface() 172 eglDestroySurface( eglDisplay, eglSurface ); in free_gl_surface() [all …]
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | GLHelper.java | 74 EGLDisplay eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in retrieveTextureSizeFromGL() local 75 if (eglDisplay == null || eglDisplay == EGL_NO_DISPLAY) { in retrieveTextureSizeFromGL() 80 if (!eglInitialize(eglDisplay, null, 0 /* majorOffset */, null, 1 /* minorOffset */)) { in retrieveTextureSizeFromGL() 100 if (!eglChooseConfig(eglDisplay, configSpec, 0 /* attrib_listOffset */, in retrieveTextureSizeFromGL() 115 eglDisplay, eglConfig, EGL_NO_CONTEXT, attr_list, 0 /* offset */); in retrieveTextureSizeFromGL() 125 eglCreatePbufferSurface(eglDisplay, eglConfig, attrs, 0 /* offset */); in retrieveTextureSizeFromGL() 126 eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext); in retrieveTextureSizeFromGL() 133 eglMakeCurrent(eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in retrieveTextureSizeFromGL() 134 eglDestroySurface(eglDisplay, eglSurface); in retrieveTextureSizeFromGL() 135 eglDestroyContext(eglDisplay, eglContext); in retrieveTextureSizeFromGL() [all …]
|
/frameworks/native/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 20 EGLDisplay eglDisplay; variable 222 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY ) in init_gl_surface() 228 if ( eglInitialize(eglDisplay, NULL, NULL) != EGL_TRUE ) in init_gl_surface() 234 if (! printEGLConfigurations(eglDisplay)) { in init_gl_surface() 240 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface() 242 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, in init_gl_surface() 249 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) in init_gl_surface() 255 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface() 263 eglQuerySurface(eglDisplay, eglSurface, EGL_WIDTH, &w); in init_gl_surface() 265 eglQuerySurface(eglDisplay, eglSurface, EGL_HEIGHT, &h); in init_gl_surface() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | RenderTarget.java | 88 EGLDisplay eglDisplay = createDefaultDisplay(egl); in newTarget() local 89 EGLConfig eglConfig = chooseEglConfig(egl, eglDisplay); in newTarget() 90 EGLContext eglContext = createContext(egl, eglDisplay, eglConfig); in newTarget() 91 EGLSurface eglSurface = createSurface(egl, eglDisplay, width, height); in newTarget() 92 RenderTarget result = new RenderTarget(eglDisplay, eglContext, eglSurface, 0, true, true); in newTarget()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | VkInteropFunctorDrawable.cpp | 57 EGLDisplay display = sEglManager.eglDisplay(); in vkInvokeFunctor() 108 EGLDisplay display = sEglManager.eglDisplay(); in onDraw()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | SingleFrameTextureViewTestActivity.java | 166 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in onSurfaceTextureAvailable() 168 … return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in onSurfaceTextureAvailable()
|
D | GLTextureViewActivity.java | 404 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument 406 … return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
|
/frameworks/base/libs/hwui/renderthread/ |
D | EglManager.h | 72 EGLDisplay eglDisplay() const { return mEglDisplay; } in eglDisplay() function
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 140 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument 142 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attribList); in createContext()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_display.cpp | 73 egl_display_t* eglDisplay = egl_display_t::get(dpy); in egl_get_init_count() local 74 return eglDisplay ? eglDisplay->getRefsCount() : 0; in egl_get_init_count()
|
/frameworks/native/libs/nativedisplay/surfacetexture/ |
D | EGLConsumer.cpp | 615 status_t EGLConsumer::EglImage::createIfNeeded(EGLDisplay eglDisplay, bool forceCreation) { in createIfNeeded() argument 618 bool displayInvalid = mEglDisplay != eglDisplay; in createIfNeeded() 630 mEglDisplay = eglDisplay; in createIfNeeded()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/ |
D | ImageFlipRenderThread.java | 355 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument 357 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
|
/frameworks/native/libs/gui/ |
D | GLConsumer.cpp | 952 status_t GLConsumer::EglImage::createIfNeeded(EGLDisplay eglDisplay, in createIfNeeded() argument 956 bool displayInvalid = mEglDisplay != eglDisplay; in createIfNeeded() 969 mEglDisplay = eglDisplay; in createIfNeeded()
|
D | BufferQueueConsumer.cpp | 443 const sp<Fence>& releaseFence, EGLDisplay eglDisplay, in releaseBuffer() argument 476 mSlots[slot].mEglDisplay = eglDisplay; in releaseBuffer()
|
D | BufferQueueProducer.cpp | 407 EGLDisplay eglDisplay = EGL_NO_DISPLAY; in dequeueBuffer() local 521 eglDisplay = mSlots[found].mEglDisplay; in dequeueBuffer() 592 EGLint result = eglClientWaitSyncKHR(eglDisplay, eglFence, 0, in dequeueBuffer() 603 eglDestroySyncKHR(eglDisplay, eglFence); in dequeueBuffer()
|
/frameworks/base/libs/hwui/ |
D | DeferredLayerUpdater.cpp | 104 *display = eglManager.eglDisplay(); in createReleaseFence()
|
D | HardwareBitmapUploader.cpp | 159 return mEglManager.eglDisplay(); in getUploadEglDisplay()
|