HomeSort by relevance Sort by last modified time
    Searched refs:mEglDisplay (Results 1 - 25 of 44) sorted by null

1 2

  /frameworks/native/libs/gui/tests/
SurfaceTextureGLToGL.h 38 mProducerEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
43 mProducerEglContext = eglCreateContext(mEglDisplay, mGlConfig,
51 eglDestroyContext(mEglDisplay, mProducerEglContext);
54 eglDestroySurface(mEglDisplay, mProducerEglSurface);
SurfaceTextureMultiContextGL.h 37 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);
SurfaceTextureGLToGL_test.cpp 36 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, mProducerEglSurface
    [all...]
GLTest.cpp 34 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, mEglSurface, EGL_HEIGHT, &h))
    [all...]
SRGB_test.cpp 51 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;
243 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
245 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
247 EXPECT_TRUE(eglInitialize(mEglDisplay, NULL, NULL))
    [all...]
SurfaceTextureMultiContextGL_test.cpp 36 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, mEglSurface, mEglSurface
    [all...]
SurfaceTextureClient_test.cpp 35 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, mEglContext)
    [all...]
  /cts/tests/tests/nativeopengl/standalone/jni/tests/
EGLCreateContext_test.cpp 50 : mEglDisplay(EGL_NO_DISPLAY),
61 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
62 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
65 ASSERT_TRUE(eglInitialize(mEglDisplay, &major, &minor));
68 ASSERT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(),
73 mEglWindowSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig,
81 eglDestroyContext(mEglDisplay, mEglContext);
84 eglDestroySurface(mEglDisplay, mEglWindowSurface);
86 if (mEglDisplay != EGL_NO_DISPLAY) {
87 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE
    [all...]
GLTest_test.cpp 38 mEglDisplay(EGL_NO_DISPLAY),
45 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
47 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
51 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion));
55 EXPECT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(), &mGlConfig,
70 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
78 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig,
84 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
89 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
94 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w))
    [all...]
