Lines Matching refs:empty

49     // is empty). This behavior is desired for the following clip effect policies.
54 // Regions with non-zero coverage are disjoint, so intersection = empty
73 // B's zero coverage region completely contains A, so intersection = empty
90 // A's zero coverage region completely contains B, so intersection = empty
190 // 0-2 are reserved for invalid, empty & wide-open
446 // 1 dimension, making the device-space geometry effectively empty.
521 // Then simplify the base shape, if it becomes empty, no need to update the bounds
528 // Lines and points should have been turned into empty since we assume everything is filled
535 // A non-empty shape is offscreen, so treat it as empty
589 // center. We could round out, but rasterization would still result in an empty clip.
628 // By floating point, it turns out the combination should be empty
655 // Like the rect+rect combination, the intersection is actually empty
686 // Mark both elements as invalid to signal that the clip is fully empty
747 // The gen ID should not be invalid, empty, or wide open, since those do not require masks
817 // The gen ID shouldn't be empty or wide open, since they are reserved for the above
869 SkASSERT(masks->empty() || masks->back().genID() != fGenID);
896 // Validity check the element's state first; if the shape class isn't empty, the outer bounds
897 // shouldn't be empty; if the inner bounds are not empty, they must be contained in outer.
904 // The clip is already empty, and we only shrink, so there's no need to record this element.
907 // An empty difference op should have been detected earlier, since it's a no-op
917 // The combination results in an empty clip
952 // NOTE: this does the right thing if either rect is empty, since we set the
953 // inner bounds to empty here
984 // We ought to have caught the cases where the stack bounds resemble an empty or wide open
1019 // Both new and old invalid implies the entire clip becomes empty
1151 SkASSERT(fProxyProvider || fMasks.empty());
1160 SkASSERT(!fSaves.empty());
1165 SkASSERT(!fSaves.empty());
1175 SkASSERT(fProxyProvider || fMasks.empty());
1452 SkASSERT(elementsForMask.empty() && !clipFP);
1457 if (cs.op() == SkClipOp::kIntersect && !elementsForMask.empty()) {
1463 if (!windowRects.empty()) {
1469 if (!elementsForMask.empty()) {
1557 // An empty op means do nothing (for difference), or close the save record, so we try and detect
1561 // If the shape is empty and we're subtracting, this has no effect on the clip
1564 // else we will make the clip empty, but we need a new save record to record that change
1575 // So instead of keeping an empty save record around, pop it off and restore the counter