/frameworks/native/opengl/tests/EGLTest/ |
H A D | EGL_test.cpp | 30 EGLDisplay mEglDisplay; member in class:android::EGLTest 34 mEglDisplay(EGL_NO_DISPLAY) { 38 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); 39 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay); 44 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion)); 51 EGLBoolean success = eglTerminate(mEglDisplay); 68 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); 75 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]); 78 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]); 81 success = eglGetConfigAttrib(mEglDisplay, confi [all...] |
/frameworks/native/include/gui/ |
H A D | SurfaceTexture.h | 354 // mEglDisplay is the EGLDisplay with which this SurfaceTexture is currently 358 EGLDisplay mEglDisplay; member in class:android::SurfaceTexture
|
H A D | BufferQueue.h | 288 : mEglDisplay(EGL_NO_DISPLAY), 305 // mEglDisplay is the EGLDisplay used to create mEglImage. 306 EGLDisplay mEglDisplay; member in struct:android::BufferQueue::BufferSlot
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | NativeWindowRenderer.h | 88 EGLDisplay mEglDisplay; member in class:android::NativeWindowRenderer
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLTextureViewActivity.java | 142 private EGLDisplay mEglDisplay; field in class:GLTextureViewActivity.RenderThread 239 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 348 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 349 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 355 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 365 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); 366 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) { 372 if (!mEgl.eglInitialize(mEglDisplay, version)) { 382 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 384 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfi [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 32 mEglDisplay(EGL_NO_DISPLAY), 50 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); 52 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay); 55 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion)); 60 EXPECT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(), 68 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs); 72 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0); 76 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); 85 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 86 eglDestroyContext(mEglDisplay, mEglContex 109 EGLDisplay mEglDisplay; member in class:android::SurfaceTextureClientTest 716 EGLDisplay mEglDisplay; member in class:android::MultiSurfaceTextureClientTest [all...] |
H A D | SurfaceTexture_test.cpp | 44 mEglDisplay(EGL_NO_DISPLAY), 55 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); 57 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay); 61 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion)); 67 EXPECT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(), &mGlConfig, 99 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 107 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig, 113 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, 118 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 123 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurfac 281 EGLDisplay mEglDisplay; member in class:android::GLTest [all...] |
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 55 mEglDisplay(EGL_NO_DISPLAY), 62 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); 64 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay); 68 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion)); 74 EXPECT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(), &mGlConfig, 106 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 115 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 121 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, 126 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 131 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurfac 339 EGLDisplay mEglDisplay; member in class:android::GLTest [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 115 private EGLDisplay mEglDisplay; field in class:ImageWallpaper.DrawableEngine 439 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 557 mEgl.eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 558 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 559 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 565 mEglDisplay = mEgl.eglGetDisplay(EGL_DEFAULT_DISPLAY); 566 if (mEglDisplay == EGL_NO_DISPLAY) { 572 if (!mEgl.eglInitialize(mEglDisplay, version)) { 582 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 584 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfi [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 1006 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); 1008 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) { 1016 if(!mEgl.eglInitialize(mEglDisplay, version)) { 1024 mEglConfig = view.mEGLConfigChooser.chooseConfig(mEgl, mEglDisplay); 1030 mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig); 1059 if (mEglDisplay == null) { 1078 mEglDisplay, mEglConfig, view.getHolder()); 1095 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 1140 if (! mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 1155 mEgl.eglMakeCurrent(mEglDisplay, EGL1 1206 EGLDisplay mEglDisplay; field in class:GLSurfaceView.EglHelper [all...] |