Lines Matching refs:ClipMode
179 ClipArea::ClipArea() : mMode(ClipMode::Rectangle) {} in ClipArea()
193 mMode = ClipMode::Rectangle; in setEmpty()
201 mMode = ClipMode::Rectangle; in setClip()
211 case ClipMode::Rectangle: in clipRectWithTransform()
214 case ClipMode::RectangleList: in clipRectWithTransform()
217 case ClipMode::Region: in clipRectWithTransform()
255 mMode = ClipMode::Rectangle; in enterRectangleMode()
289 ALOG_ASSERT(mMode == ClipMode::Rectangle); in enterRectangleListMode()
290 mMode = ClipMode::RectangleList; in enterRectangleListMode()
307 ClipMode oldMode = mMode; in enterRegionMode()
308 mMode = ClipMode::Region; in enterRegionMode()
309 if (oldMode != ClipMode::Region) { in enterRegionMode()
310 if (oldMode == ClipMode::Rectangle) { in enterRegionMode()
359 case ClipMode::Rectangle: in serializeClip()
362 case ClipMode::RectangleList: in serializeClip()
366 case ClipMode::Region: in serializeClip()
393 int recordedRectCount = (scb->mode == ClipMode::RectangleList) in cannotFitInRectangleList()
415 if (CC_LIKELY(mMode == ClipMode::Rectangle && recordedClip->mode == ClipMode::Rectangle && in serializeIntersectedClip()
423 } else if (CC_UNLIKELY(mMode == ClipMode::Region || in serializeIntersectedClip()
424 recordedClip->mode == ClipMode::Region || in serializeIntersectedClip()
429 case ClipMode::Rectangle: in serializeIntersectedClip()
441 case ClipMode::RectangleList: { in serializeIntersectedClip()
447 case ClipMode::Region: in serializeIntersectedClip()
454 case ClipMode::Rectangle: in serializeIntersectedClip()
457 case ClipMode::RectangleList: in serializeIntersectedClip()
461 case ClipMode::Region: in serializeIntersectedClip()
471 if (mMode == ClipMode::Rectangle) { in serializeIntersectedClip()
475 if (recordedClip->mode == ClipMode::Rectangle) { in serializeIntersectedClip()
497 if (CC_LIKELY(clip->mode == ClipMode::Rectangle)) { in applyClip()
499 } else if (CC_LIKELY(clip->mode == ClipMode::RectangleList)) { in applyClip()