Lines Matching defs:inval
122 // drawn yet. As the first draw after a size change will do a full inval anyway,
125 // and when the size changes just inval the deltas. This prevents a full
127 IntRect inval = dirtyRect;
128 inval.intersect(IntRect(0, 0, m_size.width(), m_size.height()));
129 if (inval.isEmpty()) {
130 ALOGV("Rejecting inval " INT_RECT_FORMAT, INT_RECT_ARGS(dirtyRect));
135 m_webkitInvals[0].unite(inval);
137 m_webkitInvals.append(inval);
160 // Both width & height changed, full inval :(
202 // Build the invals (TODO: Support multiple inval regions)
203 IntRect inval = m_webkitInvals[0];
204 m_dirtyRegion.setRect(toSkIRect(inval));
206 inval.unite(m_webkitInvals[i]);
210 ALOGV("Webkit inval: " INT_RECT_FORMAT, INT_RECT_ARGS(inval));
211 if (inval.isEmpty())
218 if (pc.area.contains(inval)) {
223 if (pc.area == inval) {
224 appendToPile(inval);
230 } else if (pc.area.intersects(inval))
236 IntRect overlap = inval;
245 appendToPile(overlap, inval);
250 appendToPile(inval);
253 void PicturePile::appendToPile(const IntRect& inval, const IntRect& originalInval)
255 ALOGV("Adding inval " INT_RECT_FORMAT " for original inval " INT_RECT_FORMAT,
256 INT_RECT_ARGS(inval), INT_RECT_ARGS(originalInval));
259 if (inval.contains(m_pile[i].area))
262 PictureContainer container(inval);
265 ? inval : originalInval);
274 RefPtr<PrerenderedInval> inval = m_pile[i].prerendered;
275 if (inval.get() && inval->area.contains(area))
276 return inval.get();