/external/webrtc/webrtc/modules/desktop_capture/ |
cropping_window_capturer_win.cc | 195 DesktopRect window_rect; local 197 if (!GetCroppedWindowRect(hwnd, &window_rect, &original_rect)) { 199 return window_rect; 201 window_rect.IntersectWith(window_region_rect_); 203 // Convert |window_rect| to be relative to the top-left of the virtual screen. 205 window_rect.IntersectWith(screen_rect); 206 window_rect.Translate(-screen_rect.left(), -screen_rect.top()); 207 return window_rect;
|
cropping_window_capturer.cc | 91 DesktopRect window_rect = GetWindowRectInVirtualScreen(); local 92 if (window_rect.is_empty()) { 99 CreateCroppedDesktopFrame(screen_frame.release(), window_rect));
|
mouse_cursor_monitor_mac.mm | 166 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/ |
stw_framebuffer.c | 120 RECT window_rect; local 163 GetWindowRect(fb->hWnd, &window_rect)) { 164 fb->client_rect.left = client_pos.x - window_rect.left; 165 fb->client_rect.top = client_pos.y - window_rect.top; 176 debug_printf("%s: window_rect = (%li, %li) - (%li, %li)\n", 178 window_rect.left, window_rect.top, 179 window_rect.right, window_rect.bottom);
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
nv50_state_validate.c | 289 bool enable = nv50->window_rect.rects > 0 || nv50->window_rect.inclusive; 298 PUSH_DATA (push, !nv50->window_rect.inclusive); 300 for (i = 0; i < nv50->window_rect.rects; i++) { 301 struct pipe_scissor_state *s = &nv50->window_rect.rect[i];
|
nv50_context.h | 175 struct nv50_window_rect_stateobj window_rect; member in struct:nv50_context
|
nv50_surface.c | 838 struct nv50_window_rect_stateobj window_rect; member in struct:nv50_blitctx::__anon27800 [all...] |
nv50_state.c | 1030 nv50->window_rect.inclusive = include; 1031 nv50->window_rect.rects = MIN2(num_rectangles, NV50_MAX_WINDOW_RECTANGLES); 1032 memcpy(nv50->window_rect.rect, rectangles, 1033 sizeof(struct pipe_scissor_state) * nv50->window_rect.rects); [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
nvc0_surface.c | 791 struct nvc0_window_rect_stateobj window_rect; member in struct:nvc0_blitctx::__anon27812 [all...] |
nvc0_state_validate.c | 350 bool enable = nvc0->window_rect.rects > 0 || nvc0->window_rect.inclusive; 357 IMMED_NVC0(push, NVC0_3D(CLIP_RECTS_MODE), !nvc0->window_rect.inclusive); 359 for (i = 0; i < nvc0->window_rect.rects; i++) { 360 struct pipe_scissor_state *s = &nvc0->window_rect.rect[i];
|
nvc0_context.h | 225 struct nvc0_window_rect_stateobj window_rect; member in struct:nvc0_context
|
nvc0_state.c | 892 nvc0->window_rect.inclusive = include; 893 nvc0->window_rect.rects = MIN2(num_rectangles, NVC0_MAX_WINDOW_RECTANGLES); 894 memcpy(nvc0->window_rect.rect, rectangles, 895 sizeof(struct pipe_scissor_state) * nvc0->window_rect.rects); [all...] |