Lines Matching full:bounds
58 virtual bool coversBounds(const Rect& bounds) { return false; }
71 // NOTE: ignore empty bounds special case, since we don't merge across those ops
83 DEFER_LOGD("op intersects with op %p with bounds %f %f %f %f:", mOps[i].op,
112 const Rect& bounds = state->mBounds;
117 renderer.drawScreenSpaceColorRect(bounds.left, bounds.top, bounds.right, bounds.bottom,
126 virtual bool coversBounds(const Rect& bounds) {
127 if (CC_LIKELY(!mAllOpsOpaque || !mBounds.contains(bounds) || count() == 1)) return false;
129 Region uncovered(android::Rect(bounds.left, bounds.top, bounds.right, bounds.bottom));
143 Rect mBounds; // union of bounds of contained ops
157 * Helper for determining if a new op can merge with a MergingDrawBatch based on their bounds
158 * and clip side flags. Positive bounds delta means new bounds fit in old.
165 // if current is clipped, we must be able to fit new bounds in current
168 // if new is clipped, we must be able to fit current bounds in new
204 * Exploits the fact that if a op or batch is clipped on a side, its bounds will equal its
501 /* 1: op calculates local bounds */
505 // valid empty bounds, don't bother deferring
513 /* 2: renderer calculates global bounds + stores state */
552 // don't know the bounds for op, so add to last batch and start from scratch on next op
558 DEFER_LOGD("Warning: Encountered op with empty bounds, resetting batches");