Home
last modified time | relevance | path

Searched refs:makeIntersect (Results 1 – 3 of 3) sorted by relevance

/external/skia/tests/graphite/
DRectTest.cpp103 CHECK(rect.intersects(rect2) == !rect.makeIntersect(rect2).isEmptyNegativeOrNaN()); in DEF_GRAPHITE_TEST()
104 CHECK(rect.makeIntersect(rect2) == rect2.makeIntersect(rect)); in DEF_GRAPHITE_TEST()
109 CHECK(rect.makeIntersect(rect2) == Rect(skIsect)); in DEF_GRAPHITE_TEST()
/external/skia/src/gpu/graphite/geom/
DRect.h132 AI Rect makeIntersect(Rect rect) const { return max(fVals, rect.fVals); } in makeIntersect() function
143 AI Rect& intersect(Rect rect) { return *this = this->makeIntersect(rect); } in intersect()
/external/skia/src/gpu/graphite/
DClipStack.cpp303 fOuterBounds = fLocalToDevice.mapRect(fShape.bounds()).makeIntersect(deviceBounds);
325 fOuterBounds = fShape.bounds().makeIntersect(deviceBounds);
326 fInnerBounds = Rect{SkRRectPriv::InnerBounds(xformed)}.makeIntersect(fOuterBounds);
362 Rect drawBounds = fOuterBounds.makeIntersect(scissor); in drawClip()
432 Rect intersection = fShape.rect().makeIntersect(other.fShape.rect()); in combine()