/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
Renderer.h | 38 EGLContext mEglContext;
|
/cts/tests/tests/nativeopengl/standalone/jni/tests/ |
EGLCreateContext_test.cpp | 53 mEglContext(EGL_NO_CONTEXT) 80 if (mEglContext != EGL_NO_CONTEXT) { 81 eglDestroyContext(mEglDisplay, mEglContext); 114 EGLContext mEglContext; 123 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, 125 ASSERT_NE(mEglContext, EGL_NO_CONTEXT); 127 ASSERT_EQ(EGL_TRUE, eglDestroyContext(mEglDisplay, mEglContext)); 128 mEglContext = EGL_NO_CONTEXT; 132 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, 134 ASSERT_EQ(mEglContext, EGL_NO_CONTEXT) [all...] |
GLTest_test.cpp | 40 mEglContext(EGL_NO_CONTEXT) { 84 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, 87 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 90 mEglContext)); 110 if (mEglContext != EGL_NO_CONTEXT) { 111 eglDestroyContext(mEglDisplay, mEglContext); 184 EGLContext mEglContext;
|
EGLCleanup_test.cpp | 78 mEglSurface(EGL_NO_SURFACE), mEglContext(EGL_NO_CONTEXT), 116 EGLContext mEglContext; 208 mEglContext)) 272 mEglContext = eglCreateContext(mEglDisplay, eglConfig, EGL_NO_CONTEXT, 274 if (mEglContext == EGL_NO_CONTEXT) { 298 eglDestroyContext(mEglDisplay, mEglContext);
|
/development/ndk/platforms/android-18/samples/gles3jni/jni/ |
RendererES2.cpp | 53 const EGLContext mEglContext; 75 : mEglContext(eglGetCurrentContext()), 108 if (eglGetCurrentContext() != mEglContext)
|
RendererES3.cpp | 65 const EGLContext mEglContext; 81 : mEglContext(eglGetCurrentContext()), 132 if (eglGetCurrentContext() != mEglContext)
|
/frameworks/native/include/gui/ |
GLConsumer.h | 266 // to mEglDisplay and mEglContext. If the fields have been previously 406 // mEglContext is the OpenGL ES context with which this GLConsumer is 410 EGLContext mEglContext;
|
/cts/tests/tests/textureview/src/android/textureview/cts/ |
GLProducerThread.java | 47 private EGLContext mEglContext = EGL10.EGL_NO_CONTEXT; 114 mEglContext = mEgl.eglCreateContext(mEglDisplay, configs[0], EGL10.EGL_NO_CONTEXT, contextAttribs); 127 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 132 mGl = mEglContext.getGL(); 136 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 138 mEglContext = EGL10.EGL_NO_CONTEXT;
|
/frameworks/av/libvideoeditor/lvpp/ |
NativeWindowRenderer.h | 90 EGLContext mEglContext;
|
/frameworks/native/libs/gui/tests/ |
SurfaceTextureClient_test.cpp | 37 mEglContext(EGL_NO_CONTEXT) { 77 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0); 79 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 81 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); 91 eglDestroyContext(mEglDisplay, mEglContext); 116 EGLContext mEglContext; 184 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext); 198 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); 679 mEglContext(EGL_NO_CONTEXT) { 708 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT [all...] |
SurfaceTexture_test.cpp | 49 mEglContext(EGL_NO_CONTEXT) { 116 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, 119 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 122 mEglContext)); 147 if (mEglContext != EGL_NO_CONTEXT) { 148 eglDestroyContext(mEglDisplay, mEglContext); 284 EGLContext mEglContext; [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
SurfaceTextureRenderer.java | 41 private EGLContext mEglContext; 100 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 105 mEglContext = null; 146 mEglContext = mEgl.eglCreateContext( 149 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { 159 mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 163 mGl = (GL10) mEglContext.getGL();
|
/frameworks/av/media/libstagefright/tests/ |
SurfaceMediaSource_test.cpp | 59 mEglContext(EGL_NO_CONTEXT) { 123 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, 126 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 129 mEglContext)); 154 if (mEglContext != EGL_NO_CONTEXT) { 155 eglDestroyContext(mEglDisplay, mEglContext); 343 EGLContext mEglContext; 501 mEglContext)); 803 mEglContext)); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ImageWallpaper.java | 124 private EGLContext mEglContext; 606 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 630 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 631 if (mEglContext == EGL_NO_CONTEXT) { 642 mEgl.eglMakeCurrent(mEglDisplay, tmpSurface, tmpSurface, mEglContext); 652 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 672 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
BlockingGLTextureView.java | 112 EGLContext mEglContext; 176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 178 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { 179 mEglContext = null; 233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 249 return (GL10) mEglContext.getGL(); 278 if (mEglContext != null) { 279 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 280 mEglContext = null [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GLTextureViewActivity.java | 143 private EGLContext mEglContext; 347 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 352 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || 354 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 381 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 395 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 400 mGL = mEglContext.getGL();
|
/packages/apps/Camera/src/com/android/camera/ |
MosaicPreviewRenderer.java | 55 private EGLContext mEglContext; 138 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, 141 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { 150 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 154 mGl = (GL10) mEglContext.getGL(); 162 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 167 mEglContext = null;
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
BlockingGLTextureView.java | 112 EGLContext mEglContext; 176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 178 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { 179 mEglContext = null; 233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 249 return (GL10) mEglContext.getGL(); 278 if (mEglContext != null) { 279 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 280 mEglContext = null [all...] |
/packages/apps/Launcher3/src/com/android/photos/views/ |
BlockingGLTextureView.java | 112 EGLContext mEglContext; 176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 178 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { 179 mEglContext = null; 233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 249 return (GL10) mEglContext.getGL(); 278 if (mEglContext != null) { 279 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 280 mEglContext = null [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
FireflyRenderer.java | 161 EGLContext mEglContext; 281 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || 283 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 314 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, null); 324 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 330 mGL = (GL10) mEglContext.getGL(); 348 if (mEglContext != null) { 349 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
|
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
ColorsGLRenderer.java | 70 private EGLContext mEglContext; 145 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || 147 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 174 mEglContext = createContext(mEgl, mEglDisplay, eglConfig); 188 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 195 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
|
/frameworks/base/services/java/com/android/server/power/ |
ElectronBeam.java | 90 private EGLContext mEglContext; 477 if (mEglContext == null) { 481 mEglContext = EGL14.eglCreateContext(mEglDisplay, mEglConfig, 483 if (mEglContext == null) { 493 if (mEglContext != null) { 494 if (!EGL14.eglDestroyContext(mEglDisplay, mEglContext)) { 497 mEglContext = null; 600 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
GLSurfaceViewCustom.java | [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
GLSurfaceView.java | [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLSurfaceView.java | [all...] |