/external/libkmsxx/kmscube/ |
D | cube-egl.cpp | 45 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() 66 b = eglGetConfigs(m_display, nullptr, 0, &numConfigs); in EglState() 70 b = eglGetConfigs(m_display, configs, numConfigs, &numConfigs); in EglState() [all …]
|
/external/deqp/modules/egl/ |
D | teglThreadCleanUpTests.cpp | 63 , 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::__anonab1640b20111::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 …]
|
D | teglMultiThreadTests.cpp | 170 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 …]
|
D | teglSimpleConfigCase.cpp | 47 , 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 …]
|
D | teglImageTests.cpp | 155 , 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 …]
|
D | teglResizeTests.cpp | 107 , m_display (EGL_NO_DISPLAY) in ResizeTest() 121 EGLDisplay m_display; member in deqp::egl::ResizeTest 191 m_display = eglDisplay; in init() 198 if (m_display != EGL_NO_DISPLAY) in deinit() 199 m_eglTestCtx.getLibrary().terminate(m_display); in deinit() 202 m_display = EGL_NO_DISPLAY; in deinit() 349 ScopedCurrentContext currentCtx (egl, m_display, **m_surface, **m_surface, **m_context); in iterate() 350 egl.swapBuffers(m_display, **m_surface); in iterate() 352 m_display, in iterate() 362 egl.swapBuffers(m_display, **m_surface); in iterate() [all …]
|
D | teglQueryConfigTests.cpp | 86 , 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 …]
|
D | teglMemoryStressTests.cpp | 86 EGLDisplay m_display; member in deqp::egl::__anon97a1abaf0111::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 …]
|
D | teglInfoTests.cpp | 60 , 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()
|
D | teglMakeCurrentPerfTests.cpp | 96 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 …]
|
D | teglCreateContextExtTests.cpp | 199 EGLDisplay m_display; member in deqp::egl::__anon6e52833c0111::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 …]
|
D | teglChooseConfigTests.cpp | 116 , 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 …]
|
D | teglApiCase.cpp | 43 , 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()
|
D | teglGetProcAddressTests.cpp | 95 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/egl/ |
D | egluUnique.cpp | 35 , 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 …]
|
D | egluUnique.hpp | 43 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
|
D | egluGLContextFactory.cpp | 144 virtual const eglw::Library& getLibrary (void) const { return m_display->getLibrary(); } in getLibrary() 157 de::SharedPtr<NativeDisplay> m_display; member in eglu::__anonb10fb3450111::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/framework/platform/lnx/X11/ |
D | tcuLnxX11Xcb.cpp | 77 , 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 …]
|
D | tcuLnxX11.cpp | 83 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 …]
|
D | tcuLnxX11.hpp | 93 ::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/ |
D | tcuLnxWayland.cpp | 90 , 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()
|
D | tcuLnxWayland.hpp | 49 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
|
D | tcuLnxWaylandEglDisplayFactory.cpp | 68 , 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
|
/external/rmi4utils/f54test/ |
D | f54test.cpp | 1421 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/deqp/framework/platform/lnx/ |
D | tcuLnxVulkanPlatform.cpp | 81 , m_display (display) in VulkanDisplayXlib() 87 x11::XlibDisplay* instance = (x11::XlibDisplay*)(m_display.get()); in createWindow() 94 MovePtr<x11::DisplayBase> m_display; member in tcu::lnx::VulkanDisplayXlib 124 , m_display (display) in VulkanDisplayXcb() 130 x11::XcbDisplay* instance = (x11::XcbDisplay*)(m_display.get()); in createWindow() 137 MovePtr<x11::DisplayBase> m_display; member in tcu::lnx::VulkanDisplayXcb 165 , m_display (display) in VulkanDisplayWayland() 173 …return new VulkanWindowWayland(MovePtr<wayland::Window>(new wayland::Window(*m_display, (int)width… in createWindow() 177 MovePtr<wayland::Display> m_display; member in tcu::lnx::VulkanDisplayWayland
|