Home
last modified time | relevance | path

Searched refs:m_display (Results 1 – 25 of 38) sorted by relevance

12

/third_party/vk-gl-cts/modules/egl/
DteglThreadCleanUpTests.cpp63 , m_display (display) in Thread()
76 m_egl.makeCurrent(m_display, m_surface, m_surface, context); in testContext()
87 …const eglu::UniqueSurface surface (m_egl, m_display, m_egl.createPbufferSurface(m_display, m_confi… in testContext()
90 m_egl.makeCurrent(m_display, *surface, *surface, context); in testContext()
109 …const eglu::UniqueContext context (m_egl, m_display, m_egl.createContext(m_display, m_config, EGL_… in run()
129 const EGLDisplay m_display; member in deqp::egl::__anon06d1c3f50111::Thread
175 , m_display (EGL_NO_DISPLAY) in ThreadCleanUpTest()
191 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
196 m_config = eglu::chooseSingleConfig(egl, m_display, filters); in init()
209 m_context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList); in init()
[all …]
DteglMultiThreadTests.cpp170 EGLDisplay m_display; member in deqp::egl::MultiThreadedTest
266 , m_display (EGL_NO_DISPLAY) in MultiThreadedTest()
279 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
284 if (m_display != EGL_NO_DISPLAY) in deinit()
286 m_eglTestCtx.getLibrary().terminate(m_display); in deinit()
287 m_display = EGL_NO_DISPLAY; in deinit()
550 result = egl.getConfigs(m_display, NULL, 0, &configCount); in runThread()
551 …thread.getLog() << ThreadLog::BeginMessage << result << " = eglGetConfigs(" << m_display << ", NUL… in runThread()
565 …result = egl.getConfigs(m_display, &(configs[configs.size() - configCount]), configCount, &configC… in runThread()
566 …thread.getLog() << ThreadLog::BeginMessage << result << " = eglGetConfigs(" << m_display << ", &co… in runThread()
[all …]
DteglSimpleConfigCase.cpp47 , m_display (EGL_NO_DISPLAY) in SimpleConfigCase()
59 DE_ASSERT(m_display == EGL_NO_DISPLAY && m_configs.empty()); in init()
61 m_display = getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
62 m_configs = chooseConfigs(egl, m_display, m_filters); in init()
69 configIds[ndx] = getConfigID(egl, m_display, m_configs[ndx]); in init()
76 egl.terminate(m_display); in init()
77 m_display = EGL_NO_DISPLAY; in init()
90 if (m_display != EGL_NO_DISPLAY) in deinit()
92 m_eglTestCtx.getLibrary().terminate(m_display); in deinit()
93 m_display = EGL_NO_DISPLAY; in deinit()
[all …]
DteglImageTests.cpp155 , m_display (EGL_NO_DISPLAY) in ImageTestCase()
161 DE_ASSERT(m_display == EGL_NO_DISPLAY); in init()
162 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
170 m_eglTestCtx.getLibrary().terminate(m_display); in deinit()
171 m_display = EGL_NO_DISPLAY; in deinit()
182 EGLDisplay m_display; member in deqp::egl::Image::ImageTestCase
213 if (eglu::getVersion(egl, m_display) < eglu::Version(1, 5) && in iterate()
214 !eglu::hasExtension(egl, m_display, "EGL_KHR_image") && in iterate()
215 !eglu::hasExtension(egl, m_display, "EGL_KHR_image_base")) in iterate()
220 if (eglu::getVersion(egl, m_display) >= eglu::Version(1, 5)) in iterate()
[all …]
DteglResizeTests.cpp107 , m_display (EGL_NO_DISPLAY) in ResizeTest()
121 EGLDisplay m_display; member in deqp::egl::ResizeTest
191 m_display = eglDisplay; in init()
203 if (m_display != EGL_NO_DISPLAY) in deinit()
205 m_eglTestCtx.getLibrary().terminate(m_display); in deinit()
206 m_display = EGL_NO_DISPLAY; in deinit()
351 ScopedCurrentContext currentCtx (egl, m_display, **m_surface, **m_surface, **m_context); in iterate()
352 egl.swapBuffers(m_display, **m_surface); in iterate()
354 m_display, in iterate()
364 egl.swapBuffers(m_display, **m_surface); in iterate()
[all …]
DteglQueryConfigTests.cpp86 , m_display (EGL_NO_DISPLAY) in GetConfigsBoundsCase()
92 DE_ASSERT(m_display == EGL_NO_DISPLAY); in init()
93 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
99 m_eglTestCtx.getLibrary().terminate(m_display); in deinit()
100 m_display = EGL_NO_DISPLAY; in deinit()
117 eglGetConfigs(m_display, &buffer[0], numConfigRequested, &numConfigReturned); in checkGetConfigsBounds()
163 eglGetConfigs(m_display, 0, 0, &numConfigAll); in iterate()
191 EGLDisplay m_display; member in deqp::egl::GetConfigsBoundsCase
208 EGLDisplay m_display; member in deqp::egl::GetConfigAttribCase
218 , m_display (EGL_NO_DISPLAY) in GetConfigAttribCase()
[all …]
DteglMemoryStressTests.cpp86 EGLDisplay m_display; member in deqp::egl::__anon168852920111::MemoryAllocator
107 , m_display (display) in MemoryAllocator()
128 egl.destroySurface(m_display, *iter); in ~MemoryAllocator()
133 egl.destroyContext(m_display, *iter); in ~MemoryAllocator()
209 EGLSurface surface = egl.createPbufferSurface(m_display, m_config, attribList); in allocatePBuffer()
224 EGLU_CHECK_CALL(egl, makeCurrent(m_display, surface, surface, context)); in allocatePBuffer()
232 EGLU_CHECK_CALL(egl, makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in allocatePBuffer()
273 EGLContext context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList); in allocateContext()
288 EGLU_CHECK_CALL(egl, makeCurrent(m_display, surface, surface, context)); in allocateContext()
296 EGLU_CHECK_CALL(egl, makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in allocateContext()
[all …]
DteglInfoTests.cpp60 , m_display (EGL_NO_DISPLAY) in InfoCase()
67 DE_ASSERT(m_display == EGL_NO_DISPLAY); in init()
68 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay(), &m_version); in init()
73 m_eglTestCtx.getLibrary().terminate(m_display); in deinit()
74 m_display = EGL_NO_DISPLAY; in deinit()
78 EGLDisplay m_display; member in deqp::egl::InfoCase
126 const char* result = egl.queryString(m_display, m_query); in iterate()
152 vector<string> extensions = eglu::getDisplayExtensions(egl, m_display); in iterate()
DteglMakeCurrentPerfTests.cpp96 EGLDisplay m_display; member in deqp::egl::MakeCurrentPerfCase
161 , m_display (EGL_NO_DISPLAY) in MakeCurrentPerfCase()
173 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
185 if (m_display != EGL_NO_DISPLAY) in deinit()
187 m_eglTestCtx.getLibrary().terminate(m_display); in deinit()
188 m_display = EGL_NO_DISPLAY; in deinit()
207 EGLU_CHECK_CALL(egl, chooseConfig(m_display, attribList, &m_config, 1, &configCount)); in chooseConfig()
265 EGLSurface surface = egl.createPbufferSurface(m_display, m_config, attribList); in createPBuffer()
285 …window = windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_display, m_config, DE_NULL… in createWindow()
286 …surface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *window, m_display, m_config,… in createWindow()
[all …]
DteglCreateContextExtTests.cpp199 EGLDisplay m_display; member in deqp::egl::__anonbc27e39f0111::CreateContextExtCase
281 , m_display (EGL_NO_DISPLAY) in CreateContextExtCase()
293 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
294 m_configs = eglu::chooseConfigs(m_eglTestCtx.getLibrary(), m_display, m_filter); in init()
302 if (m_display != EGL_NO_DISPLAY) in deinit()
304 m_eglTestCtx.getLibrary().terminate(m_display); in deinit()
305 m_display = EGL_NO_DISPLAY; in deinit()
372 vector<string> extensions = eglu::getDisplayExtensions(m_eglTestCtx.getLibrary(), m_display); in checkRequiredExtensions()
890 const EGLint surfaceTypes = eglu::getConfigAttribInt(egl, m_display, config, EGL_SURFACE_TYPE); in iterate()
891 const EGLint configId = eglu::getConfigAttribInt(egl, m_display, config, EGL_CONFIG_ID); in iterate()
[all …]
DteglChooseConfigTests.cpp116 , m_display (EGL_NO_DISPLAY) in ChooseConfigCase()
130 , m_display (EGL_NO_DISPLAY) in ChooseConfigCase()
136 DE_ASSERT(m_display == EGL_NO_DISPLAY); in init()
137 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
142 m_eglTestCtx.getLibrary().terminate(m_display); in deinit()
143 m_display = EGL_NO_DISPLAY; in deinit()
157 , m_display (EGL_NO_DISPLAY) in ChooseConfigCase()
186 EGLU_CHECK_CALL(egl, chooseConfig(m_display, &attribList[0], DE_NULL, 0, &numConfigs)); in executeTest()
190 …EGLU_CHECK_CALL(egl, chooseConfig(m_display, &attribList[0], &resultConfigs[0], (EGLint)resultConf… in executeTest()
194 chooseConfigReference(egl, m_display, referenceConfigs, attributes); in executeTest()
[all …]
DteglApiCase.cpp43 , m_display (EGL_NO_DISPLAY) in ApiCase()
53 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
54 m_supportedClientAPIs = eglu::getClientAPIs(m_eglTestCtx.getLibrary(), m_display); in init()
60 egl.terminate(m_display); in deinit()
62 m_display = EGL_NO_DISPLAY; in deinit()
163 *config = eglu::chooseSingleConfig(m_eglTestCtx.getLibrary(), m_display, filters); in getConfig()
DteglGetProcAddressTests.cpp95 EGLDisplay m_display; member in deqp::egl::GetProcAddressCase
105 , m_display (EGL_NO_DISPLAY) in GetProcAddressCase()
125 DE_ASSERT(m_display == EGL_NO_DISPLAY); in init()
127 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init()
132 std::vector<std::string> tokens = de::splitString(eglQueryString(m_display, EGL_VERSION), ' '); in init()
138 …r<std::string> displayExtensios = eglu::getDisplayExtensions(m_eglTestCtx.getLibrary(), m_display); in init()
147 m_eglTestCtx.getLibrary().terminate(m_display); in deinit()
148 m_display = EGL_NO_DISPLAY; in deinit()
272 …return (eglu::getRenderableAPIsMask(m_eglTestCtx.getLibrary(), m_display) & renderableType) == ren… in isApiSupported()
/third_party/vk-gl-cts/framework/egl/
DegluUnique.cpp35 , m_display (display) in UniqueDisplay()
41 if (m_display != EGL_NO_DISPLAY) in ~UniqueDisplay()
42 m_egl.terminate(m_display); in ~UniqueDisplay()
47 return m_display != EGL_NO_DISPLAY; in operator bool()
52 , m_display (display) in UniqueSurface()
60 m_egl.destroySurface(m_display, m_surface); in ~UniqueSurface()
70 , m_display (display) in UniqueContext()
78 m_egl.destroyContext(m_display, m_context); in ~UniqueContext()
88 , m_display (display) in ScopedCurrentContext()
95 m_egl.makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~ScopedCurrentContext()
[all …]
DegluUnique.hpp43 eglw::EGLDisplay operator* (void) const { return m_display; } in operator *()
48 eglw::EGLDisplay m_display; member in eglu::UniqueDisplay
66 eglw::EGLDisplay m_display; member in eglu::UniqueSurface
85 eglw::EGLDisplay m_display; member in eglu::UniqueContext
101 eglw::EGLDisplay m_display; member in eglu::ScopedCurrentContext
115 eglw::EGLDisplay m_display; member in eglu::UniqueImage
DegluGLContextFactory.cpp144 virtual const eglw::Library& getLibrary (void) const { return m_display->getLibrary(); } in getLibrary()
157 de::SharedPtr<NativeDisplay> m_display; member in eglu::__anon0ccb36880111::RenderContext
175 , m_display (DE_NULL) in RenderContext()
300 const Library& egl = m_display->getLibrary(); in makeCurrent()
307 return (glw::GenericFuncType)m_display->getLibrary().getProcAddress(name); in getProcAddress()
317 m_display = de::SharedPtr<NativeDisplay>(displayFactory->createDisplay()); in create()
322 m_display = context->m_display; in create()
325 m_eglDisplay = eglu::getDisplay(*m_display); in create()
326 const Library& egl = m_display->getLibrary(); in create()
357 …const WindowSurfacePair windowSurface = createWindow(m_display.get(), windowFactory, m_eglDisplay,… in create()
[all …]
/third_party/vk-gl-cts/framework/platform/lnx/X11/
DtcuLnxX11Xcb.cpp80 , m_display (display) in XcbWindow()
82 xcb_connection_t* connection = m_display.getConnection(); in XcbWindow()
88 visual = &m_display.getScreen()->root_visual; in XcbWindow()
90 values[0] = m_display.getScreen()->white_pixel; in XcbWindow()
123 xcb_flush (m_display.getConnection()); in ~XcbWindow()
124 xcb_free_colormap(m_display.getConnection(), m_colormap); in ~XcbWindow()
125 xcb_destroy_window(m_display.getConnection(), m_window); in ~XcbWindow()
134 xcb_map_window(m_display.getConnection(), m_window); in setVisibility()
136 xcb_unmap_window(m_display.getConnection(), m_window); in setVisibility()
139 xcb_flush (m_display.getConnection()); in setVisibility()
[all …]
DtcuLnxX11.cpp83 m_display = XOpenDisplay((char*)name); // Won't modify argument string. in XlibDisplay()
84 if (!m_display) in XlibDisplay()
87 m_deleteAtom = XInternAtom(m_display, "WM_DELETE_WINDOW", False); in XlibDisplay()
92 XCloseDisplay(m_display); in ~XlibDisplay()
113 while (XPending(m_display)) in processEvents()
115 XNextEvent(m_display, &event); in processEvents()
125 XVisualInfo* response = XGetVisualInfo(m_display, VisualIDMask, &query, &numVisuals); in getVisualInfo()
153 , m_display (display) in XlibWindow()
158 ::Display* const dpy = m_display.getXDisplay(); in XlibWindow()
214 Atom deleteAtom = m_display.getDeleteAtom(); in XlibWindow()
[all …]
DtcuLnxX11GlxPlatform.cpp131 GlxDisplay& getGlxDisplay (void) { return m_display; } in getGlxDisplay()
132 ::Display* getXDisplay (void) { return m_display.getXDisplay(); } in getXDisplay()
135 GlxDisplay& m_display; member in tcu::lnx::x11::glx::GlxVisual
245 const Bool supported = glXQueryExtension(m_display, &m_errorBase, &m_eventBase); in GlxDisplay()
249 TCU_CHECK_GLX(glXQueryVersion(m_display, &m_majorVersion, &m_minorVersion)); in GlxDisplay()
252 const int screen = XDefaultScreen(m_display); in GlxDisplay()
256 TCU_CHECK_GLX(glXQueryServerString(m_display, screen, GLX_EXTENSIONS)); in GlxDisplay()
258 TCU_CHECK_GLX(glXQueryExtensionsString(m_display, screen)); in GlxDisplay()
303 : m_display (display) in GlxVisual()
330 checkGlxVersion(m_display, 1, 4); in createContext()
[all …]
DtcuLnxX11.hpp93 ::Display* getXDisplay (void) { return m_display; } in getXDisplay()
105 ::Display* m_display;
123 DisplayBase& getDisplay (void) { return (DisplayBase&)m_display; } in getDisplay()
130 XlibDisplay& m_display; member in tcu::lnx::x11::XlibWindow
/third_party/vk-gl-cts/framework/platform/lnx/wayland/
DtcuLnxWayland.cpp94 , m_display (DE_NULL) in Display()
101 m_display = wl_display_connect(name); in Display()
102 if (!m_display) in Display()
105 m_registry = wl_display_get_registry(m_display); in Display()
110 wl_display_roundtrip(m_display); in Display()
127 if (m_display) in Display()
128 wl_display_disconnect(m_display); in Display()
145 if (m_display) in ~Display()
146 wl_display_disconnect(m_display); in ~Display()
154 : m_display (display) in Window()
DtcuLnxWayland.hpp50 struct wl_display* getDisplay (void) { return m_display; } in getDisplay()
67 struct wl_display* m_display; member in tcu::lnx::wayland::Display
91 Display& getDisplay (void) { return m_display; } in getDisplay()
100 Display& m_display; member in tcu::lnx::wayland::Window
DtcuLnxWaylandEglDisplayFactory.cpp68 , m_display (waylandDisplay) in Display()
72 wayland::Display& getWaylandDisplay (void) { return *m_display; } in getWaylandDisplay()
73 …acyNative (void) { return reinterpret_cast<eglw::EGLNativeDisplayType>(m_display->getDisplay()); } in getLegacyNative()
74 void* getPlatformNative (void) { return m_display->getDisplay(); } in getPlatformNative()
79 UniquePtr<wayland::Display> m_display; member in tcu::lnx::wayland::egl::Display
/third_party/skia/third_party/externals/swiftshader/tests/regres/deqp-patches/
Ddeqp-x11.patch27 - m_display = XOpenDisplay((char*)name); // Won't modify argument string.
29 + m_display = XOpenDisplay((char*)name); // Won't modify argument string.
30 + if (m_display)
34 if (!m_display)
37 m_deleteAtom = XInternAtom(m_display, "WM_DELETE_WINDOW", False);
/third_party/vk-gl-cts/framework/platform/lnx/
DtcuLnxVulkanPlatform.cpp97 , m_display (display) in VulkanDisplayXlib()
103 x11::XlibDisplay* instance = (x11::XlibDisplay*)(m_display.get()); in createWindow()
110 MovePtr<x11::DisplayBase> m_display; member in tcu::lnx::VulkanDisplayXlib
145 , m_display (display) in VulkanDisplayXcb()
151 x11::XcbDisplay* instance = (x11::XcbDisplay*)(m_display.get()); in createWindow()
158 MovePtr<x11::DisplayBase> m_display; member in tcu::lnx::VulkanDisplayXcb
191 , m_display (display) in VulkanDisplayWayland()
199 …return new VulkanWindowWayland(MovePtr<wayland::Window>(new wayland::Window(*m_display, (int)width… in createWindow()
203 MovePtr<wayland::Display> m_display; member in tcu::lnx::VulkanDisplayWayland

12