/external/deqp/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::__anonbac8d03a0111::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 | 82 win32::Window m_window; member in tcu::wgl::__anona13584610111::WGLContext 91 , m_window (instance, in WGLContext() 100 HDC deviceCtx = m_window.getDeviceContext(); in WGLContext() 117 const IVec2 size = m_window.getSize(); in WGLContext() 134 m_window.setVisible(config.windowVisibility != glu::RenderConfig::VISIBILITY_HIDDEN); in WGLContext() 151 m_window.processEvents(); in postIterate()
|
D | tcuWin32GLES3Platform.cpp | 74 Win32Window m_window; member in tcu::Win32GLES3Context 88 , m_window (instance, m_renderTarget.getWidth(), m_renderTarget.getHeight()) in Win32GLES3Context() 91 const HDC deviceCtx = m_window.getDeviceContext(); in Win32GLES3Context() 97 …m_platformCtx.context = new wgl::Context(&wgl, m_window.getDeviceContext(), wgl::PROFILE_COMPATIBI… in Win32GLES3Context() 108 m_window.setVisible(config.windowVisibility != glu::RenderConfig::VISIBILITY_HIDDEN); in Win32GLES3Context() 112 const IVec2 size = m_window.getSize(); in Win32GLES3Context()
|
D | tcuWin32Window.hpp | 48 HWND getHandle (void) const { return m_window; } in getHandle() 49 HDC getDeviceContext (void) const { return GetDC(m_window); } in getDeviceContext() 55 HWND m_window; member in tcu::win32::Window
|
D | tcuWin32VulkanPlatform.cpp | 56 , m_window (window) in VulkanWindow() 62 m_window->setSize((int)newSize.x(), (int)newSize.y()); in resize() 66 UniquePtr<win32::Window> m_window; member in tcu::win32::VulkanWindow
|
/external/deqp/framework/platform/X11/ |
D | tcuX11.cpp | 149 , m_window (None) in XlibWindow() 191 m_window = XCreateWindow(dpy, root, 0, 0, width, height, 0, in XlibWindow() 193 TCU_CHECK(m_window); in XlibWindow() 196 XSetWMProtocols(dpy, m_window, &deleteAtom, 1); in XlibWindow() 211 XMapWindow(dpy, m_window); in setVisibility() 216 XUnmapWindow(dpy, m_window); in setVisibility() 221 XSelectInput(dpy, m_window, ExposureMask | StructureNotifyMask); in setVisibility() 225 XWindowEvent(dpy, m_window, ExposureMask | StructureNotifyMask, &event); in setVisibility() 237 …XGetGeometry(m_display.getXDisplay(), m_window, &root, &x, &y, &width_, &height_, &borderWidth, &d… in getDimensions() 252 XConfigureWindow(dpy, m_window, mask, &changes); in setDimensions() [all …]
|
D | tcuX11Xcb.cpp | 62 m_window = xcb_generate_id(connection); in XcbWindow() 74 m_window, // window Id in XcbWindow() 90 m_window, in XcbWindow() 103 xcb_destroy_window(m_display.getConnection(), m_window); in ~XcbWindow() 112 xcb_map_window(m_display.getConnection(), m_window); in setVisibility() 114 xcb_unmap_window(m_display.getConnection(), m_window); in setVisibility() 130 …etry_reply(m_display.getConnection(), xcb_get_geometry(m_display.getConnection(), m_window), NULL); in getDimensions() 141 …result = xcb_configure_window(display, m_window, XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGH… in setDimensions()
|
D | tcuX11VulkanPlatform.cpp | 52 , m_window (window) in VulkanWindowXlib() 58 m_window->setDimensions((int)newSize.x(), (int)newSize.y()); in resize() 62 UniquePtr<XlibWindow> m_window; member in tcu::x11::VulkanWindowXlib 93 , m_window (window) in VulkanWindowXcb() 99 m_window->setDimensions((int)newSize.x(), (int)newSize.y()); in resize() 103 UniquePtr<XcbWindow> m_window; member in tcu::x11::VulkanWindowXcb
|
D | tcuX11EglPlatform.cpp | 136 … getLegacyNative (void) { return reinterpret_cast<eglw::EGLNativeWindowType>(m_window.getXID()); } in getLegacyNative() 137 void* getPlatformNative (void) { return &m_window.getXID(); } in getPlatformNative() 144 XlibWindow m_window; member in tcu::x11::egl::Window 149 , m_window (display.getX11Display(), params.width, params.height, visual) in Window() 151 m_window.setVisibility((params.visibility != WindowParams::VISIBILITY_HIDDEN)); in Window() 157 m_window.getDimensions(&ret.x(), &ret.y()); in getSurfaceSize() 163 m_window.setDimensions(size.x(), size.y()); in setSurfaceSize()
|
D | tcuX11Xcb.hpp | 64 xcb_window_t& getXID (void) { return m_window; } in getXID() 73 xcb_window_t m_window; member in tcu::x11::XcbWindow
|
D | tcuX11.hpp | 134 ::Window& getXID (void) { return m_window; } in getXID() 142 ::Window m_window;
|
/external/deqp/framework/platform/android/ |
D | tcuAndroidPlatform.cpp | 83 virtual EGLNativeWindowType getLegacyNative (void) { return m_window->getNativeWindow(); } in getLegacyNative() 84 IVec2 getScreenSize (void) const { return m_window->getSize(); } in getScreenSize() 91 Window* m_window; member in tcu::Android::NativeWindow 114 , m_window (window) in NativeWindow() 123 m_window->release(); in ~NativeWindow() 128 if (m_window->isPendingDestroy()) in processEvents() 134 m_window->setBuffersGeometry(size.x() != eglu::WindowParams::SIZE_DONT_CARE ? size.x() : 0, in setSurfaceSize() 216 , m_window (window) in VulkanWindow() 222 m_window.release(); in ~VulkanWindow() 226 tcu::Android::Window& m_window; member in tcu::Android::VulkanWindow
|
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() 147 m_window = message.payload.window; in processMessage() 151 if (m_window != message.payload.window) in processMessage() 168 if (m_window != message.payload.window) in processMessage() 178 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
|
/external/deqp/framework/platform/wayland/ |
D | tcuWayland.cpp | 172 m_window = wl_egl_window_create(m_surface, width, height); in Window() 173 if (!m_window) in Window() 180 TCU_CHECK(m_window); in Window() 190 wl_egl_window_get_attached_size(m_window, width, height); in getDimensions() 195 wl_egl_window_resize(m_window, width, height, 0, 0); in setDimensions() 225 if (m_window) in ~Window() 226 wl_egl_window_destroy(m_window); in ~Window()
|
D | tcuWaylandEglPlatform.cpp | 90 …tLegacyNative (void) { return reinterpret_cast<eglw::EGLNativeWindowType>(m_window.getWindow()); } in getLegacyNative() 96 wayland::Window m_window; member in tcu::wayland::egl::Window 101 , m_window (display.getWaylandDisplay(), params.width, params.height) in Window() 108 m_window.getDimensions(&ret.x(), &ret.y()); in getSurfaceSize() 114 m_window.setDimensions(size.x(), size.y()); in setSurfaceSize()
|
D | tcuWaylandVulkanPlatform.cpp | 48 , m_window (window) in VulkanWindowWayland() 54 m_window->setDimensions((int)newSize.x(), (int)newSize.y()); in resize() 58 UniquePtr<wayland::Window> m_window; member in tcu::wayland::VulkanWindowWayland
|
D | tcuWayland.hpp | 105 void* getWindow (void) { return m_window; } in getWindow() 113 struct wl_egl_window* m_window; member in tcu::wayland::Window
|
/external/deqp/framework/egl/ |
D | egluGLContextFactory.cpp | 149 NativeWindow* m_window; member in eglu::__anon100ec97c0111::RenderContext 166 , m_window (DE_NULL) in RenderContext() 199 delete m_window; in ~RenderContext() 329 m_window = windowSurface.first; in create() 451 delete m_window; in destroy() 456 m_window = DE_NULL; in destroy() 466 if (m_window) in postIterate() 477 m_window->processEvents(); in postIterate() 487 delete m_window; in postIterate() 488 m_window = DE_NULL; in postIterate() [all …]
|
/external/deqp/modules/egl/ |
D | teglSwapBuffersWithDamageTests.cpp | 280 eglu::NativeWindow* m_window; member in deqp::egl::__anonddcfef8c0111::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::__anon1268d44d0111::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::__anon2cf161500111::BufferAgeTest 371 , m_window (DE_NULL) in BufferAgeTest() 436 delete m_window; in deinit() 437 m_window = DE_NULL; in deinit() 443 m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, config, DE_NULL, in initEGLSurface() 445 …m_eglSurface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay,… in initEGLSurface() 549 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate() 551 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate() 559 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate() 561 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate() [all …]
|
D | teglPreservingSwapTests.cpp | 92 eglu::NativeWindow* m_window; member in deqp::egl::__anon8dd376690111::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()
|