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

12

/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.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...]
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 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 DGLTest.h38 mEglDisplay(EGL_NO_DISPLAY),
62 EGLDisplay mEglDisplay; member in class:android::GLTest
H A DSurfaceTextureGLThreadToGL.h172 producerThread->setEglObjects(mEglDisplay, mProducerEglSurface,
H A DSurfaceTextureGLThreadToGL_test.cpp169 eglSwapBuffers(mEglDisplay, mEglSurface);
/frameworks/base/libs/hwui/renderthread/
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...]
H A DEglManager.h71 EGLDisplay mEglDisplay; member in class:android::uirenderer::renderthread::EglManager
/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.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/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.cpp133 mEglDisplay(EGL_NO_DISPLAY),
160 mEglDisplay(EGL_NO_DISPLAY),
265 err = syncForReleaseLocked(mEglDisplay);
275 err = releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, mEglDisplay, EGL_NO_SYNC_KHR);
375 mEglDisplay, EGL_NO_SYNC_KHR);
383 mEglDisplay, EGL_NO_SYNC_KHR);
392 err = mEglSlots[buf].mEglImage->createIfNeeded(mEglDisplay, item.mCrop);
395 mEglDisplay, buf);
397 mEglDisplay, EGL_NO_SYNC_KHR);
402 err = syncForReleaseLocked(mEglDisplay);
[all...]
H A DBufferQueueCore.cpp202 eglDestroySyncKHR(mSlots[slot].mEglDisplay, mSlots[slot].mEglFence);
/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/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.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 341 milliseconds

12