/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureMultiContextGL.h | 43 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 55 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 62 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
|
H A D | SurfaceTextureMultiContextGL_test.cpp | 37 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 129 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 161 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 193 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 221 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, [all...] |
H A D | GLTest.cpp | 77 mEglSurface = createWindowSurface(mEglDisplay, mGlConfig, window); 84 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig, 88 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 95 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 100 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w)); 102 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h)); 113 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { 114 eglSwapBuffers(mEglDisplay, mEglSurface); 124 if (mEglSurface ! [all...] |
H A D | GLTest.h | 40 mEglSurface(EGL_NO_SURFACE), 65 EGLSurface mEglSurface; member in class:android::GLTest
|
H A D | SurfaceTextureGLToGL_test.cpp | 119 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 178 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 225 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 370 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 434 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, [all...] |
H A D | SurfaceTextureGLThreadToGL_test.cpp | 177 eglSwapBuffers(mEglDisplay, mEglSurface);
|
H A D | SurfaceTextureClient_test.cpp | 40 mEglSurface(EGL_NO_SURFACE), 81 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs); 83 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 89 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); 100 eglDestroySurface(mEglDisplay, mEglSurface); 123 EGLSurface mEglSurface; member in class:android::SurfaceTextureClientTest 206 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
|
/frameworks/av/cmds/screenrecord/ |
H A D | EglWindow.cpp | 37 if (mEglSurface != EGL_NO_SURFACE) { 52 mEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, anw.get(), 54 if (mEglSurface == EGL_NO_SURFACE) { 64 if (mEglSurface != EGL_NO_SURFACE) { 81 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mEglConfig, pbufferAttribs); 82 if (mEglSurface == EGL_NO_SURFACE) { 92 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 168 if (mEglSurface != EGL_NO_SURFACE) { 169 eglDestroySurface(mEglDisplay, mEglSurface); [all...] |
H A D | EglWindow.h | 37 mEglSurface(EGL_NO_SURFACE), 77 EGLSurface mEglSurface; member in class:android::EglWindow
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaOpenGLPipeline.cpp | 47 if (!mEglManager.makeCurrent(mEglSurface, &error)) { 54 LOG_ALWAYS_FATAL_IF(mEglSurface == EGL_NO_SURFACE, 56 return mEglManager.beginFrame(mEglSurface); 153 if (mEglManager.isCurrent(mEglSurface)) { 160 if (mEglSurface != EGL_NO_SURFACE) { 161 mEglManager.destroySurface(mEglSurface); 162 mEglSurface = EGL_NO_SURFACE; 166 mEglSurface = mEglManager.createSurface(surface); 169 if (mEglSurface != EGL_NO_SURFACE) { 171 mBufferPreserved = mEglManager.setPreserveBuffer(mEglSurface, preserveBuffe [all...] |
H A D | SkiaOpenGLPipeline.h | 52 EGLSurface mEglSurface = EGL_NO_SURFACE; member in class:android::uirenderer::skiapipeline::SkiaOpenGLPipeline
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | OpenGLPipeline.cpp | 43 bool haveNewSurface = mEglManager.makeCurrent(mEglSurface, &error); 53 LOG_ALWAYS_FATAL_IF(mEglSurface == EGL_NO_SURFACE, 55 return mEglManager.beginFrame(mEglSurface); 144 if (mEglManager.isCurrent(mEglSurface)) { 151 if (mEglSurface != EGL_NO_SURFACE) { 152 mEglManager.destroySurface(mEglSurface); 153 mEglSurface = EGL_NO_SURFACE; 157 mEglSurface = mEglManager.createSurface(surface); 160 if (mEglSurface != EGL_NO_SURFACE) { 162 mBufferPreserved = mEglManager.setPreserveBuffer(mEglSurface, preserveBuffe [all...] |
H A D | OpenGLPipeline.h | 67 EGLSurface mEglSurface = EGL_NO_SURFACE; member in class:android::uirenderer::renderthread::OpenGLPipeline
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | BlockingGLTextureView.java | 110 EGLSurface mEglSurface; field in class:BlockingGLTextureView.EglHelper 183 mEglSurface = null; 216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null); 218 mEglSurface = null; 221 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 257 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 268 if (mEglSurface ! [all...] |
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 53 mEglSurface(EGL_NO_SURFACE), 103 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 112 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 116 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 123 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 128 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w)); 130 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h)); 141 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { 142 eglSwapBuffers(mEglDisplay, mEglSurface); 337 EGLSurface mEglSurface; member in class:android::GLTest [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | SingleFrameTextureViewTestActivity.java | 88 private EGLSurface mEglSurface; 105 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 122 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 147 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null); 149 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 159 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
H A D | GLTextureViewActivity.java | 144 private EGLSurface mEglSurface; field in class:GLTextureViewActivity.RenderThread 238 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 348 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 353 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { 354 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 383 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null); 385 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 395 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurfac [all...] |
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/ |
H A D | ImageFlipRenderThread.java | 98 private EGLSurface mEglSurface; field in class:ImageFlipRenderThread 191 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 301 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 306 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { 307 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 336 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null); 338 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 348 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurfac [all...] |
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2TestBuffer.cpp | 117 mEglSurface(EGL_NO_SURFACE), 182 mEglSurface = eglCreateWindowSurface(mEglDisplay, configs[0], 184 if (mEglSurface == EGL_NO_SURFACE) { 190 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 201 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); 206 eglSwapBuffers(mEglDisplay, mEglSurface); 214 if (mEglSurface != EGL_NO_SURFACE) 215 eglDestroySurface(mEglDisplay, mEglSurface); 227 EGLSurface mEglSurface; member in class:Hwc2TestEglManager [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 91 private EGLSurface mEglSurface; field in class:ColorFade 405 EGL14.eglSwapBuffers(mEglDisplay, mEglSurface); 612 if (mEglSurface == null) { 617 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, 619 if (mEglSurface == null) { 628 if (mEglSurface != null) { 629 if (!EGL14.eglDestroySurface(mEglDisplay, mEglSurface)) { 632 mEglSurface = null; 670 if (mEglSurface == null) { 673 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurfac [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 1069 mEglSurface = null; 1106 mEglSurface = view.mEGLWindowSurfaceFactory.createWindowSurface(mEgl, 1109 mEglSurface = null; 1112 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 1124 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 1169 if (! mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 1183 if (mEglSurface != null && mEglSurface ! 1236 EGLSurface mEglSurface; field in class:GLSurfaceView.EglHelper [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 124 private EGLSurface mEglSurface; field in class:ImageWallpaper.DrawableEngine 643 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 759 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 814 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null); 815 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) { 826 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|