Home
last modified time | relevance | path

Searched refs:window_rect (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/modules/desktop_capture/
Dcropping_window_capturer_win.cc195 DesktopRect window_rect; in GetWindowRectInVirtualScreen() local
197 if (!GetCroppedWindowRect(hwnd, &window_rect, &original_rect)) { in GetWindowRectInVirtualScreen()
199 return window_rect; in GetWindowRectInVirtualScreen()
201 window_rect.IntersectWith(window_region_rect_); in GetWindowRectInVirtualScreen()
205 window_rect.IntersectWith(screen_rect); in GetWindowRectInVirtualScreen()
206 window_rect.Translate(-screen_rect.left(), -screen_rect.top()); in GetWindowRectInVirtualScreen()
207 return window_rect; in GetWindowRectInVirtualScreen()
Dcropping_window_capturer.cc91 DesktopRect window_rect = GetWindowRectInVirtualScreen(); in OnCaptureCompleted() local
92 if (window_rect.is_empty()) { in OnCaptureCompleted()
99 CreateCroppedDesktopFrame(screen_frame.release(), window_rect)); in OnCaptureCompleted()
Dmouse_cursor_monitor_mac.mm166 DesktopRect window_rect =
178 if (!window_rect.Contains(position))
180 position = position.subtract(window_rect.top_left());
184 } else if (window_rect.Contains(position)) {
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_framebuffer.c119 RECT window_rect; in stw_framebuffer_get_size() local
163 GetWindowRect(fb->hWnd, &window_rect)) { 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()
178 window_rect.left, window_rect.top, in stw_framebuffer_get_size()
179 window_rect.right, window_rect.bottom); in stw_framebuffer_get_size()