Searched defs:mEglDisplay (Results 1 - 15 of 15) sorted by relevance

/frameworks/native/libs/gui/tests/
H A DGLTest.h38 mEglDisplay(EGL_NO_DISPLAY),
62 EGLDisplay mEglDisplay; member in class:android::GLTest
H A DSurfaceTextureClient_test.cpp35 mEglDisplay(EGL_NO_DISPLAY),
57 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
59 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
62 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion));
67 EXPECT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(),
76 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs);
80 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0);
84 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
93 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
94 eglDestroyContext(mEglDisplay, mEglContex
117 EGLDisplay mEglDisplay; member in class:android::SurfaceTextureClientTest
749 EGLDisplay mEglDisplay; member in class:android::MultiSurfaceTextureClientTest
[all...]
H A DSRGB_test.cpp51 mEglDisplay(EGL_NO_DISPLAY), mEglConfig(),
57 if (mEglDisplay != EGL_NO_DISPLAY) {
59 eglDestroySurface(mEglDisplay, mEglSurface);
62 eglDestroyContext(mEglDisplay, mEglContext);
64 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
66 eglTerminate(mEglDisplay);
231 EGLDisplay mEglDisplay; member in class:android::SRGBTest
243 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
245 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
247 EXPECT_TRUE(eglInitialize(mEglDisplay, NUL
[all...]
/frameworks/av/cmds/screenrecord/
H A DEglWindow.h35 mEglDisplay(EGL_NO_DISPLAY),
75 EGLDisplay mEglDisplay; member in class:android::EglWindow
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.h71 EGLDisplay mEglDisplay; member in class:android::uirenderer::renderthread::EglManager
H A DEglManager.cpp69 , mEglDisplay(EGL_NO_DISPLAY)
87 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
88 LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY,
92 LOG_ALWAYS_FATAL_IF(eglInitialize(mEglDisplay, &major, &minor) == EGL_FALSE,
93 "Failed to initialize display %p! err=%s", mEglDisplay, egl_error_str()); local
105 return mEglDisplay != EGL_NO_DISPLAY;
109 LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY, "No EGL context");
135 if (!eglChooseConfig(mEglDisplay, attribs, &mEglConfig, num_configs, &num_configs)
151 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, attribs);
184 LOG_ALWAYS_FATAL_IF(mEglDisplay
[all...]
/frameworks/native/include/gui/
H A DBufferSlot.h35 : mEglDisplay(EGL_NO_DISPLAY),
49 // mEglDisplay is the EGLDisplay used to create EGLSyncKHR objects.
50 EGLDisplay mEglDisplay; member in struct:android::BufferSlot
H A DGLConsumer.h254 return releaseBufferLocked(slot, graphicBuffer, mEglDisplay, eglFence);
270 // to mEglDisplay and mEglContext. If the fields have been previously
323 EGLDisplay mEglDisplay; member in class:android::GLConsumer::EglImage
438 // mEglDisplay is the EGLDisplay with which this GLConsumer is currently
442 EGLDisplay mEglDisplay; member in class:android::GLConsumer
/frameworks/native/opengl/tests/EGLTest/
H A DEGL_test.cpp29 EGLDisplay mEglDisplay; member in class:android::EGLTest
33 mEglDisplay(EGL_NO_DISPLAY) {
37 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
38 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
43 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion));
50 EGLBoolean success = eglTerminate(mEglDisplay);
67 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs);
74 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]);
77 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]);
80 success = eglGetConfigAttrib(mEglDisplay, confi
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java141 private EGLDisplay mEglDisplay; field in class:GLTextureViewActivity.RenderThread
238 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
347 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
348 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
354 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
364 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
365 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) {
371 if (!mEgl.eglInitialize(mEglDisplay, version)) {
381 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
383 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfi
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DBlockingGLTextureView.java109 EGLDisplay mEglDisplay; field in class:BlockingGLTextureView.EglHelper
118 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) {
157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
159 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) {
167 if (!mEgl.eglInitialize(mEglDisplay, version)) {
176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
199 if (mEglDisplay == null) {
216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null);
233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
257 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurfac
[all...]
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp56 mEglDisplay(EGL_NO_DISPLAY),
63 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
65 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
69 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion));
75 EXPECT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(), &mGlConfig,
107 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
116 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
122 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
127 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
132 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurfac
340 EGLDisplay mEglDisplay; member in class:android::GLTest
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java123 private EGLDisplay mEglDisplay; field in class:ImageWallpaper.DrawableEngine
533 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
648 mEgl.eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
649 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
650 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
651 mEgl.eglTerminate(mEglDisplay);
657 mEglDisplay = mEgl.eglGetDisplay(EGL_DEFAULT_DISPLAY);
658 if (mEglDisplay == EGL_NO_DISPLAY) {
664 if (!mEgl.eglInitialize(mEglDisplay, version)) {
674 mEglContext = createContext(mEgl, mEglDisplay, mEglConfi
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java90 private EGLDisplay mEglDisplay; field in class:ColorFade
387 EGL14.eglSwapBuffers(mEglDisplay, mEglSurface);
500 if (mEglDisplay == null) {
501 mEglDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY);
502 if (mEglDisplay == EGL14.EGL_NO_DISPLAY) {
508 if (!EGL14.eglInitialize(mEglDisplay, version, 0, version, 1)) {
509 mEglDisplay = null;
527 if (!EGL14.eglChooseConfig(mEglDisplay, eglConfigAttribList, 0,
540 mEglContext = EGL14.eglCreateContext(mEglDisplay, mEglConfig,
594 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfi
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java1005 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
1007 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) {
1015 if(!mEgl.eglInitialize(mEglDisplay, version)) {
1023 mEglConfig = view.mEGLConfigChooser.chooseConfig(mEgl, mEglDisplay);
1029 mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig);
1058 if (mEglDisplay == null) {
1077 mEglDisplay, mEglConfig, view.getHolder());
1094 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
1139 if (! mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
1154 mEgl.eglMakeCurrent(mEglDisplay, EGL1
1205 EGLDisplay mEglDisplay; field in class:GLSurfaceView.EglHelper
[all...]

Completed in 288 milliseconds