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

/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/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 DSurfaceTexture_test.cpp48 mEglSurface(EGL_NO_SURFACE),
102 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
110 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig,
114 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
121 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
126 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w));
128 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h));
139 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) {
140 eglSwapBuffers(mEglDisplay, mEglSurface);
283 EGLSurface mEglSurface; member in class:android::GLTest
[all...]
H A DSurfaceTextureClient_test.cpp33 mEglSurface(EGL_NO_SURFACE),
69 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs);
71 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
77 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
88 eglDestroySurface(mEglDisplay, mEglSurface);
111 EGLSurface mEglSurface; member in class:android::SurfaceTextureClientTest
194 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
/frameworks/base/services/java/com/android/server/power/
H A DElectronBeam.java90 private EGLSurface mEglSurface; field in class:ElectronBeam
237 EGL14.eglSwapBuffers(mEglDisplay, mEglSurface);
538 if (mEglSurface == null) {
543 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface,
545 if (mEglSurface == null) {
554 if (mEglSurface != null) {
555 if (!EGL14.eglDestroySurface(mEglDisplay, mEglSurface)) {
558 mEglSurface = null;
596 if (mEglSurface == null) {
599 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurfac
[all...]
/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java777 EGLSurface mEglSurface; field in class:HardwareRenderer.GlRenderer
1218 if (mEglSurface != null && mEglSurface != EGL_NO_SURFACE) {
1220 sEgl.eglDestroySurface(sEglDisplay, mEglSurface);
1221 mEglSurface = null;
1231 if (mEglSurface != null && mEglSurface != EGL_NO_SURFACE) {
1232 sEgl.eglDestroySurface(sEglDisplay, mEglSurface);
1233 mEglSurface = null;
1251 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...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java124 private EGLSurface mEglSurface; field in class:ImageWallpaper.DrawableEngine
488 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
603 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
658 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null);
659 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) {
670 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp208 mEglSurface = eglCreateWindowSurface(mEglDisplay, config,
217 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
223 eglDestroySurface(mEglDisplay, mEglSurface);
377 eglSwapBuffers(mEglDisplay, mEglSurface);
H A DNativeWindowRenderer.h89 EGLSurface mEglSurface; member in class:android::NativeWindowRenderer

Completed in 179 milliseconds