Home
last modified time | relevance | path

Searched refs:m_window (Results 1 – 25 of 29) sorted by relevance

12

/external/deqp/framework/platform/win32/
DtcuWin32Window.cpp41 : 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 …]
DtcuWin32EGLNativeDisplayFactory.cpp123 EGLNativeWindowType getLegacyNative (void) { return m_window.getHandle(); } in getLegacyNative()
132 win32::Window m_window; member in tcu::win32::__anon1b601ec30111::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 …]
DtcuWGLContextFactory.cpp86 win32::Window m_window; member in tcu::wgl::__anon91471e8a0111::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()
DtcuWin32Window.hpp48 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
DtcuWin32VulkanPlatform.cpp54 , m_window (window) in VulkanWindow()
60 m_window->setSize((int)newSize.x(), (int)newSize.y()); in resize()
64 UniquePtr<win32::Window> m_window; member in tcu::win32::VulkanWindow
/external/deqp/framework/platform/lnx/X11/
DtcuLnxX11.cpp155 , 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 …]
DtcuLnxX11Xcb.cpp81 m_window = xcb_generate_id(connection); in XcbWindow()
93 m_window, // window Id in XcbWindow()
109 m_window, 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()
149 …etry_reply(m_display.getConnection(), xcb_get_geometry(m_display.getConnection(), m_window), NULL); in getDimensions()
160 …result = xcb_configure_window(display, m_window, XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGH… in setDimensions()
DtcuLnxX11EglDisplayFactory.cpp142 …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()
DtcuLnxX11Xcb.hpp68 xcb_window_t& getXID (void) { return m_window; } in getXID()
77 xcb_window_t m_window; member in tcu::lnx::x11::XcbWindow
DtcuLnxX11.hpp124 ::Window& getXID (void) { return m_window; } in getXID()
132 ::Window m_window;
/external/deqp/framework/platform/android/
DtcuAndroidPlatform.cpp85 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 …]
DtcuAndroidWindow.cpp36 : 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()
DtcuAndroidRenderActivity.cpp78 , 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()
DtcuAndroidWindow.hpp66 ANativeWindow* getNativeWindow (void) { return m_window; } in getNativeWindow()
76 ANativeWindow* m_window; member in tcu::Android::Window
/external/deqp/framework/platform/lnx/
DtcuLnxVulkanPlatform.cpp63 , m_window (window) in VulkanWindowXlib()
69 m_window->setDimensions((int)newSize.x(), (int)newSize.y()); in resize()
73 UniquePtr<x11::XlibWindow> m_window; member in tcu::lnx::VulkanWindowXlib
106 , m_window (window) in VulkanWindowXcb()
112 m_window->setDimensions((int)newSize.x(), (int)newSize.y()); in resize()
116 UniquePtr<x11::XcbWindow> m_window; member in tcu::lnx::VulkanWindowXcb
147 , m_window (window) in VulkanWindowWayland()
153 m_window->setDimensions((int)newSize.x(), (int)newSize.y()); in resize()
157 UniquePtr<wayland::Window> m_window; member in tcu::lnx::VulkanWindowWayland
/external/deqp/framework/platform/lnx/wayland/
DtcuLnxWayland.cpp171 m_window = wl_egl_window_create(m_surface, width, height); in Window()
172 if (!m_window) in Window()
179 TCU_CHECK(m_window); in Window()
189 wl_egl_window_get_attached_size(m_window, width, height); in getDimensions()
194 wl_egl_window_resize(m_window, width, height, 0, 0); in setDimensions()
224 if (m_window) in ~Window()
225 wl_egl_window_destroy(m_window); in ~Window()
DtcuLnxWaylandEglDisplayFactory.cpp94 …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()
DtcuLnxWayland.hpp92 void* getWindow (void) { return m_window; } in getWindow()
100 struct wl_egl_window* m_window; member in tcu::lnx::wayland::Window
/external/deqp/modules/egl/
DteglSwapBuffersWithDamageTests.cpp280 eglu::NativeWindow* m_window; member in deqp::egl::__anon375e92550111::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 …]
DteglMutableRenderBufferTests.cpp68 eglu::NativeWindow* m_window; member in deqp::egl::__anona52e30d60111::MutableRenderBufferTest
81 , m_window (DE_NULL) in MutableRenderBufferTest()
151m_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()
DteglBufferAgeTests.cpp116 eglu::NativeWindow* m_window; member in deqp::egl::__anonc7dace990111::BufferAgeTest
375 , m_window (DE_NULL) in BufferAgeTest()
440 delete m_window; in deinit()
441 m_window = DE_NULL; in deinit()
447 m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, config, DE_NULL, in initEGLSurface()
449 …m_eglSurface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay,… in initEGLSurface()
553 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate()
555 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate()
563 m_window->setSurfaceSize(IVec2(width*2, height/2)); in iterate()
565 m_window->setSurfaceSize(IVec2(height/2, width*2)); in iterate()
[all …]
DteglNegativePartialUpdateTests.cpp75 NativeWindow* m_window; member in deqp::egl::__anon681dbff50111::NegativePartialUpdateTest
137 , m_window (DE_NULL) in NegativePartialUpdateTest()
170m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, m_eglConfig, DE_NU… in init()
172 …m_eglSurface = createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay, m_egl… in init()
200 delete m_window; in deinit()
201 m_window = DE_NULL; in deinit()
DteglPreservingSwapTests.cpp92 eglu::NativeWindow* m_window; member in deqp::egl::__anon4ef199520111::PreservingSwapTest
288 , m_window (DE_NULL) in PreservingSwapTest()
333m_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()
DteglPartialUpdateTests.cpp94 eglu::NativeWindow* m_window; member in deqp::egl::__anonfe5b69220111::PartialUpdateTest
355 , m_window (DE_NULL) in PartialUpdateTest()
424 delete m_window; in deinit()
425 m_window = DE_NULL; in deinit()
431 m_window = factory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_eglDisplay, config, DE_NULL, in initEGLSurface()
433 …m_eglSurface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay,… in initEGLSurface()
/external/deqp/framework/egl/
DegluGLContextFactory.cpp158 NativeWindow* m_window; member in eglu::__anonb10fb3450111::RenderContext
176 , m_window (DE_NULL) in RenderContext()
210 delete m_window; in ~RenderContext()
358 m_window = windowSurface.first; in create()
493 delete m_window; in destroy()
497 m_window = DE_NULL; in destroy()
506 if (m_window) in postIterate()
517 m_window->processEvents(); in postIterate()
527 delete m_window; in postIterate()
528 m_window = DE_NULL; in postIterate()
[all …]

12