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.java73 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY; field in SurfaceTextureRenderer
428 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); in configureEGLContext()
429 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { in configureEGLContext()
433 if (!EGL14.eglInitialize(mEGLDisplay, version, /*offset*/ 0, version, /*offset*/ 1)) { in configureEGLContext()
448 EGL14.eglChooseConfig(mEGLDisplay, attribList, /*offset*/ 0, configs, /*offset*/ 0, in configureEGLContext()
456 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, in configureEGLContext()
472 holder.eglSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs, in configureEGLOutputSurfaces()
494 EGL14.eglCreatePbufferSurface(mEGLDisplay, mConfigs, surfaceAttribs, 0); in configureEGLPbufferSurfaces()
502 if (mEGLDisplay != EGL14.EGL_NO_DISPLAY) { in releaseEGLContext()
503 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.cpp340 mEGLDisplay(display), in GLESRenderEngine()
423 eglDestroyImageKHR(mEGLDisplay, expired); in ~GLESRenderEngine()
427 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~GLESRenderEngine()
428 eglTerminate(mEGLDisplay); in ~GLESRenderEngine()
455 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in flush()
465 base::unique_fd fenceFd(eglDupNativeFenceFDANDROID(mEGLDisplay, sync)); in flush()
466 eglDestroySyncKHR(mEGLDisplay, sync); in flush()
474 mFlushTracer->queueSync(eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_FENCE_KHR, nullptr)); in flush()
487 EGLSyncKHR sync = eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_FENCE_KHR, nullptr); in finish()
494 mFlushTracer->queueSync(eglCreateSyncKHR(mEGLDisplay, EGL_SYNC_FENCE_KHR, nullptr)); in finish()
[all …]
DGLImage.h45 EGLDisplay mEGLDisplay;
DGLFramebuffer.h56 EGLDisplay mEGLDisplay; variable
DGLESRenderEngine.h80 EGLDisplay getEGLDisplay() const { return mEGLDisplay; } in getEGLDisplay()
175 EGLDisplay mEGLDisplay; variable