Searched refs:mEGLDisplay (Results 1 – 9 of 9) 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 | 122 if (mDisplay.mEGLDisplay != value) in eglGetDisplay() 142 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 421 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); in configureEGLContext() 422 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { in configureEGLContext() 426 if (!EGL14.eglInitialize(mEGLDisplay, version, /*offset*/ 0, version, /*offset*/ 1)) { in configureEGLContext() 441 EGL14.eglChooseConfig(mEGLDisplay, attribList, /*offset*/ 0, configs, /*offset*/ 0, in configureEGLContext() 449 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, in configureEGLContext() 465 holder.eglSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs, in configureEGLOutputSurfaces() 487 EGL14.eglCreatePbufferSurface(mEGLDisplay, mConfigs, surfaceAttribs, 0); in configureEGLPbufferSurfaces() 495 if (mEGLDisplay != EGL14.EGL_NO_DISPLAY) { in releaseEGLContext() 496 EGL14.eglMakeCurrent(mEGLDisplay, EGL14.EGL_NO_SURFACE, EGL14.EGL_NO_SURFACE, in releaseEGLContext() [all …]
|
/frameworks/native/libs/renderengine/gl/ |
D | GLImage.cpp | 50 GLImage::GLImage(const GLESRenderEngine& engine) : mEGLDisplay(engine.getEGLDisplay()) {} in GLImage() 59 if (!eglDestroyImageKHR(mEGLDisplay, mEGLImage)) { in setNativeWindowBuffer() 68 mEGLImage = eglCreateImageKHR(mEGLDisplay, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in setNativeWindowBuffer()
|
D | GLFramebuffer.cpp | 35 : mEngine(engine), mEGLDisplay(engine.getEGLDisplay()), mEGLImage(EGL_NO_IMAGE_KHR) { in GLFramebuffer() 50 eglDestroyImageKHR(mEGLDisplay, mEGLImage); in setNativeWindowBuffer()
|
D | GLESRenderEngine.cpp | 354 mEGLDisplay(display), in GLESRenderEngine() 440 eglDestroyImageKHR(mEGLDisplay, expired); in ~GLESRenderEngine() 444 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~GLESRenderEngine() 445 eglTerminate(mEGLDisplay); in ~GLESRenderEngine() 466 return mEGLDisplay == eglGetCurrentDisplay() && mEGLContext == eglGetCurrentContext(); in isCurrent() 475 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in flush() 485 base::unique_fd fenceFd(eglDupNativeFenceFDANDROID(mEGLDisplay, sync)); in flush() 486 eglDestroySyncKHR(mEGLDisplay, sync); in flush() 494 mFlushTracer->queueSync(eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_FENCE_KHR, nullptr)); in flush() 507 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_FENCE_KHR, nullptr); in finish() [all …]
|
D | GLImage.h | 45 EGLDisplay mEGLDisplay;
|
D | GLFramebuffer.h | 48 EGLDisplay mEGLDisplay; variable
|
D | GLESRenderEngine.h | 92 EGLDisplay getEGLDisplay() const { return mEGLDisplay; } in getEGLDisplay() 180 EGLDisplay mEGLDisplay; variable
|