Home
last modified time | relevance | path

Searched refs:mEGLDisplay (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLDisplayImpl.java22 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()
DEGLImpl.java122 if (mDisplay.mEGLDisplay != value) in eglGetDisplay()
142 if (mDisplay.mEGLDisplay != value) in eglGetCurrentDisplay()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java66 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/
DGLImage.cpp50 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()
DGLFramebuffer.cpp35 : mEngine(engine), mEGLDisplay(engine.getEGLDisplay()), mEGLImage(EGL_NO_IMAGE_KHR) { in GLFramebuffer()
50 eglDestroyImageKHR(mEGLDisplay, mEGLImage); in setNativeWindowBuffer()
DGLESRenderEngine.cpp354 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 …]
DGLImage.h45 EGLDisplay mEGLDisplay;
DGLFramebuffer.h48 EGLDisplay mEGLDisplay; variable
DGLESRenderEngine.h92 EGLDisplay getEGLDisplay() const { return mEGLDisplay; } in getEGLDisplay()
180 EGLDisplay mEGLDisplay; variable