Home
last modified time | relevance | path

Searched refs:client_rect (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_framebuffer.c118 RECT client_rect; in stw_framebuffer_get_size() local
128 assert(fb->client_rect.right == fb->client_rect.left + fb->width); in stw_framebuffer_get_size()
129 assert(fb->client_rect.bottom == fb->client_rect.top + fb->height); in stw_framebuffer_get_size()
135 if (!GetClientRect(fb->hWnd, &client_rect)) { in stw_framebuffer_get_size()
139 assert(client_rect.left == 0); in stw_framebuffer_get_size()
140 assert(client_rect.top == 0); in stw_framebuffer_get_size()
141 width = client_rect.right - client_rect.left; in stw_framebuffer_get_size()
142 height = client_rect.bottom - client_rect.top; in stw_framebuffer_get_size()
164 fb->client_rect.left = client_pos.x - window_rect.left; in stw_framebuffer_get_size()
165 fb->client_rect.top = client_pos.y - window_rect.top; in stw_framebuffer_get_size()
[all …]
Dstw_framebuffer.h91 RECT client_rect; member
/external/mesa3d/src/gallium/state_trackers/d3d1x/winedlls/dxgi/
Ddxgi_dll.c73 RECT client_rect; in WineDXGIBackend_BeginPresent() local
117 GetClientRect(hwnd, &client_rect); in WineDXGIBackend_BeginPresent()
122 prect->right = prect->left + client_rect.right; in WineDXGIBackend_BeginPresent()
123 prect->bottom = prect->top + client_rect.bottom; in WineDXGIBackend_BeginPresent()
169 RECT client_rect; in WineDXGIBackend_GetPresentSize() local
170 GetClientRect(hwnd, &client_rect); in WineDXGIBackend_GetPresentSize()
171 *width = client_rect.right - client_rect.left; in WineDXGIBackend_GetPresentSize()
172 *height = client_rect.bottom - client_rect.top; in WineDXGIBackend_GetPresentSize()