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

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

Completed in 127 milliseconds