Searched refs:window_rect (Results 1 – 12 of 12) sorted by relevance
/external/webrtc/webrtc/modules/desktop_capture/ |
D | cropping_window_capturer_win.cc | 195 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()
|
D | cropping_window_capturer.cc | 91 DesktopRect window_rect = GetWindowRectInVirtualScreen(); in OnCaptureCompleted() local 92 if (window_rect.is_empty()) { in OnCaptureCompleted() 99 CreateCroppedDesktopFrame(screen_frame.release(), window_rect)); in OnCaptureCompleted()
|
D | 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/ |
D | stw_framebuffer.c | 121 RECT window_rect; in stw_framebuffer_get_size() local 164 GetWindowRect(fb->hWnd, &window_rect)) { in stw_framebuffer_get_size() 165 fb->client_rect.left = client_pos.x - window_rect.left; in stw_framebuffer_get_size() 166 fb->client_rect.top = client_pos.y - window_rect.top; in stw_framebuffer_get_size() 179 window_rect.left, window_rect.top, in stw_framebuffer_get_size() 180 window_rect.right, window_rect.bottom); in stw_framebuffer_get_size()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_state_validate.c | 290 bool enable = nv50->window_rect.rects > 0 || nv50->window_rect.inclusive; in nv50_validate_window_rects() 299 PUSH_DATA (push, !nv50->window_rect.inclusive); in nv50_validate_window_rects() 301 for (i = 0; i < nv50->window_rect.rects; i++) { in nv50_validate_window_rects() 302 struct pipe_scissor_state *s = &nv50->window_rect.rect[i]; in nv50_validate_window_rects()
|
D | nv50_surface.c | 838 struct nv50_window_rect_stateobj window_rect; member 1244 ctx->saved.window_rect = nv50->window_rect; in nv50_blitctx_pre_blit() 1252 nv50->window_rect.rects = in nv50_blitctx_pre_blit() 1254 nv50->window_rect.inclusive = info->window_rectangle_include; in nv50_blitctx_pre_blit() 1255 if (nv50->window_rect.rects) in nv50_blitctx_pre_blit() 1256 memcpy(nv50->window_rect.rect, info->window_rectangles, in nv50_blitctx_pre_blit() 1257 sizeof(struct pipe_scissor_state) * nv50->window_rect.rects); in nv50_blitctx_pre_blit() 1308 nv50->window_rect = blit->saved.window_rect; in nv50_blitctx_post_blit()
|
D | nv50_state.c | 1031 nv50->window_rect.inclusive = include; in nv50_set_window_rectangles() 1032 nv50->window_rect.rects = MIN2(num_rectangles, NV50_MAX_WINDOW_RECTANGLES); in nv50_set_window_rectangles() 1033 memcpy(nv50->window_rect.rect, rectangles, in nv50_set_window_rectangles() 1034 sizeof(struct pipe_scissor_state) * nv50->window_rect.rects); in nv50_set_window_rectangles()
|
D | nv50_context.h | 174 struct nv50_window_rect_stateobj window_rect; member
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_surface.c | 791 struct nvc0_window_rect_stateobj window_rect; member 1077 ctx->saved.window_rect = nvc0->window_rect; in nvc0_blitctx_pre_blit() 1087 nvc0->window_rect.rects = in nvc0_blitctx_pre_blit() 1089 nvc0->window_rect.inclusive = info->window_rectangle_include; in nvc0_blitctx_pre_blit() 1090 if (nvc0->window_rect.rects) in nvc0_blitctx_pre_blit() 1091 memcpy(nvc0->window_rect.rect, info->window_rectangles, in nvc0_blitctx_pre_blit() 1092 sizeof(struct pipe_scissor_state) * nvc0->window_rect.rects); in nvc0_blitctx_pre_blit() 1154 nvc0->window_rect = blit->saved.window_rect; in nvc0_blitctx_post_blit()
|
D | nvc0_state_validate.c | 350 bool enable = nvc0->window_rect.rects > 0 || nvc0->window_rect.inclusive; in nvc0_validate_window_rects() 357 IMMED_NVC0(push, NVC0_3D(CLIP_RECTS_MODE), !nvc0->window_rect.inclusive); in nvc0_validate_window_rects() 359 for (i = 0; i < nvc0->window_rect.rects; i++) { in nvc0_validate_window_rects() 360 struct pipe_scissor_state *s = &nvc0->window_rect.rect[i]; in nvc0_validate_window_rects()
|
D | nvc0_state.c | 900 nvc0->window_rect.inclusive = include; in nvc0_set_window_rectangles() 901 nvc0->window_rect.rects = MIN2(num_rectangles, NVC0_MAX_WINDOW_RECTANGLES); in nvc0_set_window_rectangles() 902 memcpy(nvc0->window_rect.rect, rectangles, in nvc0_set_window_rectangles() 903 sizeof(struct pipe_scissor_state) * nvc0->window_rect.rects); in nvc0_set_window_rectangles()
|
D | nvc0_context.h | 240 struct nvc0_window_rect_stateobj window_rect; member
|