Searched refs:mEglDisplay (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp74 , mEglDisplay(EGL_NO_DISPLAY)
91 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
92 LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY,
96 LOG_ALWAYS_FATAL_IF(eglInitialize(mEglDisplay, &major, &minor) == EGL_FALSE,
97 "Failed to initialize display %p! err=%s", mEglDisplay, egl_error_str()); local
110 return mEglDisplay != EGL_NO_DISPLAY;
129 if (!eglChooseConfig(mEglDisplay, attribs, &mEglConfig, num_configs, &num_configs)
145 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, attribs);
177 LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY,
182 mPBufferSurface = eglCreatePbufferSurface(mEglDisplay, mEglConfi
[all...]
H A DEglManager.h72 EGLDisplay mEglDisplay; member in class:android::uirenderer::renderthread::EglManager
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureMultiContextGL.h37 mSecondEglContext = eglCreateContext(mEglDisplay, mGlConfig,
42 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
49 mThirdEglContext = eglCreateContext(mEglDisplay, mGlConfig,
54 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
61 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
67 eglDestroyContext(mEglDisplay, mThirdEglContext);
70 eglDestroyContext(mEglDisplay, mSecondEglContext);
H A DSurfaceTextureGLToGL.h38 mProducerEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
43 mProducerEglContext = eglCreateContext(mEglDisplay, mGlConfig,
51 eglDestroyContext(mEglDisplay, mProducerEglContext);
54 eglDestroySurface(mEglDisplay, mProducerEglSurface);
H A DSurfaceTextureGLToGL_test.cpp36 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
43 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
47 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
65 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
68 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
87 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
92 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
110 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
113 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
156 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurfac
[all...]
H A DGLTest.cpp34 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
36 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
40 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion));
46 EXPECT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(), &mGlConfig, 1,
77 mEglSurface = createWindowSurface(mEglDisplay, mGlConfig, window);
84 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig,
90 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
95 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
100 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w));
102 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurfac
[all...]
H A DSRGB_test.cpp57 mEglDisplay(EGL_NO_DISPLAY), mEglConfig(),
63 if (mEglDisplay != EGL_NO_DISPLAY) {
65 eglDestroySurface(mEglDisplay, mEglSurface);
68 eglDestroyContext(mEglDisplay, mEglContext);
70 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
72 eglTerminate(mEglDisplay);
238 EGLDisplay mEglDisplay; member in class:android::SRGBTest
250 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
252 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
254 EXPECT_TRUE(eglInitialize(mEglDisplay, NUL
[all...]
H A DSurfaceTextureMultiContextGL_test.cpp36 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
106 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
122 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
152 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
183 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
210 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
279 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
298 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
306 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
332 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurfac
[all...]
H A DGLTest.h38 mEglDisplay(EGL_NO_DISPLAY),
62 EGLDisplay mEglDisplay; member in class:android::GLTest
H A DSurfaceTextureClient_test.cpp38 mEglDisplay(EGL_NO_DISPLAY),
60 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
62 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
65 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion));
70 EXPECT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(),
79 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs);
83 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0);
87 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext));
96 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
97 eglDestroyContext(mEglDisplay, mEglContex
120 EGLDisplay mEglDisplay; member in class:android::SurfaceTextureClientTest
772 EGLDisplay mEglDisplay; member in class:android::MultiSurfaceTextureClientTest
[all...]
H A DSurfaceTextureGLThreadToGL.h172 producerThread->setEglObjects(mEglDisplay, mProducerEglSurface,
H A DSurfaceTextureGLThreadToGL_test.cpp169 eglSwapBuffers(mEglDisplay, mEglSurface);
/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/av/cmds/screenrecord/
H A DEglWindow.cpp53 mEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, anw.get(),
82 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mEglConfig, pbufferAttribs);
93 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
103 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
104 if (mEglDisplay == EGL_NO_DISPLAY) {
110 result = eglInitialize(mEglDisplay, &majorVersion, &minorVersion);
137 result = eglChooseConfig(mEglDisplay,
149 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT,
161 if (mEglDisplay != EGL_NO_DISPLAY) {
162 eglMakeCurrent(mEglDisplay, EGL_NO_SURFAC
[all...]
H A DEglWindow.h35 mEglDisplay(EGL_NO_DISPLAY),
75 EGLDisplay mEglDisplay; member in class:android::EglWindow
/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.h255 return releaseBufferLocked(slot, graphicBuffer, mEglDisplay, eglFence);
271 // to mEglDisplay and mEglContext. If the fields have been previously
324 EGLDisplay mEglDisplay; member in class:android::GLConsumer::EglImage
439 // mEglDisplay is the EGLDisplay with which this GLConsumer is currently
443 EGLDisplay mEglDisplay; member in class:android::GLConsumer
/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/native/libs/gui/
H A DGLConsumer.cpp144 mEglDisplay(EGL_NO_DISPLAY),
171 mEglDisplay(EGL_NO_DISPLAY),
276 err = syncForReleaseLocked(mEglDisplay);
286 err = releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, mEglDisplay, EGL_NO_SYNC_KHR);
388 mEglDisplay, EGL_NO_SYNC_KHR);
396 mEglDisplay, EGL_NO_SYNC_KHR);
405 err = mEglSlots[buf].mEglImage->createIfNeeded(mEglDisplay, item.mCrop);
408 mEglDisplay, buf);
410 mEglDisplay, EGL_NO_SYNC_KHR);
415 err = syncForReleaseLocked(mEglDisplay);
[all...]
H A DBufferQueueCore.cpp220 eglDestroySyncKHR(mSlots[slot].mEglDisplay, mSlots[slot].mEglFence);
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp57 mEglDisplay(EGL_NO_DISPLAY),
64 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
66 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
70 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion));
76 EXPECT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(), &mGlConfig,
108 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
117 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
123 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
128 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
133 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurfac
341 EGLDisplay mEglDisplay; member in class:android::GLTest
[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/services/core/java/com/android/server/display/
H A DColorFade.java87 private EGLDisplay mEglDisplay; field in class:ColorFade
384 EGL14.eglSwapBuffers(mEglDisplay, mEglSurface);
497 if (mEglDisplay == null) {
498 mEglDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY);
499 if (mEglDisplay == EGL14.EGL_NO_DISPLAY) {
505 if (!EGL14.eglInitialize(mEglDisplay, version, 0, version, 1)) {
506 mEglDisplay = null;
524 if (!EGL14.eglChooseConfig(mEglDisplay, eglConfigAttribList, 0,
537 mEglContext = EGL14.eglCreateContext(mEglDisplay, mEglConfig,
591 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfi
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java124 private EGLDisplay mEglDisplay; field in class:ImageWallpaper.DrawableEngine
564 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
679 mEgl.eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
680 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
681 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
682 mEgl.eglTerminate(mEglDisplay);
688 mEglDisplay = mEgl.eglGetDisplay(EGL_DEFAULT_DISPLAY);
689 if (mEglDisplay == EGL_NO_DISPLAY) {
695 if (!mEgl.eglInitialize(mEglDisplay, version)) {
705 mEglContext = createContext(mEgl, mEglDisplay, mEglConfi
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java1006 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
1008 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) {
1016 if(!mEgl.eglInitialize(mEglDisplay, version)) {
1024 mEglConfig = view.mEGLConfigChooser.chooseConfig(mEgl, mEglDisplay);
1030 mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig);
1059 if (mEglDisplay == null) {
1078 mEglDisplay, mEglConfig, view.getHolder());
1095 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
1140 if (! mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
1155 mEgl.eglMakeCurrent(mEglDisplay, EGL1
1206 EGLDisplay mEglDisplay; field in class:GLSurfaceView.EglHelper
[all...]

Completed in 320 milliseconds

12