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

/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLPipeline.h52 EGLSurface mEglSurface = EGL_NO_SURFACE; member in class:android::uirenderer::skiapipeline::SkiaOpenGLPipeline
/frameworks/native/libs/gui/tests/
H A DGLTest.h40 mEglSurface(EGL_NO_SURFACE),
65 EGLSurface mEglSurface; member in class:android::GLTest
H A DSurfaceTextureClient_test.cpp40 mEglSurface(EGL_NO_SURFACE),
81 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs);
83 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
89 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
100 eglDestroySurface(mEglDisplay, mEglSurface);
123 EGLSurface mEglSurface; member in class:android::SurfaceTextureClientTest
206 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
/frameworks/av/cmds/screenrecord/
H A DEglWindow.h37 mEglSurface(EGL_NO_SURFACE),
77 EGLSurface mEglSurface; member in class:android::EglWindow
/frameworks/base/libs/hwui/renderthread/
H A DOpenGLPipeline.h67 EGLSurface mEglSurface = EGL_NO_SURFACE; member in class:android::uirenderer::renderthread::OpenGLPipeline
/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/base/tests/UiBench/src/com/android/test/uibench/opengl/
H A DImageFlipRenderThread.java98 private EGLSurface mEglSurface; field in class:ImageFlipRenderThread
191 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
301 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
306 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) {
307 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
336 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
338 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
348 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurfac
[all...]
/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.cpp53 mEglSurface(EGL_NO_SURFACE),
103 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
112 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
116 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
123 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
128 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w));
130 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h));
141 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) {
142 eglSwapBuffers(mEglDisplay, mEglSurface);
337 EGLSurface mEglSurface; member in class:android::GLTest
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java91 private EGLSurface mEglSurface; field in class:ColorFade
405 EGL14.eglSwapBuffers(mEglDisplay, mEglSurface);
612 if (mEglSurface == null) {
617 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface,
619 if (mEglSurface == null) {
628 if (mEglSurface != null) {
629 if (!EGL14.eglDestroySurface(mEglDisplay, mEglSurface)) {
632 mEglSurface = null;
670 if (mEglSurface == null) {
673 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurfac
[all...]
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestBuffer.cpp117 mEglSurface(EGL_NO_SURFACE),
182 mEglSurface = eglCreateWindowSurface(mEglDisplay, configs[0],
184 if (mEglSurface == EGL_NO_SURFACE) {
190 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
201 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
206 eglSwapBuffers(mEglDisplay, mEglSurface);
214 if (mEglSurface != EGL_NO_SURFACE)
215 eglDestroySurface(mEglDisplay, mEglSurface);
227 EGLSurface mEglSurface; member in class:Hwc2TestEglManager
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java124 private EGLSurface mEglSurface; field in class:ImageWallpaper.DrawableEngine
643 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
759 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
814 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null);
815 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) {
826 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java1069 mEglSurface = null;
1106 mEglSurface = view.mEGLWindowSurfaceFactory.createWindowSurface(mEgl,
1109 mEglSurface = null;
1112 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
1124 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
1169 if (! mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
1183 if (mEglSurface != null && mEglSurface !
1236 EGLSurface mEglSurface; field in class:GLSurfaceView.EglHelper
[all...]

Completed in 298 milliseconds