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.java113 if (mDisplay.mEGLDisplay != value) in eglGetDisplay()
133 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.cpp49 GLImage::GLImage(const GLESRenderEngine& engine) : mEGLDisplay(engine.getEGLDisplay()) {} in GLImage()
58 if (!eglDestroyImageKHR(mEGLDisplay, mEGLImage)) { in setNativeWindowBuffer()
66 mEGLImage = eglCreateImageKHR(mEGLDisplay, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in setNativeWindowBuffer()
DGLFramebuffer.cpp34 : mEngine(engine), mEGLDisplay(engine.getEGLDisplay()), mEGLImage(EGL_NO_IMAGE_KHR) { in GLFramebuffer()
49 eglDestroyImageKHR(mEGLDisplay, mEGLImage); in setNativeWindowBuffer()
DGLESRenderEngine.cpp353 mEGLDisplay(display), in GLESRenderEngine()
435 eglDestroyImageKHR(mEGLDisplay, expired); in ~GLESRenderEngine()
438 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~GLESRenderEngine()
439 eglTerminate(mEGLDisplay); in ~GLESRenderEngine()
460 return mEGLDisplay == eglGetCurrentDisplay() && mEGLContext == eglGetCurrentContext(); in isCurrent()
469 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in flush()
479 base::unique_fd fenceFd(eglDupNativeFenceFDANDROID(mEGLDisplay, sync)); in flush()
480 eglDestroySyncKHR(mEGLDisplay, sync); in flush()
488 mFlushTracer->queueSync(eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_FENCE_KHR, nullptr)); in flush()
501 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()
169 EGLDisplay mEGLDisplay; variable