Home
last modified time | relevance | path

Searched refs:quickReject (Results 1 – 12 of 12) sorted by relevance

/external/skia/tests/
DQuickRejectTest.cpp101 REPORTER_ASSERT(reporter, false == canvas.quickReject(r)); in test_layers()
104 REPORTER_ASSERT(reporter, true == canvas.quickReject(r)); in test_layers()
109 REPORTER_ASSERT(reporter, true == canvas.quickReject(SkRect::MakeWH(10, 10))); in test_layers()
110 REPORTER_ASSERT(reporter, false == canvas.quickReject(SkRect::MakeWH(60, 60))); in test_layers()
126 REPORTER_ASSERT(reporter, false == canvas.quickReject(r0)); in test_quick_reject()
127 REPORTER_ASSERT(reporter, true == canvas.quickReject(r1)); in test_quick_reject()
128 REPORTER_ASSERT(reporter, true == canvas.quickReject(r2)); in test_quick_reject()
129 REPORTER_ASSERT(reporter, false == canvas.quickReject(r3)); in test_quick_reject()
130 REPORTER_ASSERT(reporter, false == canvas.quickReject(r4)); in test_quick_reject()
131 REPORTER_ASSERT(reporter, false == canvas.quickReject(r5)); in test_quick_reject()
[all …]
/external/skia/src/core/
DSkCanvas.cpp1596 bool SkCanvas::quickReject(const SkRect& src) const { in quickReject() function in SkCanvas
1637 bool SkCanvas::quickReject(const SkPath& path) const { in quickReject() function in SkCanvas
1638 return path.isEmpty() || this->quickReject(path.getBounds()); in quickReject()
1971 if (this->quickReject(paint.computeFastStrokeBounds(r, &storage))) { in onDrawPoints()
2001 if (this->quickReject(paint.computeFastBounds(r, &storage))) { in onDrawRect()
2027 if (this->quickReject(paint.computeFastBounds(regionRect, &storage))) { in onDrawRegion()
2046 if (this->quickReject(paint.computeFastBounds(oval, &storage))) { in onDrawOval()
2068 if (this->quickReject(paint.computeFastBounds(oval, &storage))) { in onDrawArc()
2086 if (this->quickReject(paint.computeFastBounds(rrect.getBounds(), &storage))) { in onDrawRRect()
2113 if (this->quickReject(paint.computeFastBounds(outer.getBounds(), &storage))) { in onDrawDRRect()
[all …]
DSkRasterClip.h115 bool quickReject(const SkIRect& rect) const { in quickReject() function
DSkScan_Hairline.cpp158 if (clip.quickReject(r)) { in HairRect()
489 if (rclip.quickReject(ibounds)) { in hair_path()
DSkScan_Antihair.cpp582 if (clip->quickReject(ir)) { in AntiHairLineRgn()
935 if (clip->quickReject(outer)) { in AntiFrameRect()
DSkDraw.cpp782 if (fRC->quickReject(ir)) { in drawRect()
1207 return c.quickReject(dstR.roundOut()); in clipped_out()
1299 if (fRC->quickReject(bounds)) { in drawSprite()
DSkBlitter.cpp210 if (clip.quickReject(mask.fBounds)) { in blitMaskRegion()
/external/skia/bench/
DQuickRejectBench.cpp30 if (canvas->quickReject(*(SkRect*)(fFloats+i))) { in onDraw()
/external/skia/include/core/
DSkRegion.h210 bool quickReject(const SkIRect& rect) const { in quickReject() function
220 bool quickReject(const SkRegion& rgn) const { in quickReject() function
DSkCanvas.h505 bool quickReject(const SkRect& rect) const;
517 bool quickReject(const SkPath& path) const;
DSkRect.h225 bool quickReject(int l, int t, int r, int b) const { in quickReject() function
/external/skia/src/views/
DSkView.cpp100 if (this->isClipToBounds() && canvas->quickReject(r)) { in draw()