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

/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DBlockingGLTextureView.java110 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 DSurfaceMediaSource_test.cpp58 mEglSurface(EGL_NO_SURFACE),
108 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
117 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
121 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
128 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
133 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w));
135 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h));
146 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) {
147 eglSwapBuffers(mEglDisplay, mEglSurface);
342 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.cpp36 mEglSurface(EGL_NO_SURFACE),
73 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs);
75 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
81 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
92 eglDestroySurface(mEglDisplay, mEglSurface);
115 EGLSurface mEglSurface; member in class:android::SurfaceTextureClientTest
198 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
/frameworks/base/services/java/com/android/server/power/
H A DElectronBeam.java91 private EGLSurface mEglSurface; field in class:ElectronBeam
238 EGL14.eglSwapBuffers(mEglDisplay, mEglSurface);
539 if (mEglSurface == null) {
544 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface,
546 if (mEglSurface == null) {
555 if (mEglSurface != null) {
556 if (!EGL14.eglDestroySurface(mEglDisplay, mEglSurface)) {
559 mEglSurface = null;
597 if (mEglSurface == null) {
600 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurfac
[all...]
/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java841 EGLSurface mEglSurface; field in class:HardwareRenderer.GlRenderer
1305 if (mEglSurface != null && mEglSurface != EGL_NO_SURFACE) {
1306 if (mEglSurface.equals(sEgl.eglGetCurrentSurface(EGL_DRAW))) {
1310 sEgl.eglDestroySurface(sEglDisplay, mEglSurface);
1311 mEglSurface = null;
1321 if (mEglSurface != null && mEglSurface != EGL_NO_SURFACE) {
1322 sEgl.eglDestroySurface(sEglDisplay, mEglSurface);
1323 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.java130 private EGLSurface mEglSurface; field in class:ImageWallpaper.DrawableEngine
555 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
670 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
725 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null);
726 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) {
737 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 424 milliseconds