EGLCleanup_test.cpp 77 ChainedThread(TestType testType) : mEglDisplay(EGL_NO_DISPLAY),
114 EGLDisplay mEglDisplay;
207 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
245 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
246 if (mEglDisplay == EGL_NO_DISPLAY) {
252 if (!eglInitialize(mEglDisplay, &majorVersion, &minorVersion)) {
259 if (!eglChooseConfig(mEglDisplay, kConfigAttribs, &eglConfig,
265 mEglSurface = eglCreatePbufferSurface(mEglDisplay, eglConfig,
272 mEglContext = eglCreateContext(mEglDisplay, eglConfig, EGL_NO_CONTEXT,
287 if (mEglDisplay == EGL_NO_DISPLAY)
    [all...]
  /frameworks/base/libs/hwui/renderthread/
EglManager.cpp 69 , mEglDisplay(EGL_NO_DISPLAY)
84 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
85 LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY,
89 LOG_ALWAYS_FATAL_IF(eglInitialize(mEglDisplay, &major, &minor) == EGL_FALSE,
90 "Failed to initialize display %p! err=%s", mEglDisplay, egl_error_str());
102 return mEglDisplay != EGL_NO_DISPLAY;
106 LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY, "No EGL context");
131 if (!eglChooseConfig(mEglDisplay, attribs, &mEglConfig, num_configs, &num_configs)
147 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, attribs);
179 LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY
    [all...]
  /frameworks/native/opengl/tests/EGLTest/
EGL_test.cpp 29 EGLDisplay mEglDisplay;
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, config, EGL_BLUE_SIZE, &components[2])
    [all...]
  /frameworks/av/cmds/screenrecord/
EglWindow.cpp 53 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_SURFACE, EGL_NO_SURFACE
    [all...]
EglWindow.h 35 mEglDisplay(EGL_NO_DISPLAY),
75 EGLDisplay mEglDisplay;
  /packages/apps/Camera2/src/com/android/camera/
SurfaceTextureRenderer.java 41 private EGLDisplay mEglDisplay;
57 if (mEglDisplay != null && mEglSurface != null) {
59 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
79 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
80 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
81 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE,
83 mEgl.eglTerminate(mEglDisplay);
86 mEglDisplay = null;
117 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
118 if (mEglDisplay == EGL10.EGL_NO_DISPLAY)
    [all...]
  /cts/tests/tests/textureview/src/android/textureview/cts/
GLProducerThread.java 46 private EGLDisplay mEglDisplay = EGL10.EGL_NO_DISPLAY;
81 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
82 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) {
88 if (!mEgl.eglInitialize(mEglDisplay, version)) {
106 if (!mEgl.eglChooseConfig(mEglDisplay, configAttribs, configs, 1, numConfigs) || numConfigs[0] == 0) {
114 mEglContext = mEgl.eglCreateContext(mEglDisplay, configs[0], EGL10.EGL_NO_CONTEXT, contextAttribs);
116 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, configs[0], mSurfaceTexture, null);
127 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
136 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT);
137 mEgl.eglDestroyContext(mEglDisplay, mEglContext)
    [all...]
  /cts/suite/cts/deviceTests/opengl/jni/graphics/
Renderer.cpp 82 mOffscreen(offscreen), mWindow(window), mEglDisplay(EGL_NO_DISPLAY),
88 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
89 if (EGL_NO_DISPLAY == mEglDisplay || EGL_SUCCESS != eglGetError()) {
95 if (!eglInitialize(mEglDisplay, &major, &minor) || EGL_SUCCESS != eglGetError()) {
100 if (!eglChooseConfig(mEglDisplay, configAttribs, &mGlConfig, 1, &numConfigs)
105 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, mWindow, NULL);
110 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, contextAttribs);
115 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)
120 if (!eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &mWidth)
124 if (!eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &mHeight
    [all...]
  /packages/apps/Camera/src/com/android/camera/
MosaicPreviewRenderer.java 54 private EGLDisplay mEglDisplay;
108 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
120 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
126 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
127 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) {
131 if (!mEgl.eglInitialize(mEglDisplay, version)) {
137 mEglConfig = chooseConfig(mEgl, mEglDisplay);
138 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT,
145 mEglDisplay, mEglConfig, mMosaicOutputSurfaceTexture, null);
150 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext))
    [all...]
  /frameworks/native/include/gui/
BufferSlot.h 35 : mEglDisplay(EGL_NO_DISPLAY),
49 // mEglDisplay is the EGLDisplay used to create EGLSyncKHR objects.
50 EGLDisplay mEglDisplay;
  /frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
BlockingGLTextureView.java 109 EGLDisplay mEglDisplay;
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, mEglSurface))
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/views/
BlockingGLTextureView.java 109 EGLDisplay mEglDisplay;
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, mEglSurface))
    [all...]
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
BlockingGLTextureView.java 109 EGLDisplay mEglDisplay;
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, mEglSurface))
    [all...]
  /cts/suite/cts/deviceTests/opengl/jni/primitive/contextswitch/
ContextSwitchRenderer.cpp 108 mContexts[i] = eglCreateContext(mEglDisplay, mGlConfig, mEglContext, contextAttribs);
113 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mContexts[i])
144 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mContexts[i]);
149 eglDestroyContext(mEglDisplay, mContexts[i]);
153 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
174 EGLSyncKHR fence = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_FENCE_KHR, NULL);
179 eglWaitSyncKHR(mEglDisplay, fence, 0);
180 eglDestroySyncKHR(mEglDisplay, fence);
197 fence = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_FENCE_KHR, NULL);
201 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mContexts[i])
    [all...]
  /packages/screensavers/Basic/src/com/android/dreams/basic/
ColorsGLRenderer.java 69 private EGLDisplay mEglDisplay;
135 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
147 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
158 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) {
164 if (!mEgl.eglInitialize(mEglDisplay, version)) {
174 mEglContext = createContext(mEgl, mEglDisplay, eglConfig);
176 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, eglConfig, mSurface, null);
188 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
195 mEgl.eglDestroyContext(mEglDisplay, mEglContext)
    [all...]
  /frameworks/native/libs/gui/
GLConsumer.cpp 133 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...]

Completed in 2738 milliseconds

1 2