Home
last modified time | relevance | path

Searched refs:mEGLContext (Results 1 – 8 of 8) 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
448 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, in configureEGLContext()
451 if(mEGLContext == EGL14.EGL_NO_CONTEXT) { in configureEGLContext()
512 EGL14.eglDestroyContext(mEGLDisplay, mEGLContext); in releaseEGLContext()
519 mEGLContext = EGL14.EGL_NO_CONTEXT; in releaseEGLContext()
524 EGL14.eglMakeCurrent(mEGLDisplay, surface, surface, mEGLContext); in makeCurrent()
/frameworks/native/services/surfaceflinger/RenderEngine/
DRenderEngine.cpp151 RenderEngine::RenderEngine() : mEGLConfig(NULL), 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_hwc1.cpp474 mEGLContext = mRenderEngine->getEGLContext(); in init()
476 LOG_ALWAYS_FATAL_IF(mEGLContext == EGL_NO_CONTEXT, in init()
514 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); in init()
1286 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); in postFramebuffer()
1295 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); in postFramebuffer()
1409 defaultDisplay->makeCurrent(mEGLDisplay, mEGLContext); in handleTransactionLocked()
1954 if (!hw->makeCurrent(mEGLDisplay, mEGLContext)) { in doComposeSurfaces()
1958 if(!getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext)) { in doComposeSurfaces()
DSurfaceFlinger.cpp482 mEGLContext = mRenderEngine->getEGLContext(); in init()
484 LOG_ALWAYS_FATAL_IF(mEGLContext == EGL_NO_CONTEXT, in init()
489 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); in init()
1286 displayDevice->makeCurrent(mEGLDisplay, mEGLContext); in postFramebuffer()
1396 defaultDisplay->makeCurrent(mEGLDisplay, mEGLContext); in handleTransactionLocked()
1938 if (!displayDevice->makeCurrent(mEGLDisplay, mEGLContext)) { in doComposeSurfaces()
1942 if(!getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext)) { in doComposeSurfaces()
DSurfaceFlinger.h464 EGLContext mEGLContext; variable