/frameworks/base/opengl/java/com/google/android/gles_jni/ |
EGLContextImpl.java | 24 long mEGLContext; 27 mEGLContext = ctx; 43 return mEGLContext == that.mEGLContext; 53 result = 31 * result + (int) (mEGLContext ^ (mEGLContext >>> 32));
|
EGLImpl.java | 123 if (mContext.mEGLContext != value)
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
CtsMediaOutputSurface.java | 53 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 159 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, 162 if (mEGLContext == null) { 186 EGL14.eglDestroyContext(mEGLDisplay, mEGLContext); 198 mEGLContext = EGL14.EGL_NO_CONTEXT; 210 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) {
|
/cts/tests/tests/media/src/android/media/cts/ |
InputSurface.java | 42 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 97 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, mConfigs[0], EGL14.EGL_NO_CONTEXT, 100 if (mEGLContext == null) { 146 EGL14.eglDestroyContext(mEGLDisplay, mEGLContext); 154 mEGLContext = EGL14.EGL_NO_CONTEXT; 164 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) {
|
OutputSurface.java | 49 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 155 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, 158 if (mEGLContext == null) { 182 EGL14.eglDestroyContext(mEGLDisplay, mEGLContext); 194 mEGLContext = EGL14.EGL_NO_CONTEXT; 206 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) {
|
/cts/tests/tests/effect/src/android/effect/cts/ |
GLEnv.java | 28 private EGLContext mEGLContext; 62 mEGLContext = egl.eglCreateContext(mEGLDisplay, mEGLConfig, EGL10.EGL_NO_CONTEXT, attribs); 72 egl.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext); 98 egl.eglDestroyContext(mEGLDisplay, mEGLContext);
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
WrapperTest.java | 39 private EGLContext mEGLContext; 174 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { 227 * Sets mEGLDisplay, mEGLContext, and mEGLSurface, and makes them current. 273 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, configs[0], EGL14.EGL_NO_CONTEXT, 276 if (mEGLContext == null) { 293 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { 312 mEGLContext = null;
|
FramebufferTest.java | 163 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 217 mEGLContext = context; 222 if (mEGLContext == EGL14.EGL_NO_CONTEXT) { // GLES 2 only, or GLES 3 attempt failed 236 mEGLContext = context; 242 EGL14.eglQueryContext(mEGLDisplay, mEGLContext, EGL14.EGL_CONTEXT_CLIENT_VERSION, 294 EGL14.eglDestroyContext(mEGLDisplay, mEGLContext); 300 mEGLContext = EGL14.EGL_NO_CONTEXT; 377 if (!EGL14.eglMakeCurrent(mEGLDisplay, eglSurface, eglSurface, mEGLContext)) { 390 if (!EGL14.eglMakeCurrent(mEGLDisplay, drawSurface, readSurface, mEGLContext)) { 425 return mEGLContext.equals(EGL14.eglGetCurrentContext()) & [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
SurfaceTextureRenderer.java | 67 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 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/ |
RenderEngine.h | 51 EGLContext mEGLContext;
|
RenderEngine.cpp | 151 RenderEngine::RenderEngine() : mEGLContext(EGL_NO_CONTEXT) { 159 mEGLContext = ctxt; 167 return mEGLContext;
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_utils.cpp | 284 ctx->mGPUHintInfo.mEGLContext = NULL; [all...] |
hwc_utils.h | 488 EGLContext mEGLContext;
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_utils.cpp | 301 ctx->mGPUHintInfo.mEGLContext = NULL; [all...] |
hwc_utils.h | 521 EGLContext mEGLContext;
|
/frameworks/native/services/surfaceflinger/ |
SurfaceFlinger.h | 451 EGLContext mEGLContext;
|
SurfaceFlinger.cpp | 454 mEGLContext = mRenderEngine->getEGLContext(); 456 LOG_ALWAYS_FATAL_IF(mEGLContext == EGL_NO_CONTEXT, 494 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_utils.cpp | 398 ctx->mGPUHintInfo.mEGLContext = NULL; [all...] |
hwc_utils.h | 556 EGLContext mEGLContext;
|