Home | History | Annotate | Download | only in hwui

Lines Matching refs:clipRect

153 bool StatefulBaseRenderer::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) {
156 return !mSnapshot->clipRect->isEmpty();
179 Rect* bounds = mSnapshot->previous->clipRect;
189 return !mSnapshot->clipRect->isEmpty();
194 return !mSnapshot->clipRect->isEmpty();
205 clipRect(bounds.left, bounds.top, bounds.right, bounds.bottom, SkRegion::kIntersect_Op);
224 * the clipRect. Does not modify the scissor.
244 Rect clipRect(*currentClipRect());
245 clipRect.snapToPixelBoundaries();
247 if (!clipRect.intersects(r)) return true;
251 *clipRequired = !clipRect.contains(r);
266 * clipRect. To be used when perfect, pixel accuracy is not possible (esp. with tessellation) but
283 Rect clipRect(*currentClipRect());
284 clipRect.snapToPixelBoundaries();
286 if (!clipRect.intersects(r)) return true;