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 | 73 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/ |
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 | 340 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 …]
|
D | GLImage.h | 45 EGLDisplay mEGLDisplay;
|
D | GLFramebuffer.h | 56 EGLDisplay mEGLDisplay; variable
|
D | GLESRenderEngine.h | 80 EGLDisplay getEGLDisplay() const { return mEGLDisplay; } in getEGLDisplay() 175 EGLDisplay mEGLDisplay; variable
|