Home
last modified time | relevance | path

Searched refs:copy_rect (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_browsertest.cc611 const gfx::Rect& copy_rect, in PerformTestWithLeftRightRects() argument
698 rwhvp->CopyFromCompositingSurfaceToVideoFrame(copy_rect, in PerformTestWithLeftRightRects()
718 rwhvp->CopyFromCompositingSurface(copy_rect, output_size, callback); in PerformTestWithLeftRightRects()
758 gfx::Rect copy_rect(400, 300); in IN_PROC_BROWSER_TEST_F() local
759 gfx::Size output_size = copy_rect.size(); in IN_PROC_BROWSER_TEST_F()
764 copy_rect, in IN_PROC_BROWSER_TEST_F()
772 gfx::Rect copy_rect(400, 300); in IN_PROC_BROWSER_TEST_F() local
778 copy_rect, in IN_PROC_BROWSER_TEST_F()
787 gfx::Rect copy_rect(400, 300); in IN_PROC_BROWSER_TEST_F() local
788 copy_rect = gfx::Rect(copy_rect.CenterPoint() - gfx::Vector2d(30, 30), in IN_PROC_BROWSER_TEST_F()
[all …]
Dbacking_store_gtk.cc328 const gfx::Rect& copy_rect = copy_rects[i]; in PaintRectWithoutXrender() local
333 copy_rect.x() - bitmap_rect.x(), // src_x in PaintRectWithoutXrender()
334 copy_rect.y() - bitmap_rect.y(), // src_y in PaintRectWithoutXrender()
335 copy_rect.width(), // width in PaintRectWithoutXrender()
336 copy_rect.height(), // height in PaintRectWithoutXrender()
337 copy_rect.x(), // dest_x in PaintRectWithoutXrender()
338 copy_rect.y()); // dest_y in PaintRectWithoutXrender()
419 const gfx::Rect& copy_rect = copy_rects[i]; in PaintToBackingStore() local
421 gfx::ScaleRect(copy_rect, scale_factor)); in PaintToBackingStore()
479 const gfx::Rect& copy_rect = copy_rects[i]; in PaintToBackingStore() local
[all …]
Dbacking_store_mac.mm119 const gfx::Rect& copy_rect = copy_rects[i];
121 gfx::ScaleRect(copy_rect, scale_factor));
123 // Only the subpixels given by copy_rect have pixels to copy.
153 gfx::Rect paint_rect = copy_rect;
154 paint_rect.set_y(size().height() - copy_rect.bottom());
158 gfx::Rect paint_rect = copy_rect;
159 paint_rect.set_y(size().height() - copy_rect.bottom());
Drender_widget_host_impl.cc727 gfx::Rect copy_rect = src_subrect.IsEmpty() ? in CopyFromBackingStore() local
732 bool result = backing_store->CopyFromBackingStore(copy_rect, &output); in CopyFromBackingStore()
1196 gfx::Rect copy_rect = src_subrect.IsEmpty() ? in GetSnapshotFromRenderer() local
1199 gfx::Rect copy_rect_in_pixel = ConvertViewRectToPixel(view_, copy_rect); in GetSnapshotFromRenderer()
/external/chromium_org/chrome/browser/thumbnails/
Dthumbnail_tab_helper.cc104 gfx::Rect copy_rect = gfx::Rect(view->GetViewBounds().size()); in AsyncProcessThumbnail() local
109 copy_rect.Inset(0, 0, scrollbar_size, scrollbar_size); in AsyncProcessThumbnail()
111 if (copy_rect.IsEmpty()) in AsyncProcessThumbnail()
115 copy_rect.size(), in AsyncProcessThumbnail()
117 &copy_rect, in AsyncProcessThumbnail()
121 copy_rect, in AsyncProcessThumbnail()
/external/chromium_org/cc/output/
Dsoftware_renderer.cc555 gfx::Rect copy_rect = frame->current_render_pass->output_rect; in CopyCurrentRenderPassToBitmap() local
557 copy_rect.Intersect(request->area()); in CopyCurrentRenderPassToBitmap()
558 gfx::Rect window_copy_rect = MoveFromDrawToWindowSpace(copy_rect); in CopyCurrentRenderPassToBitmap()
Dgl_renderer.cc1992 gfx::Rect copy_rect = frame->current_render_pass->output_rect; in CopyCurrentRenderPassToBitmap() local
1994 copy_rect.Intersect(request->area()); in CopyCurrentRenderPassToBitmap()
1995 GetFramebufferPixelsAsync(copy_rect, request.Pass()); in CopyCurrentRenderPassToBitmap()