/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 20 EGLDisplay eglDisplay; variable 132 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY ) in init_gl_surface() 138 if ( eglInitialize(eglDisplay, NULL, NULL) != EGL_TRUE ) in init_gl_surface() 145 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface() 147 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, in init_gl_surface() 154 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) in init_gl_surface() 160 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface() 171 if (eglDisplay != EGL_NO_DISPLAY) in free_gl_surface() 175 eglDestroyContext( eglDisplay, eglContext ); in free_gl_surface() 176 eglDestroySurface( eglDisplay, eglSurface ); in free_gl_surface() [all …]
|
/frameworks/native/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 18 EGLDisplay eglDisplay; variable 223 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY ) in init_gl_surface() 229 if ( eglInitialize(eglDisplay, NULL, NULL) != EGL_TRUE ) in init_gl_surface() 235 if (! printEGLConfigurations(eglDisplay)) { in init_gl_surface() 241 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface() 243 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, in init_gl_surface() 250 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) in init_gl_surface() 256 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface() 264 eglQuerySurface(eglDisplay, eglSurface, EGL_WIDTH, &w); in init_gl_surface() 266 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/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/libs/gui/ |
D | BufferQueueProducer.cpp | 264 EGLDisplay eglDisplay = EGL_NO_DISPLAY; in dequeueBuffer() local 328 eglDisplay = mSlots[found].mEglDisplay; in dequeueBuffer() 363 EGLint result = eglClientWaitSyncKHR(eglDisplay, eglFence, 0, in dequeueBuffer() 374 eglDestroySyncKHR(eglDisplay, eglFence); in dequeueBuffer()
|
D | BufferQueueConsumer.cpp | 278 const sp<Fence>& releaseFence, EGLDisplay eglDisplay, in releaseBuffer() argument 310 mSlots[slot].mEglDisplay = eglDisplay; in releaseBuffer()
|
D | GLConsumer.cpp | 1071 status_t GLConsumer::EglImage::createIfNeeded(EGLDisplay eglDisplay, in createIfNeeded() argument 1076 bool displayInvalid = mEglDisplay != eglDisplay; in createIfNeeded() 1088 mEglDisplay = eglDisplay; in createIfNeeded()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
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/core/jni/ |
D | com_google_android_gles_jni_EGLImpl.cpp | 186 egl_display_t* eglDisplay = get_display_nowake(dpy); in jni_getInitCount() local 187 return eglDisplay ? eglDisplay->getRefsCount() : 0; in jni_getInitCount()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 747 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument 749 return egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attrib_list); in createContext()
|