Home | History | Annotate | Download | only in hwui

Lines Matching refs:recordedClip

418         const ClipBase* recordedClip, const Matrix4& recordedClipTransform) {
420 // if no recordedClip passed, just serialize current state
421 if (!recordedClip) return serializeClip(allocator);
424 if (CC_UNLIKELY(recordedClip->rect.isEmpty())|| mClipRect.isEmpty()) return &sEmptyClipRect;
427 || recordedClip != mLastResolutionClip
429 mLastResolutionClip = recordedClip;
433 && recordedClip->mode == ClipMode::Rectangle
436 auto rectClip = allocator.create<ClipRect>(recordedClip->rect);
442 || recordedClip->mode == ClipMode::Region
443 || cannotFitInRectangleList(*this, recordedClip))) {
446 switch (recordedClip->mode) {
450 Rect resultClip(recordedClip->rect);
454 SkPath transformedRect = pathFromTransformedRectangle(recordedClip->rect,
460 RectangleList transformedList(getRectList(recordedClip));
466 other = getRegion(recordedClip);
493 if (recordedClip->mode == ClipMode::Rectangle) {
494 rectList.intersectWith(recordedClip->rect, recordedClipTransform);
496 const RectangleList& other = getRectList(recordedClip);