Home | History | Annotate | Download | only in compositor

Lines Matching refs:RECT

49 SkCanvas* SoftwareOutputDeviceWin::BeginPaint(const gfx::Rect& damage_rect) {
67 gfx::Rect rect = damage_rect_;
68 rect.Intersect(gfx::Rect(viewport_pixel_size_));
69 if (rect.IsEmpty())
75 RECT wr;
93 RECT src_rect = rect.ToRECT();
94 skia::DrawToNativeContext(canvas, hdc, rect.x(), rect.y(), &src_rect);
99 void SoftwareOutputDeviceWin::CopyToPixels(const gfx::Rect& rect,
102 SkImageInfo info = SkImageInfo::MakeN32Premul(rect.width(), rect.height());
104 info, pixels, info.minRowBytes(), rect.x(), rect.y());