Searched refs:mEGLDisplay (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
D | EGLDisplayImpl.java | 22 long mEGLDisplay; field in EGLDisplayImpl 25 mEGLDisplay = dpy; in EGLDisplayImpl() 35 return mEGLDisplay == that.mEGLDisplay; in equals() 46 result = 31 * result + (int) (mEGLDisplay ^ (mEGLDisplay >>> 32)); in hashCode()
|
D | EGLImpl.java | 113 if (mDisplay.mEGLDisplay != value) in eglGetDisplay() 133 if (mDisplay.mEGLDisplay != value) in eglGetCurrentDisplay()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | SurfaceTextureRenderer.java | 66 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY; field in SurfaceTextureRenderer 420 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); in configureEGLContext() 421 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { in configureEGLContext() 425 if (!EGL14.eglInitialize(mEGLDisplay, version, /*offset*/ 0, version, /*offset*/ 1)) { in configureEGLContext() 440 EGL14.eglChooseConfig(mEGLDisplay, attribList, /*offset*/ 0, configs, /*offset*/ 0, in configureEGLContext() 448 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, in configureEGLContext() 464 holder.eglSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs, in configureEGLOutputSurfaces() 486 EGL14.eglCreatePbufferSurface(mEGLDisplay, mConfigs, surfaceAttribs, 0); in configureEGLPbufferSurfaces() 494 if (mEGLDisplay != EGL14.EGL_NO_DISPLAY) { in releaseEGLContext() 495 EGL14.eglMakeCurrent(mEGLDisplay, EGL14.EGL_NO_SURFACE, EGL14.EGL_NO_SURFACE, in releaseEGLContext() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger_hwc1.cpp | 453 mEGLDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in init() 454 eglInitialize(mEGLDisplay, NULL, NULL); in init() 471 mRenderEngine = RenderEngine::create(mEGLDisplay, mHwc->getVisualID()); in init() 514 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); in init() 1286 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); in postFramebuffer() 1295 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); in postFramebuffer() 1409 defaultDisplay->makeCurrent(mEGLDisplay, mEGLContext); in handleTransactionLocked() 1954 if (!hw->makeCurrent(mEGLDisplay, mEGLContext)) { in doComposeSurfaces() 1957 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in doComposeSurfaces() 1958 if(!getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext)) { in doComposeSurfaces() [all …]
|
D | SurfaceFlinger.cpp | 456 mEGLDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in init() 457 eglInitialize(mEGLDisplay, NULL, NULL); in init() 469 mRenderEngine = RenderEngine::create(mEGLDisplay, in init() 489 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); in init() 1286 displayDevice->makeCurrent(mEGLDisplay, mEGLContext); in postFramebuffer() 1396 defaultDisplay->makeCurrent(mEGLDisplay, mEGLContext); in handleTransactionLocked() 1938 if (!displayDevice->makeCurrent(mEGLDisplay, mEGLContext)) { in doComposeSurfaces() 1941 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in doComposeSurfaces() 1942 if(!getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext)) { in doComposeSurfaces() 2829 eglQueryStringImplementationANDROID(mEGLDisplay, EGL_VERSION)); in dumpAllLocked() [all …]
|
D | SurfaceFlinger.h | 465 EGLDisplay mEGLDisplay; variable
|