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

/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.h89 EGLSurface mEglSurface; member in class:android::NativeWindowRenderer
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java144 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/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp33 mEglSurface(EGL_NO_SURFACE),
68 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs);
70 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
76 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
87 eglDestroySurface(mEglDisplay, mEglSurface);
110 EGLSurface mEglSurface; member in class:android::SurfaceTextureClientTest
H A DSurfaceTexture_test.cpp45 mEglSurface(EGL_NO_SURFACE),
99 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
107 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig,
111 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
118 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
123 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w));
125 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h));
136 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) {
137 eglSwapBuffers(mEglDisplay, mEglSurface);
282 EGLSurface mEglSurface; member in class:android::GLTest
[all...]
/frameworks/base/services/java/com/android/server/power/
H A DElectronBeam.java88 private EGLSurface mEglSurface; field in class:ElectronBeam
233 EGL14.eglSwapBuffers(mEglDisplay, mEglSurface);
559 if (mEglSurface == null) {
563 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface,
565 if (mEglSurface == null) {
574 if (mEglSurface != null) {
575 if (!EGL14.eglDestroySurface(mEglDisplay, mEglSurface)) {
578 mEglSurface = null;
615 if (mEglSurface == null) {
618 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurfac
[all...]
/frameworks/av/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/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java127 private EGLSurface mEglSurface; field in class:ImageWallpaper.DrawableEngine
501 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
618 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
644 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null);
646 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) {
656 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java635 EGLSurface mEglSurface; field in class:HardwareRenderer.GlRenderer
1023 if (mEglSurface != null && mEglSurface != EGL_NO_SURFACE) {
1025 sEgl.eglDestroySurface(sEglDisplay, mEglSurface);
1026 mEglSurface = null;
1036 if (mEglSurface != null && mEglSurface != EGL_NO_SURFACE) {
1037 sEgl.eglDestroySurface(sEglDisplay, mEglSurface);
1038 mEglSurface = null;
1056 mEglSurface
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java1040 mEglSurface = null;
1077 mEglSurface = view.mEGLWindowSurfaceFactory.createWindowSurface(mEgl,
1080 mEglSurface = null;
1083 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
1095 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
1140 if (! mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
1154 if (mEglSurface != null && mEglSurface !
1207 EGLSurface mEglSurface; field in class:GLSurfaceView.EglHelper
[all...]

Completed in 951 milliseconds