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.h51 EGLContext mEGLContext; member in class:android::RenderEngine
H A DRenderEngine.cpp151 RenderEngine::RenderEngine() : mEGLConfig(NULL), mEGLContext(EGL_NO_CONTEXT) {
159 mEGLContext = ctxt;
167 return mEGLContext;
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DSurfaceTextureRenderer.java67 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; field in class:SurfaceTextureRenderer
448 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT,
451 if(mEGLContext == EGL14.EGL_NO_CONTEXT) {
512 EGL14.eglDestroyContext(mEGLDisplay, mEGLContext);
519 mEGLContext = EGL14.EGL_NO_CONTEXT;
524 EGL14.eglMakeCurrent(mEGLDisplay, surface, surface, mEGLContext);
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.h464 EGLContext mEGLContext; member in class:android::SurfaceFlinger
H A DSurfaceFlinger_hwc1.cpp474 mEGLContext = mRenderEngine->getEGLContext();
476 LOG_ALWAYS_FATAL_IF(mEGLContext == EGL_NO_CONTEXT,
514 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext);
1286 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext);
1295 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext);
1409 defaultDisplay->makeCurrent(mEGLDisplay, mEGLContext);
1954 if (!hw->makeCurrent(mEGLDisplay, mEGLContext)) {
1958 if(!getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext)) {
H A DSurfaceFlinger.cpp482 mEGLContext = mRenderEngine->getEGLContext();
484 LOG_ALWAYS_FATAL_IF(mEGLContext == EGL_NO_CONTEXT,
489 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext);
1286 displayDevice->makeCurrent(mEGLDisplay, mEGLContext);
1396 defaultDisplay->makeCurrent(mEGLDisplay, mEGLContext);
1938 if (!displayDevice->makeCurrent(mEGLDisplay, mEGLContext)) {
1942 if(!getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext)) {

Completed in 110 milliseconds