Searched refs:mEGLContext (Results 1 - 8 of 8) 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/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp153 RenderEngine::RenderEngine() : mEGLConfig(NULL), mEGLContext(EGL_NO_CONTEXT) {
161 mEGLContext = ctxt;
169 return mEGLContext;
H A DRenderEngine.h51 EGLContext mEGLContext; member in class:android::RenderEngine
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DSurfaceTextureRenderer.java67 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; field in class:SurfaceTextureRenderer
449 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT,
452 if(mEGLContext == EGL14.EGL_NO_CONTEXT) {
513 EGL14.eglDestroyContext(mEGLDisplay, mEGLContext);
520 mEGLContext = EGL14.EGL_NO_CONTEXT;
525 EGL14.eglMakeCurrent(mEGLDisplay, surface, surface, mEGLContext);
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger_hwc1.cpp542 mEGLContext = mRenderEngine->getEGLContext();
544 LOG_ALWAYS_FATAL_IF(mEGLContext == EGL_NO_CONTEXT,
584 getDefaultDisplayDeviceLocked()->makeCurrent(mEGLDisplay, mEGLContext);
1528 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext);
1537 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext);
1647 defaultDisplay->makeCurrent(mEGLDisplay, mEGLContext);
2190 if (!hw->makeCurrent(mEGLDisplay, mEGLContext)) {
2194 if(!getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext)) {
H A DSurfaceFlinger.cpp599 mEGLContext = mRenderEngine->getEGLContext();
601 LOG_ALWAYS_FATAL_IF(mEGLContext == EGL_NO_CONTEXT,
606 getDefaultDisplayDeviceLocked()->makeCurrent(mEGLDisplay, mEGLContext);
1868 displayDevice->makeCurrent(mEGLDisplay, mEGLContext);
1974 defaultDisplay->makeCurrent(mEGLDisplay, mEGLContext);
2518 if (!displayDevice->makeCurrent(mEGLDisplay, mEGLContext)) {
2524 if(!getDefaultDisplayDeviceLocked()->makeCurrent(mEGLDisplay, mEGLContext)) {
H A DSurfaceFlinger.h621 EGLContext mEGLContext; member in class:android::SurfaceFlinger

Completed in 219 milliseconds