Home
last modified time | relevance | path

Searched refs:mEGLContext (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLContextImpl.java24 long mEGLContext; field in EGLContextImpl
27 mEGLContext = ctx; in EGLContextImpl()
43 return mEGLContext == that.mEGLContext; in equals()
53 result = 31 * result + (int) (mEGLContext ^ (mEGLContext >>> 32)); in hashCode()
DEGLImpl.java123 if (mContext.mEGLContext != value) in eglGetCurrentContext()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java67 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; field in SurfaceTextureRenderer
441 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, in configureEGLContext()
444 if(mEGLContext == EGL14.EGL_NO_CONTEXT) { in configureEGLContext()
505 EGL14.eglDestroyContext(mEGLDisplay, mEGLContext); in releaseEGLContext()
512 mEGLContext = EGL14.EGL_NO_CONTEXT; in releaseEGLContext()
517 EGL14.eglMakeCurrent(mEGLDisplay, surface, surface, mEGLContext); in makeCurrent()
/frameworks/native/services/surfaceflinger/RenderEngine/
DRenderEngine.cpp151 RenderEngine::RenderEngine() : mEGLContext(EGL_NO_CONTEXT) { in RenderEngine()
159 mEGLContext = ctxt; in setEGLHandles()
167 return mEGLContext; in getEGLContext()
DRenderEngine.h51 EGLContext mEGLContext; variable
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp407 mEGLContext = mRenderEngine->getEGLContext(); in init()
409 LOG_ALWAYS_FATAL_IF(mEGLContext == EGL_NO_CONTEXT, in init()
447 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); in init()
1159 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); in postFramebuffer()
1168 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); in postFramebuffer()
1277 defaultDisplay->makeCurrent(mEGLDisplay, mEGLContext); in handleTransactionLocked()
1819 if (!hw->makeCurrent(mEGLDisplay, mEGLContext)) { in doComposeSurfaces()
1823 if(!getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext)) { in doComposeSurfaces()
DSurfaceFlinger.h447 EGLContext mEGLContext; variable