Searched refs:mEglSurface (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java427 EGLSurface mEglSurface; field in class:HardwareRenderer.GlRenderer
671 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
725 if (mEglSurface != null && mEglSurface != EGL_NO_SURFACE) {
727 sEgl.eglDestroySurface(sEglDisplay, mEglSurface);
728 mEglSurface = null;
738 if (mEglSurface != null && mEglSurface != EGL_NO_SURFACE) {
739 sEgl.eglDestroySurface(sEglDisplay, mEglSurface);
[all...]
/frameworks/base/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp56 mEglSurface(EGL_NO_SURFACE),
106 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
115 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
119 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
126 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
131 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w));
133 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h));
144 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) {
145 eglSwapBuffers(mEglDisplay, mEglSurface);
340 EGLSurface mEglSurface; member in class:android::GLTest
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java145 private EGLSurface mEglSurface; field in class:GLTextureViewActivity.RenderThread
236 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
346 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
351 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) {
352 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
381 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
383 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
393 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurfac
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java1024 mEglSurface = null;
1051 if (mEglSurface != null && mEglSurface != EGL10.EGL_NO_SURFACE) {
1059 mEGLWindowSurfaceFactory.destroySurface(mEgl, mEglDisplay, mEglSurface);
1065 mEglSurface = mEGLWindowSurfaceFactory.createWindowSurface(mEgl,
1068 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
1080 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
1108 mEglSurface, mEglSurfac
1183 EGLSurface mEglSurface; field in class:GLSurfaceView.EglHelper
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java118 private EGLSurface mEglSurface; field in class:ImageWallpaper.DrawableEngine
433 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
552 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
578 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null);
580 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) {
590 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
/frameworks/base/libs/gui/tests/
H A DSurfaceTexture_test.cpp45 mEglSurface(EGL_NO_SURFACE),
94 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
102 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig,
106 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
113 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
118 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w));
120 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h));
131 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) {
132 eglSwapBuffers(mEglDisplay, mEglSurface);
328 EGLSurface mEglSurface; member in class:android::GLTest
[all...]
H A DSurfaceTextureClient_test.cpp28 mEglSurface(EGL_NO_SURFACE),
58 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs);
60 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
66 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
77 eglDestroySurface(mEglDisplay, mEglSurface);
95 EGLSurface mEglSurface; member in class:android::SurfaceTextureClientTest
/frameworks/media/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp209 mEglSurface = eglCreateWindowSurface(mEglDisplay, config,
218 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
224 eglDestroySurface(mEglDisplay, mEglSurface);
378 eglSwapBuffers(mEglDisplay, mEglSurface);
H A DNativeWindowRenderer.h89 EGLSurface mEglSurface; member in class:android::NativeWindowRenderer

Completed in 213 milliseconds