/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/native/services/surfaceflinger/RenderEngine/ |
RenderEngine.h | 51 EGLContext mEGLContext;
|
RenderEngine.cpp | 151 RenderEngine::RenderEngine() : mEGLConfig(NULL), mEGLContext(EGL_NO_CONTEXT) { 159 mEGLContext = ctxt; 167 return mEGLContext;
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
SurfaceTextureRenderer.java | 67 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 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);
|
/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 | 493 EGLContext mEGLContext;
|
SurfaceFlinger_hwc1.cpp | 485 mEGLContext = mRenderEngine->getEGLContext(); 487 LOG_ALWAYS_FATAL_IF(mEGLContext == EGL_NO_CONTEXT, 525 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); [all...] |
SurfaceFlinger.cpp | 493 mEGLContext = mRenderEngine->getEGLContext(); 495 LOG_ALWAYS_FATAL_IF(mEGLContext == EGL_NO_CONTEXT, 500 getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); [all...] |
/hardware/qcom/display/msm8909/libhwcomposer/ |
hwc_utils.cpp | 427 ctx->mGPUHintInfo.mEGLContext = NULL; [all...] |
hwc_utils.h | 572 EGLContext mEGLContext;
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_utils.cpp | 404 ctx->mGPUHintInfo.mEGLContext = NULL; [all...] |
hwc_utils.h | 596 EGLContext mEGLContext;
|
/external/robolectric/v3/runtime/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-5.1.1_r9-robolectric-1.jar | |