Home
last modified time | relevance | path

Searched refs:EGL_NO_DISPLAY (Results 1 – 25 of 207) sorted by relevance

123456789

/third_party/flutter/engine/flutter/shell/platform/windows/
Dangle_surface_manager.cc11 egl_display_(EGL_NO_DISPLAY), in AngleSurfaceManager()
80 if (egl_display_ == EGL_NO_DISPLAY) { in Initialize()
91 if (egl_display_ == EGL_NO_DISPLAY) { in Initialize()
102 if (egl_display_ == EGL_NO_DISPLAY) { in Initialize()
133 if (egl_display_ != EGL_NO_DISPLAY && egl_context_ != EGL_NO_CONTEXT) { in CleanUp()
138 if (egl_display_ != EGL_NO_DISPLAY) { in CleanUp()
140 egl_display_ = EGL_NO_DISPLAY; in CleanUp()
173 if (egl_display_ != EGL_NO_DISPLAY && surface != EGL_NO_SURFACE) { in DestroySurface()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/
Dgstgldisplay_egl.c136 EGLDisplay ret = EGL_NO_DISPLAY; in gst_gl_display_egl_get_from_native()
139 g_return_val_if_fail (type != GST_GL_DISPLAY_TYPE_NONE, EGL_NO_DISPLAY); in gst_gl_display_egl_get_from_native()
141 || (type == GST_GL_DISPLAY_TYPE_ANY && display == 0), EGL_NO_DISPLAY); in gst_gl_display_egl_get_from_native()
149 egl_exts = eglQueryString (EGL_NO_DISPLAY, EGL_EXTENSIONS); in gst_gl_display_egl_get_from_native()
175 if (ret == EGL_NO_DISPLAY && (type & GST_GL_DISPLAY_TYPE_X11) && in gst_gl_display_egl_get_from_native()
183 if (ret == EGL_NO_DISPLAY && (type & GST_GL_DISPLAY_TYPE_WAYLAND) && in gst_gl_display_egl_get_from_native()
191 if (ret == EGL_NO_DISPLAY && (type & GST_GL_DISPLAY_TYPE_GBM) && in gst_gl_display_egl_get_from_native()
199 if (ret == EGL_NO_DISPLAY && (type & GST_GL_DISPLAY_TYPE_EGL) && in gst_gl_display_egl_get_from_native()
228 if (ret == EGL_NO_DISPLAY && (type & GST_GL_DISPLAY_TYPE_EGL_DEVICE) && in gst_gl_display_egl_get_from_native()
237 if (ret != EGL_NO_DISPLAY) in gst_gl_display_egl_get_from_native()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLDisplayLuidTest.cpp17 EGLDisplayLuidTest() : mDisplay(EGL_NO_DISPLAY) {} in EGLDisplayLuidTest()
21 if (mDisplay != EGL_NO_DISPLAY) in testTearDown()
32 EGL_NO_DISPLAY); in testInvalidAttribs()
42 EXPECT_NE(mDisplay, EGL_NO_DISPLAY); in testValidAttribs()
DEGLQueryContextTest.cpp23 EXPECT_TRUE(mDisplay != EGL_NO_DISPLAY); in testSetUp()
55 if (mDisplay != EGL_NO_DISPLAY) in testTearDown()
68 EGLDisplay mDisplay = EGL_NO_DISPLAY;
121 EXPECT_TRUE(eglQueryContext(EGL_NO_DISPLAY, mContext, EGL_CONTEXT_CLIENT_TYPE, &val) == in TEST_P()
133 mDisplay = EGL_NO_DISPLAY; in TEST_P()
DEGLDeviceTest.cpp35 mDisplay(EGL_NO_DISPLAY), in EGLDeviceCreationTest()
61 static_cast<const char *>(eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS)); in testSetUp()
91 if (mDisplay != EGL_NO_DISPLAY) in testTearDown()
94 mDisplay = EGL_NO_DISPLAY; in testTearDown()
236 ASSERT_NE(EGL_NO_DISPLAY, mDisplay); in TEST_P()
265 ASSERT_NE(EGL_NO_DISPLAY, display1); in TEST_P()
268 ASSERT_NE(EGL_NO_DISPLAY, display2); in TEST_P()
DEGLFeatureControlTest.cpp19 void testSetUp() override { mDisplay = EGL_NO_DISPLAY; } in testSetUp()
23 if (mDisplay != EGL_NO_DISPLAY) in testTearDown()
41 EXPECT_NE(mDisplay, EGL_NO_DISPLAY); in initTest()
55 EXPECT_EQ(nullptr, eglQueryStringiANGLE(EGL_NO_DISPLAY, EGL_FEATURE_NAME_ANGLE, 0)); in TEST_P()
177 ASSERT_TRUE(dpy_override != EGL_NO_DISPLAY); in TEST_P()
DEGLSyncControlTest.cpp43 static_cast<const char *>(eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS)); in SetUp()
72 if (mDisplay != EGL_NO_DISPLAY) in TearDown()
75 mDisplay = EGL_NO_DISPLAY; in TearDown()
112 ASSERT_TRUE(mDisplay != EGL_NO_DISPLAY); in InitializeDisplay()
167 EGLDisplay mDisplay = EGL_NO_DISPLAY;
DEGLNoConfigContextTest.cpp23 EGLNoConfigContextTest() : mDisplay(EGL_NO_DISPLAY), mContext(EGL_NO_CONTEXT) {} in EGLNoConfigContextTest()
32 EXPECT_TRUE(mDisplay != EGL_NO_DISPLAY); in testSetUp()
48 if (mDisplay != EGL_NO_DISPLAY) in testTearDown()
61 EGLDisplay mDisplay = EGL_NO_DISPLAY;
DEGLContextSharingTest.cpp45 if (display != EGL_NO_DISPLAY) in testTearDown()
74 if (mDisplay != EGL_NO_DISPLAY) in testTearDown()
91 mDisplay = EGL_NO_DISPLAY; in testTearDown()
149 EGLDisplay mDisplay = EGL_NO_DISPLAY;
660 EXPECT_TRUE(mDisplay != EGL_NO_DISPLAY); in TEST_P()
712 EXPECT_TRUE(mDisplay != EGL_NO_DISPLAY); in TEST_P()
730 mDisplay = EGL_NO_DISPLAY; in TEST_P()
748 mDisplay = EGL_NO_DISPLAY; in TEST_P()
771 EXPECT_TRUE(mDisplay != EGL_NO_DISPLAY); in TEST_P()
823 EXPECT_TRUE(mDisplay != EGL_NO_DISPLAY); in TEST_P()
[all …]
/third_party/vk-gl-cts/modules/egl/
DteglNegativeApiTests.cpp174 expectFalse(eglBindTexImage(EGL_NO_DISPLAY, EGL_NO_SURFACE, EGL_BACK_BUFFER)); in init()
211 expectFalse(eglCopyBuffers(EGL_NO_DISPLAY, EGL_NO_SURFACE, pixmap->getLegacyNative())); in init()
259 …expectFalse(eglChooseConfig(EGL_NO_DISPLAY, s_emptyAttribList, &configs[0], DE_LENGTH_OF_ARRAY(con… in init()
295 expectNoContext(eglCreateContext(EGL_NO_DISPLAY, DE_NULL, EGL_NO_CONTEXT, s_emptyAttribList)); in init()
495 …expectNoSurface(eglCreatePbufferFromClientBuffer(EGL_NO_DISPLAY, EGL_OPENVG_IMAGE, 0, (EGLConfig)0… in init()
565 expectNoSurface(eglCreatePbufferSurface(EGL_NO_DISPLAY, DE_NULL, s_emptyAttribList)); in init()
680 expectNoSurface(eglCreatePixmapSurface(EGL_NO_DISPLAY, DE_NULL, DE_NULL, s_emptyAttribList)); in init()
710 …expectNoSurface(eglCreateWindowSurface(EGL_NO_DISPLAY, config, window->getLegacyNative(), s_emptyA… in init()
727 expectFalse(eglDestroyContext(EGL_NO_DISPLAY, DE_NULL)); in init()
753 expectFalse(eglDestroySurface(EGL_NO_DISPLAY, DE_NULL)); in init()
[all …]
DteglSimpleConfigCase.cpp47 , m_display (EGL_NO_DISPLAY) in SimpleConfigCase()
59 DE_ASSERT(m_display == EGL_NO_DISPLAY && m_configs.empty()); in init()
77 m_display = EGL_NO_DISPLAY; in init()
90 if (m_display != EGL_NO_DISPLAY) in deinit()
93 m_display = EGL_NO_DISPLAY; in deinit()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLDeviceTest.cpp35 mDisplay(EGL_NO_DISPLAY), in EGLDeviceCreationTest()
61 static_cast<const char *>(eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS)); in testSetUp()
90 if (mDisplay != EGL_NO_DISPLAY) in testTearDown()
93 mDisplay = EGL_NO_DISPLAY; in testTearDown()
248 ASSERT_NE(EGL_NO_DISPLAY, mDisplay); in TEST_P()
277 ASSERT_TRUE(mDisplay != EGL_NO_DISPLAY); in TEST_P()
338 ASSERT_NE(EGL_NO_DISPLAY, display1); in TEST_P()
341 ASSERT_NE(EGL_NO_DISPLAY, display2); in TEST_P()
DEGLSyncControlTest.cpp43 static_cast<const char *>(eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS)); in SetUp()
72 if (mDisplay != EGL_NO_DISPLAY) in TearDown()
75 mDisplay = EGL_NO_DISPLAY; in TearDown()
112 ASSERT_TRUE(mDisplay != EGL_NO_DISPLAY); in InitializeDisplay()
167 EGLDisplay mDisplay = EGL_NO_DISPLAY;
DEGLFeatureControlTest.cpp19 void testSetUp() override { mDisplay = EGL_NO_DISPLAY; } in testSetUp()
23 if (mDisplay != EGL_NO_DISPLAY) in testTearDown()
41 EXPECT_NE(mDisplay, EGL_NO_DISPLAY); in initTest()
55 EXPECT_EQ(nullptr, eglQueryStringiANGLE(EGL_NO_DISPLAY, EGL_FEATURE_NAME_ANGLE, 0)); in TEST_P()
175 ASSERT_TRUE(dpy_override != EGL_NO_DISPLAY); in TEST_P()
DEGLQueryContextTest.cpp23 EXPECT_TRUE(mDisplay != EGL_NO_DISPLAY); in testSetUp()
52 if (mDisplay != EGL_NO_DISPLAY) in testTearDown()
113 EXPECT_TRUE(eglQueryContext(EGL_NO_DISPLAY, mContext, EGL_CONTEXT_CLIENT_TYPE, &val) == in TEST_P()
125 mDisplay = EGL_NO_DISPLAY; in TEST_P()
/third_party/skia/tools/gpu/gl/command_buffer/
DGLTestContext_command_buffer.cpp35 #define EGL_NO_DISPLAY ((EGLDisplay)0) macro
150 return EGL_NO_DISPLAY; in CurrentDisplay()
190 EGLDisplay fDisplay = EGL_NO_DISPLAY;
220 : fContext(EGL_NO_CONTEXT), fDisplay(EGL_NO_DISPLAY), fSurface(EGL_NO_SURFACE) { in CommandBufferGLTestContext()
258 if (EGL_NO_DISPLAY == fDisplay) { in CommandBufferGLTestContext()
343 if (EGL_NO_DISPLAY == fDisplay) { in destroyGLContext()
364 fDisplay = EGL_NO_DISPLAY; in destroyGLContext()
/third_party/flutter/skia/tools/gpu/gl/command_buffer/
DGLTestContext_command_buffer.cpp35 #define EGL_NO_DISPLAY ((EGLDisplay)0) macro
150 return EGL_NO_DISPLAY; in CurrentDisplay()
190 EGLDisplay fDisplay = EGL_NO_DISPLAY;
220 : fContext(EGL_NO_CONTEXT), fDisplay(EGL_NO_DISPLAY), fSurface(EGL_NO_SURFACE) { in CommandBufferGLTestContext()
244 if (EGL_NO_DISPLAY == fDisplay) { in CommandBufferGLTestContext()
316 if (EGL_NO_DISPLAY == fDisplay) { in destroyGLContext()
337 fDisplay = EGL_NO_DISPLAY; in destroyGLContext()
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/
DEGL_EXT_client_extensions.txt125 If <dpy> is EGL_NO_DISPLAY, then the EGL_EXTENSIONS string describes the set
137 <dpy> is not a valid display, unless <dpy> is EGL_NO_DISPLAY and <name> is
144 1. Before any call to eglGetDisplay, call `eglQueryString(EGL_NO_DISPLAY,
157 extensions by calling `eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS)`.
165 `eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS)` returns
169 2. On EGL platforms that define EGL_NO_DISPLAY as NULL, does not calling
170 `eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS)` risk a null pointer
175 `eglQueryString(EGL_NO_DISPLAY, name)` returns NULL and generates
177 platform defines EGL_NO_DISPLAY as NULL.
180 `eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS)`?
[all …]
/third_party/EGL/extensions/EXT/
DEGL_EXT_client_extensions.txt125 If <dpy> is EGL_NO_DISPLAY, then the EGL_EXTENSIONS string describes the set
137 <dpy> is not a valid display, unless <dpy> is EGL_NO_DISPLAY and <name> is
144 1. Before any call to eglGetDisplay, call `eglQueryString(EGL_NO_DISPLAY,
157 extensions by calling `eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS)`.
165 `eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS)` returns
169 2. On EGL platforms that define EGL_NO_DISPLAY as NULL, does not calling
170 `eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS)` risk a null pointer
175 `eglQueryString(EGL_NO_DISPLAY, name)` returns NULL and generates
177 platform defines EGL_NO_DISPLAY as NULL.
180 `eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS)`?
[all …]
/third_party/flutter/skia/tools/sk_app/win/
DANGLEWindowContext_win.cpp30 return EGL_NO_DISPLAY; in get_angle_egl_display()
52 EGLDisplay fDisplay = EGL_NO_DISPLAY;
69 if (EGL_NO_DISPLAY == fDisplay) { in onInitializeContext()
154 if (EGL_NO_DISPLAY != fDisplay) { in onDestroyContext()
/third_party/skia/tools/sk_app/win/
DANGLEWindowContext_win.cpp30 return EGL_NO_DISPLAY; in get_angle_egl_display()
52 EGLDisplay fDisplay = EGL_NO_DISPLAY;
69 if (EGL_NO_DISPLAY == fDisplay) { in onInitializeContext()
154 if (EGL_NO_DISPLAY != fDisplay) { in onDestroyContext()
/third_party/flutter/skia/third_party/externals/angle2/util/
DEGLWindow.cpp56 mDisplay(EGL_NO_DISPLAY), in EGLWindow()
140 static_cast<const char *>(eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS)); in initializeDisplay()
177 if (mDisplay == EGL_NO_DISPLAY) in initializeDisplay()
475 if (mDisplay != EGL_NO_DISPLAY) in destroyGL()
479 mDisplay = EGL_NO_DISPLAY; in destroyGL()
488 assert(mDisplay != EGL_NO_DISPLAY); in destroySurface()
499 assert(mDisplay != EGL_NO_DISPLAY); in destroyContext()
507 return mSurface != EGL_NO_SURFACE && mContext != EGL_NO_CONTEXT && mDisplay != EGL_NO_DISPLAY; in isGLInitialized()
/third_party/skia/third_party/externals/imgui/examples/example_android_opengl3/
Dmain.cpp14 static EGLDisplay g_EglDisplay = EGL_NO_DISPLAY;
38 if (g_EglDisplay == EGL_NO_DISPLAY) in init()
128 if (g_EglDisplay == EGL_NO_DISPLAY) in tick()
207 if (g_EglDisplay != EGL_NO_DISPLAY) in shutdown()
220 g_EglDisplay = EGL_NO_DISPLAY; in shutdown()
/third_party/flutter/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp72 return EGL_NO_DISPLAY; in get_angle_egl_display()
195 if (EGL_NO_DISPLAY == fDisplay) { in ANGLEGLContext()
236 SkASSERT(EGL_NO_DISPLAY == fDisplay); in ANGLEGLContext()
239 if (EGL_NO_DISPLAY == fDisplay) { in ANGLEGLContext()
414 if (EGL_NO_DISPLAY != fDisplay) { in destroyGLContext()
435 fDisplay = EGL_NO_DISPLAY; in destroyGLContext()
/third_party/flutter/engine/flutter/shell/platform/android/
Dandroid_environment_gl.cc10 : display_(EGL_NO_DISPLAY), valid_(false) { in AndroidEnvironmentGL()
14 if (display_ == EGL_NO_DISPLAY) { in AndroidEnvironmentGL()

123456789