Lines Matching refs:rects
612 static bool shouldCoalesce(const IntRect& rect, const Vector<IntRect>& rects)
616 bool useUnionedRect = (rects.size() <= 1) || (rects.size() > cRectThreshold);
619 // Attempt to guess whether or not we should use the unioned rect or the individual rects.
624 for (size_t i = 0; i < rects.size(); ++i)
625 singlePixels += rects[i].width() * rects[i].height();
632 static void paintWebView(Frame* frame, gboolean transparent, GraphicsContext& context, const IntRect& clipRect, const Vector<IntRect>& rects)
636 if (rects.size() > 0)
637 coalesce = shouldCoalesce(clipRect, rects);
645 for (size_t i = 0; i < rects.size(); i++) {
646 IntRect rect = rects[i];
676 GOwnPtr<GdkRectangle> rects;
677 gdk_region_get_rectangles(event->region, &rects.outPtr(), &rectCount);
680 paintRects.append(IntRect(rects.get()[i]));
705 Vector<IntRect> rects;
708 rects.append(enclosingIntRect(FloatRect(rectList->rectangles[i])));
710 paintWebView(frame, priv->transparent, gc, rect, rects);