Home
last modified time | relevance | path

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

12

/external/libkmsxx/kmscube/
Dcube-egl.cpp45 m_display = eglGetDisplay((EGLNativeDisplayType)native_display); in EglState()
46 FAIL_IF(!m_display, "failed to get egl display"); in EglState()
48 b = eglInitialize(m_display, &major, &minor); in EglState()
52 printf("Using display %p with EGL version %d.%d\n", m_display, major, minor); in EglState()
54 printf("EGL_VENDOR: %s\n", eglQueryString(m_display, EGL_VENDOR)); in EglState()
55 printf("EGL_VERSION: %s\n", eglQueryString(m_display, EGL_VERSION)); in EglState()
56 printf("EGL_EXTENSIONS: %s\n", eglQueryString(m_display, EGL_EXTENSIONS)); in EglState()
57 printf("EGL_CLIENT_APIS: %s\n", eglQueryString(m_display, EGL_CLIENT_APIS)); in EglState()
65 b = eglGetConfigs(m_display, nullptr, 0, &numConfigs); in EglState()
69 b = eglGetConfigs(m_display, configs, numConfigs, &numConfigs); in EglState()
[all …]
/external/deqp/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::__anon7752e3e30111::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 …]
/external/deqp/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::__anon715971500111::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 …]
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()
DteglMemoryStressTests.cpp86 EGLDisplay m_display; member in deqp::egl::__anon57d2408d0111::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 …]
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 …]
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()
DteglCreateContextExtTests.cpp199 EGLDisplay m_display; member in deqp::egl::__anon4c5e571a0111::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 …]
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()
276 …return (eglu::getRenderableAPIsMask(m_eglTestCtx.getLibrary(), m_display) & renderableType) == ren… in isApiSupported()
/external/deqp/framework/platform/lnx/X11/
DtcuLnxX11Xcb.cpp77 , m_display (display) in XcbWindow()
79 xcb_connection_t* connection = m_display.getConnection(); in XcbWindow()
85 visual = &m_display.getScreen()->root_visual; in XcbWindow()
87 values[0] = m_display.getScreen()->white_pixel; in XcbWindow()
120 xcb_flush (m_display.getConnection()); in ~XcbWindow()
121 xcb_free_colormap(m_display.getConnection(), m_colormap); in ~XcbWindow()
122 xcb_destroy_window(m_display.getConnection(), m_window); in ~XcbWindow()
131 xcb_map_window(m_display.getConnection(), m_window); in setVisibility()
133 xcb_unmap_window(m_display.getConnection(), m_window); in setVisibility()
136 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 …]
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
/external/deqp/framework/platform/lnx/wayland/
DtcuLnxWayland.cpp90 , m_display (DE_NULL) in Display()
97 m_display = wl_display_connect(name); in Display()
98 if (!m_display) in Display()
101 m_registry = wl_display_get_registry(m_display); in Display()
106 wl_display_roundtrip(m_display); in Display()
123 if (m_display) in Display()
124 wl_display_disconnect(m_display); in Display()
141 if (m_display) in ~Display()
142 wl_display_disconnect(m_display); in ~Display()
150 : m_display (display) in Window()
DtcuLnxWayland.hpp49 struct wl_display* getDisplay (void) { return m_display; } in getDisplay()
66 struct wl_display* m_display; member in tcu::lnx::wayland::Display
90 Display& getDisplay (void) { return m_display; } in getDisplay()
99 Display& m_display; member in tcu::lnx::wayland::Window
/external/rmi4utils/f54test/
Df54test.cpp1421 m_display.Output(buf); in ShowF54Report()
1434 m_display.Output(buf); in ShowF54Report()
1441 m_display.Output(buf); in ShowF54Report()
1445 m_display.Output(buf); in ShowF54Report()
1455 m_display.Output(buf); in ShowF54Report()
1462 m_display.Output(buf); in ShowF54Report()
1466 m_display.Output(buf); in ShowF54Report()
1469 m_display.Output(buf); in ShowF54Report()
1472 m_display.Output(buf); in ShowF54Report()
1478 m_display.Output(buf); in ShowF54Report()
[all …]
/external/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);
/external/deqp/framework/platform/lnx/
DtcuLnxVulkanPlatform.cpp86 , m_display (display) in VulkanDisplayXlib()
92 x11::XlibDisplay* instance = (x11::XlibDisplay*)(m_display.get()); in createWindow()
99 MovePtr<x11::DisplayBase> m_display; member in tcu::lnx::VulkanDisplayXlib
134 , m_display (display) in VulkanDisplayXcb()
140 x11::XcbDisplay* instance = (x11::XcbDisplay*)(m_display.get()); in createWindow()
147 MovePtr<x11::DisplayBase> m_display; member in tcu::lnx::VulkanDisplayXcb
180 , m_display (display) in VulkanDisplayWayland()
188 …return new VulkanWindowWayland(MovePtr<wayland::Window>(new wayland::Window(*m_display, (int)width… in createWindow()
192 MovePtr<wayland::Display> m_display; member in tcu::lnx::VulkanDisplayWayland

12