/third_party/vk-gl-cts/framework/platform/win32/ |
D | tcuWin32Window.cpp | 41 : m_window (DE_NULL) in Window() 65 m_window = CreateWindow(s_className, s_windowName, in Window() 71 if (!m_window) in Window() 75 SetWindowLongPtr(m_window, GWLP_USERDATA, (LONG_PTR)this); in Window() 81 if (m_window) in Window() 82 DestroyWindow(m_window); in Window() 90 if (m_window) in ~Window() 93 SetWindowLongPtr(m_window, GWLP_USERDATA, 0); in ~Window() 96 DestroyWindow(m_window); in ~Window() 101 ShowWindow(m_window, visible ? SW_SHOW : SW_HIDE); in setVisible() [all …]
|
D | tcuWin32EGLNativeDisplayFactory.cpp | 123 EGLNativeWindowType getLegacyNative (void) { return m_window.getHandle(); } in getLegacyNative() 132 win32::Window m_window; member in tcu::win32::__anonfc7986980111::NativeWindow 236 , m_window (instance, in NativeWindow() 251 m_window.setVisible(false); in setVisibility() 258 m_window.setVisible(true); in setVisibility() 274 return m_window.getSize(); in getSurfaceSize() 279 m_window.processEvents(); in processEvents() 284 m_window.setSize(size.x(), size.y()); in setSurfaceSize() 306 TCU_CHECK(GetClientRect(m_window.getHandle(), &rect)); in readScreenPixels() 319 windowDC = GetDC(m_window.getHandle()); in readScreenPixels() [all …]
|
D | tcuWGLContextFactory.cpp | 86 win32::Window m_window; member in tcu::wgl::__anonf25a697f0111::WGLContext 95 , m_window (instance, in WGLContext() 104 HDC deviceCtx = m_window.getDeviceContext(); in WGLContext() 125 const IVec2 size = m_window.getSize(); in WGLContext() 142 m_window.setVisible(config.windowVisibility != glu::RenderConfig::VISIBILITY_HIDDEN); in WGLContext() 169 m_window.processEvents(); in postIterate()
|
D | tcuWin32Window.hpp | 49 HWND getHandle (void) const { return m_window; } in getHandle() 50 HDC getDeviceContext (void) const { return GetDC(m_window); } in getDeviceContext() 56 HWND m_window; member in tcu::win32::Window
|
D | tcuWin32VulkanPlatform.cpp | 52 , m_window (window) in VulkanWindow() 58 m_window->setVisible(visible); in setVisible() 63 m_window->setForeground(); in setForeground() 68 m_window->setSize((int)newSize.x(), (int)newSize.y()); in resize() 72 UniquePtr<win32::Window> m_window; member in tcu::win32::VulkanWindow
|
/third_party/vk-gl-cts/framework/platform/lnx/X11/ |
D | tcuLnxX11.cpp | 155 , m_window (None) in XlibWindow() 201 m_window = XCreateWindow(dpy, root, 0, 0, width, height, 0, in XlibWindow() 203 TCU_CHECK(m_window); in XlibWindow() 211 XSetWMHints(dpy, m_window, hints); in XlibWindow() 215 XSetWMProtocols(dpy, m_window, &deleteAtom, 1); in XlibWindow() 230 XMapWindow(dpy, m_window); in setVisibility() 235 XUnmapWindow(dpy, m_window); in setVisibility() 240 XSelectInput(dpy, m_window, ExposureMask | StructureNotifyMask); in setVisibility() 244 XWindowEvent(dpy, m_window, ExposureMask | StructureNotifyMask, &event); in setVisibility() 256 …XGetGeometry(m_display.getXDisplay(), m_window, &root, &x, &y, &width_, &height_, &borderWidth, &d… in getDimensions() [all …]
|
D | tcuLnxX11Xcb.cpp | 84 m_window = xcb_generate_id(connection); in XcbWindow() 96 m_window, // window Id in XcbWindow() 112 m_window, 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() 152 …etry_reply(m_display.getConnection(), xcb_get_geometry(m_display.getConnection(), m_window), NULL); in getDimensions() 163 …result = xcb_configure_window(display, m_window, XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGH… in setDimensions()
|
D | tcuLnxX11EglDisplayFactory.cpp | 142 …getLegacyNative (void) { return reinterpret_cast<eglw::EGLNativeWindowType>(m_window.getXID()); } in getLegacyNative() 143 void* getPlatformExtension (void) { return &m_window.getXID(); } in getPlatformExtension() 144 void* getPlatformNative (void) { return &m_window.getXID(); } in getPlatformNative() 151 XlibWindow m_window; member in tcu::lnx::x11::egl::Window 156 , m_window (display.getX11Display(), params.width, params.height, visual) in Window() 158 m_window.setVisibility((params.visibility != WindowParams::VISIBILITY_HIDDEN)); in Window() 164 m_window.getDimensions(&ret.x(), &ret.y()); in getSurfaceSize() 170 m_window.setDimensions(size.x(), size.y()); in setSurfaceSize()
|
D | tcuLnxX11Xcb.hpp | 68 xcb_window_t& getXID (void) { return m_window; } in getXID() 77 xcb_window_t m_window; member in tcu::lnx::x11::XcbWindow
|
D | tcuLnxX11.hpp | 124 ::Window& getXID (void) { return m_window; } in getXID() 132 ::Window m_window;
|
/third_party/vk-gl-cts/framework/platform/android/ |
D | tcuAndroidPlatform.cpp | 85 virtual EGLNativeWindowType getLegacyNative (void) { return m_window->getNativeWindow(); } in getLegacyNative() 86 virtual EGLNativeWindowType getPlatformExtension (void) { return m_window->getNativeWindow(); } in getPlatformExtension() 87 virtual EGLNativeWindowType getPlatformNative (void) { return m_window->getNativeWindow(); } in getPlatformNative() 88 IVec2 getScreenSize (void) const { return m_window->getSize(); } in getScreenSize() 95 Window* m_window; member in tcu::Android::NativeWindow 118 , m_window (window) in NativeWindow() 127 m_window->release(); in ~NativeWindow() 132 if (m_window->isPendingDestroy()) in processEvents() 138 m_window->setBuffersGeometry(size.x() != eglu::WindowParams::SIZE_DONT_CARE ? size.x() : 0, in setSurfaceSize() 225 , m_window (window) in VulkanWindow() [all …]
|
D | tcuAndroidWindow.cpp | 36 : m_window (window) in Window() 47 ANativeWindow_setBuffersGeometry(m_window, width, height, format); in setBuffersGeometry() 52 const int32_t width = ANativeWindow_getWidth(m_window); in getSize() 53 const int32_t height = ANativeWindow_getHeight(m_window); in getSize() 77 ANativeWindow_setBuffersGeometry(m_window, 0, 0, 0); in release()
|
D | tcuAndroidRenderActivity.cpp | 78 , m_window (DE_NULL) in RenderThread() 170 m_window = message.payload.window; in processMessage() 174 if (m_window != message.payload.window) in processMessage() 195 if (m_window != message.payload.window) in processMessage() 205 m_window = DE_NULL; in processMessage()
|
D | tcuAndroidWindow.hpp | 66 ANativeWindow* getNativeWindow (void) { return m_window; } in getNativeWindow() 76 ANativeWindow* m_window; member in tcu::Android::Window
|
/third_party/vk-gl-cts/framework/platform/lnx/ |
D | tcuLnxVulkanPlatform.cpp | 74 , m_window (window) in VulkanWindowXlib() 80 m_window->setVisibility(visible); in setVisible() 85 m_window->setDimensions((int)newSize.x(), (int)newSize.y()); in resize() 89 UniquePtr<x11::XlibWindow> m_window; member in tcu::lnx::VulkanWindowXlib 122 , m_window (window) in VulkanWindowXcb() 128 m_window->setVisibility(visible); in setVisible() 133 m_window->setDimensions((int)newSize.x(), (int)newSize.y()); in resize() 137 UniquePtr<x11::XcbWindow> m_window; member in tcu::lnx::VulkanWindowXcb 168 , m_window (window) in VulkanWindowWayland() 174 m_window->setVisibility(visible); in setVisible() [all …]
|
/third_party/vk-gl-cts/framework/platform/lnx/wayland/ |
D | tcuLnxWayland.cpp | 196 m_window = wl_egl_window_create(m_surface, width, height); in Window() 197 if (!m_window) in Window() 204 TCU_CHECK(m_window); in Window() 214 wl_egl_window_get_attached_size(m_window, width, height); in getDimensions() 219 wl_egl_window_resize(m_window, width, height, 0, 0); in setDimensions() 242 if (m_window) in ~Window() 243 wl_egl_window_destroy(m_window); in ~Window()
|
D | tcuLnxWaylandEglDisplayFactory.cpp | 94 …tLegacyNative (void) { return reinterpret_cast<eglw::EGLNativeWindowType>(m_window.getWindow()); } in getLegacyNative() 100 wayland::Window m_window; member in tcu::lnx::wayland::egl::Window 105 , m_window (display.getWaylandDisplay(), params.width, params.height) in Window() 112 m_window.getDimensions(&ret.x(), &ret.y()); in getSurfaceSize() 118 m_window.setDimensions(size.x(), size.y()); in setSurfaceSize()
|
D | tcuLnxWayland.hpp | 93 void* getWindow (void) { return m_window; } in getWindow() 101 struct wl_egl_window* m_window; member in tcu::lnx::wayland::Window
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglSwapBuffersWithDamageTests.cpp | 280 eglu::NativeWindow* m_window; member in deqp::egl::__anon9d23b96a0111::SwapBuffersWithDamageTest 295 , m_window (DE_NULL) in SwapBuffersWithDamageTest() 365 delete m_window; in deinit() 366 m_window = DE_NULL; in deinit() 372 m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, config, DE_NULL, in initEGLSurface() 374 …m_eglSurface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay,… in initEGLSurface() 426 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate() 428 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate() 436 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate() 438 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate() [all …]
|
D | teglMutableRenderBufferTests.cpp | 68 eglu::NativeWindow* m_window; member in deqp::egl::__anon83e48eab0111::MutableRenderBufferTest 81 , m_window (DE_NULL) in MutableRenderBufferTest() 151 …m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, m_eglConfig, DE_NU… in init() 153 …m_eglSurface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay,… in init() 195 if (m_window != DE_NULL) in deinit() 197 delete m_window; in deinit() 198 m_window = DE_NULL; in deinit()
|
D | teglBufferAgeTests.cpp | 116 eglu::NativeWindow* m_window; member in deqp::egl::__anon9428ee2e0111::BufferAgeTest 375 , m_window (DE_NULL) in BufferAgeTest() 445 delete m_window; in deinit() 446 m_window = DE_NULL; in deinit() 452 m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, config, DE_NULL, in initEGLSurface() 454 …m_eglSurface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay,… in initEGLSurface() 558 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate() 560 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate() 568 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate() 570 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate() [all …]
|
D | teglNegativePartialUpdateTests.cpp | 75 NativeWindow* m_window; member in deqp::egl::__anoncde2e70a0111::NegativePartialUpdateTest 138 , m_window (DE_NULL) in NegativePartialUpdateTest() 171 …m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, m_eglConfig, DE_NU… in init() 173 …m_eglSurface = createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay, m_egl… in init() 201 delete m_window; in deinit() 202 m_window = DE_NULL; in deinit()
|
D | teglPreservingSwapTests.cpp | 92 eglu::NativeWindow* m_window; member in deqp::egl::__anona77bbe070111::PreservingSwapTest 288 , m_window (DE_NULL) in PreservingSwapTest() 333 …m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, config, DE_NULL, … in initEGLSurface() 334 …m_eglSurface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay,… in initEGLSurface() 401 delete m_window; in deinit() 402 m_window = DE_NULL; in deinit()
|
D | teglPartialUpdateTests.cpp | 94 eglu::NativeWindow* m_window; member in deqp::egl::__anon7d294b370111::PartialUpdateTest 355 , m_window (DE_NULL) in PartialUpdateTest() 429 delete m_window; in deinit() 430 m_window = DE_NULL; in deinit() 436 m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, config, DE_NULL, in initEGLSurface() 438 …m_eglSurface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay,… in initEGLSurface()
|
/third_party/vk-gl-cts/framework/egl/ |
D | egluGLContextFactory.cpp | 158 NativeWindow* m_window; member in eglu::__anon2fdd955a0111::RenderContext 176 , m_window (DE_NULL) in RenderContext() 210 delete m_window; in ~RenderContext() 358 m_window = windowSurface.first; in create() 495 delete m_window; in destroy() 499 m_window = DE_NULL; in destroy() 508 if (m_window) in postIterate() 519 m_window->processEvents(); in postIterate() 529 delete m_window; in postIterate() 530 m_window = DE_NULL; in postIterate() [all …]
|