Home
last modified time | relevance | path

Searched refs:ibounds (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/gpu/ccpr/
DGrCCClipPath.cpp34 SkIRect ibounds; in accountForOwnPath() local
35 if (ibounds.intersect(fAccessRect, fPathDevIBounds)) { in accountForOwnPath()
36 specs->accountForSpace(ibounds.width(), ibounds.height()); in accountForOwnPath()
/external/skia/tools/fonts/
DTestSVGTypeface.cpp216 SkIRect ibounds; in generateMetrics() local
217 newBounds.roundOut(&ibounds); in generateMetrics()
218 glyph->fLeft = ibounds.fLeft; in generateMetrics()
219 glyph->fTop = ibounds.fTop; in generateMetrics()
220 glyph->fWidth = ibounds.width(); in generateMetrics()
221 glyph->fHeight = ibounds.height(); in generateMetrics()
720 SkIRect ibounds = bounds.roundOut(); in exportTtxCbdt() local
721 if (!SkTFitsIn<int8_t>(ibounds.fLeft) || !SkTFitsIn<int8_t>(ibounds.fTop) || in exportTtxCbdt()
722 !SkTFitsIn<uint8_t>(ibounds.width()) || !SkTFitsIn<uint8_t>(ibounds.height()) || in exportTtxCbdt()
759 SkIRect ibounds = bounds.roundOut(); in exportTtxCbdt() local
[all …]
DRandomScalerContext.cpp79 SkIRect ibounds; in generateMetrics() local
80 newBounds.roundOut(&ibounds); in generateMetrics()
81 glyph->fLeft = ibounds.fLeft; in generateMetrics()
82 glyph->fTop = ibounds.fTop; in generateMetrics()
83 glyph->fWidth = ibounds.width(); in generateMetrics()
84 glyph->fHeight = ibounds.height(); in generateMetrics()
/external/skqp/src/gpu/ccpr/
DGrCCClipPath.cpp60 SkIRect ibounds; in accountForOwnPath() local
61 if (ibounds.intersect(fAccessRect, fPathDevIBounds)) { in accountForOwnPath()
62 specs->fRenderedAtlasSpecs.accountForSpace(ibounds.width(), ibounds.height()); in accountForOwnPath()
/external/skqp/tools/fonts/
DSkTestSVGTypeface.cpp215 SkIRect ibounds; in generateMetrics() local
216 newBounds.roundOut(&ibounds); in generateMetrics()
217 glyph->fLeft = ibounds.fLeft; in generateMetrics()
218 glyph->fTop = ibounds.fTop; in generateMetrics()
219 glyph->fWidth = ibounds.width(); in generateMetrics()
220 glyph->fHeight = ibounds.height(); in generateMetrics()
647 SkIRect ibounds = bounds.roundOut(); in exportTtxCbdt() local
648 if (ibounds.isEmpty()) { in exportTtxCbdt()
651 SkImageInfo image_info = SkImageInfo::MakeN32Premul(ibounds.width(), ibounds.height()); in exportTtxCbdt()
812 SkIRect ibounds = bounds.roundOut(); in exportTtxSbix() local
[all …]
DSkRandomScalerContext.cpp91 SkIRect ibounds; in generateMetrics() local
92 newBounds.roundOut(&ibounds); in generateMetrics()
93 glyph->fLeft = ibounds.fLeft; in generateMetrics()
94 glyph->fTop = ibounds.fTop; in generateMetrics()
95 glyph->fWidth = ibounds.width(); in generateMetrics()
96 glyph->fHeight = ibounds.height(); in generateMetrics()
/external/skia/tools/viewer/
DBisectSlide.cpp63 SkIRect ibounds; in onDrawPath() local
65 bounds.roundOut(&ibounds); in onDrawPath()
66 fDrawBounds.join(ibounds); in onDrawPath()
/external/skqp/tools/viewer/
DBisectSlide.cpp68 SkIRect ibounds; in onDrawPath() local
70 bounds.roundOut(&ibounds); in onDrawPath()
71 fDrawBounds.join(ibounds); in onDrawPath()
/external/skqp/src/gpu/ops/
DGrAAHairLinePathRenderer.cpp257 SkIRect ibounds; in gather_lines_and_quads() local
274 SkIRect ibounds; in gather_lines_and_quads() local
277 bounds.roundOut(&ibounds); in gather_lines_and_quads()
280 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
337 bounds.roundOut(&ibounds); in gather_lines_and_quads()
338 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
380 bounds.roundOut(&ibounds); in gather_lines_and_quads()
381 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
412 bounds.roundOut(&ibounds); in gather_lines_and_quads()
413 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
[all …]
/external/skia/src/gpu/ops/
DGrAAHairLinePathRenderer.cpp258 SkIRect ibounds; in gather_lines_and_quads() local
275 SkIRect ibounds; in gather_lines_and_quads() local
278 bounds.roundOut(&ibounds); in gather_lines_and_quads()
281 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
338 bounds.roundOut(&ibounds); in gather_lines_and_quads()
339 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
381 bounds.roundOut(&ibounds); in gather_lines_and_quads()
382 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
413 bounds.roundOut(&ibounds); in gather_lines_and_quads()
414 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
[all …]
/external/turbine/java/com/google/turbine/lower/
DLowerSignature.java276 ImmutableList.Builder<Sig.TySig> ibounds = ImmutableList.builder(); in tyParamSig() local
291 ibounds.add(sig); in tyParamSig()
295 return new Sig.TyParamSig(identifier, cbound, ibounds.build()); in tyParamSig()
/external/skqp/src/ports/
DSkScalerContext_win_dw.cpp606 SkIRect ibounds = bounds.roundOut(); in generateColorMetrics() local
608 glyph->fWidth = ibounds.fRight - ibounds.fLeft; in generateColorMetrics()
609 glyph->fHeight = ibounds.fBottom - ibounds.fTop; in generateColorMetrics()
610 glyph->fLeft = ibounds.fLeft; in generateColorMetrics()
611 glyph->fTop = ibounds.fTop; in generateColorMetrics()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp591 SkIRect ibounds = bounds.roundOut(); in generateColorMetrics() local
593 glyph->fWidth = ibounds.fRight - ibounds.fLeft; in generateColorMetrics()
594 glyph->fHeight = ibounds.fBottom - ibounds.fTop; in generateColorMetrics()
595 glyph->fLeft = ibounds.fLeft; in generateColorMetrics()
596 glyph->fTop = ibounds.fTop; in generateColorMetrics()
/external/skqp/samplecode/
DSampleCCPRGeometry.cpp384 SkIRect ibounds; in onExecute() local
385 this->bounds().roundOut(&ibounds); in onExecute()
386 stroker.drawStrokes(state, batchID, ibounds); in onExecute()
/external/skia/src/core/
DSkAAClip.cpp1312 SkIRect ibounds; in setPath() local
1313 path.getBounds().roundOut(&ibounds); in setPath()
1317 tmpClip.setRect(ibounds); in setPath()
1327 ibounds = clip->getBounds(); in setPath()
1329 if (ibounds.isEmpty() || !ibounds.intersect(clip->getBounds())) { in setPath()
1332 snugClip.op(ibounds, SkRegion::kIntersect_Op); in setPath()
1335 Builder builder(ibounds); in setPath()
DSkScan_Hairline.cpp524 const SkIRect ibounds = path.getBounds().roundOut().makeOutset(capOut, capOut); in hair_path() local
525 if (rclip.quickReject(ibounds)) { in hair_path()
528 if (!rclip.quickContains(ibounds)) { in hair_path()
DSkCanvas.cpp1569 SkIRect ibounds = this->getDeviceClipBounds(); in getLocalClipBounds() local
1570 if (ibounds.isEmpty()) { in getLocalClipBounds()
1584 SkRect r = SkRect::Make(ibounds.makeOutset(margin, margin)); in getLocalClipBounds()
/external/skqp/src/core/
DSkAAClip.cpp1315 SkIRect ibounds; in setPath() local
1316 path.getBounds().roundOut(&ibounds); in setPath()
1320 tmpClip.setRect(ibounds); in setPath()
1330 ibounds = clip->getBounds(); in setPath()
1332 if (ibounds.isEmpty() || !ibounds.intersect(clip->getBounds())) { in setPath()
1335 snugClip.op(ibounds, SkRegion::kIntersect_Op); in setPath()
1338 Builder builder(ibounds); in setPath()
DSkScan_Hairline.cpp515 const SkIRect ibounds = path.getBounds().roundOut().makeOutset(capOut, capOut); in hair_path() local
516 if (rclip.quickReject(ibounds)) { in hair_path()
519 if (!rclip.quickContains(ibounds)) { in hair_path()
DSkCanvas.cpp1631 SkIRect ibounds = this->getDeviceClipBounds(); in getLocalClipBounds() local
1632 if (ibounds.isEmpty()) { in getLocalClipBounds()
1646 SkRect r = SkRect::Make(ibounds.makeOutset(margin, margin)); in getLocalClipBounds()