Home
last modified time | relevance | path

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

12

/external/skia/tests/
DQuickRejectTest.cpp48 REPORTER_ASSERT(reporter, false == canvas.quickReject(r)); in test_layers()
51 REPORTER_ASSERT(reporter, true == canvas.quickReject(r)); in test_layers()
56 REPORTER_ASSERT(reporter, true == canvas.quickReject(SkRect::MakeWH(10, 10))); in test_layers()
57 REPORTER_ASSERT(reporter, false == canvas.quickReject(SkRect::MakeWH(60, 60))); in test_layers()
73 REPORTER_ASSERT(reporter, false == canvas.quickReject(r0)); in test_quick_reject()
74 REPORTER_ASSERT(reporter, true == canvas.quickReject(r1)); in test_quick_reject()
75 REPORTER_ASSERT(reporter, true == canvas.quickReject(r2)); in test_quick_reject()
76 REPORTER_ASSERT(reporter, false == canvas.quickReject(r3)); in test_quick_reject()
77 REPORTER_ASSERT(reporter, false == canvas.quickReject(r4)); in test_quick_reject()
78 REPORTER_ASSERT(reporter, false == canvas.quickReject(r5)); in test_quick_reject()
[all …]
/external/skqp/tests/
DQuickRejectTest.cpp96 REPORTER_ASSERT(reporter, false == canvas.quickReject(r)); in test_layers()
99 REPORTER_ASSERT(reporter, true == canvas.quickReject(r)); in test_layers()
104 REPORTER_ASSERT(reporter, true == canvas.quickReject(SkRect::MakeWH(10, 10))); in test_layers()
105 REPORTER_ASSERT(reporter, false == canvas.quickReject(SkRect::MakeWH(60, 60))); in test_layers()
121 REPORTER_ASSERT(reporter, false == canvas.quickReject(r0)); in test_quick_reject()
122 REPORTER_ASSERT(reporter, true == canvas.quickReject(r1)); in test_quick_reject()
123 REPORTER_ASSERT(reporter, true == canvas.quickReject(r2)); in test_quick_reject()
124 REPORTER_ASSERT(reporter, false == canvas.quickReject(r3)); in test_quick_reject()
125 REPORTER_ASSERT(reporter, false == canvas.quickReject(r4)); in test_quick_reject()
126 REPORTER_ASSERT(reporter, false == canvas.quickReject(r5)); in test_quick_reject()
[all …]
/external/skia/docs/examples/
DRegion_quickReject.cpp9 SkDebugf("quickReject 1: %s\n", region.quickReject(test) ? "true" : "false"); in draw()
11 SkDebugf("quickReject 2: %s\n", region.quickReject(test) ? "true" : "false"); in draw()
13 SkDebugf("quickReject 3: %s\n", region.quickReject(test) ? "true" : "false"); in draw()
DRegion_quickReject_2.cpp11 SkDebugf("quickReject 1: %s\n", region.quickReject(test) ? "true" : "false"); in draw()
13 SkDebugf("quickReject 2: %s\n", region.quickReject(test) ? "true" : "false"); in draw()
15 SkDebugf("quickReject 3: %s\n", region.quickReject(test) ? "true" : "false"); in draw()
DCanvas_quickReject.cpp11 SkDebugf("quickReject %s\n", canvas->quickReject(testRect) ? "true" : "false"); in draw()
15 SkDebugf("quickReject %s\n", canvas->quickReject(testRect) ? "true" : "false"); in draw()
DCanvas_quickReject_2.cpp14 SkDebugf("quickReject %s\n", canvas->quickReject(testPath) ? "true" : "false"); in draw()
18 SkDebugf("quickReject %s\n", canvas->quickReject(testPath) ? "true" : "false"); in draw()
/external/skqp/docs/
DSkRegion_Reference.bmh1167 #SeeAlso contains quickReject intersects
1194 #SeeAlso contains quickReject intersects
1200 #Method bool quickReject(const SkIRect& rect) const
1208 SkDebugf("quickReject 1: %s\n", region.quickReject(test) ? "true" : "false");
1210 SkDebugf("quickReject 2: %s\n", region.quickReject(test) ? "true" : "false");
1212 SkDebugf("quickReject 3: %s\n", region.quickReject(test) ? "true" : "false");
1214 quickReject 1: true
1215 quickReject 2: true
1216 quickReject 3: false
1226 #Method bool quickReject(const SkRegion& rgn) const
[all …]
DSkCanvas_Reference.bmh2122 #Method bool quickReject(const SkRect& rect) const
2134 SkDebugf("quickReject %s\n", canvas->quickReject(testRect) ? "true" : "false");
2138 SkDebugf("quickReject %s\n", canvas->quickReject(testRect) ? "true" : "false");
2141 quickReject true
2142 quickReject false
2150 #Method bool quickReject(const SkPath& path) const
2164 SkDebugf("quickReject %s\n", canvas->quickReject(testPath) ? "true" : "false");
2168 SkDebugf("quickReject %s\n", canvas->quickReject(testPath) ? "true" : "false");
2170 quickReject true
2171 quickReject false
[all …]
/external/skqp/src/core/
DSkCanvas.cpp1585 bool SkCanvas::quickReject(const SkRect& src) const { in quickReject() function in SkCanvas
1626 bool SkCanvas::quickReject(const SkPath& path) const { in quickReject() function in SkCanvas
1627 return path.isEmpty() || this->quickReject(path.getBounds()); in quickReject()
2049 if (this->quickReject(paint.computeFastStrokeBounds(r, &storage))) { in onDrawPoints()
2075 if (this->quickReject(paint.computeFastBounds(r, &storage))) { in onDrawRect()
2115 if (this->quickReject(paint.computeFastBounds(regionRect, &storage))) { in onDrawRegion()
2133 if (this->quickReject(paint.computeFastBounds(oval, &storage))) { in onDrawOval()
2154 if (this->quickReject(paint.computeFastBounds(oval, &storage))) { in onDrawArc()
2171 if (this->quickReject(paint.computeFastBounds(rrect.getBounds(), &storage))) { in onDrawRRect()
2198 if (this->quickReject(paint.computeFastBounds(outer.getBounds(), &storage))) { in onDrawDRRect()
[all …]
DSkColorSpaceXformCanvas.cpp124 if (!fTarget->quickReject(SkRect::Make(img->bounds()).makeOffset(l,t))) { in onDrawImage()
131 if (!fTarget->quickReject(dst)) { in onDrawImageRect()
140 if (!fTarget->quickReject(dst)) { in onDrawImageNine()
148 if (!fTarget->quickReject(dst)) { in onDrawImageLattice()
DSkRasterClip.h116 bool quickReject(const SkIRect& rect) const { in quickReject() function
DSkDraw.cpp663 if (fRC->quickReject(ir)) { in drawRect()
1050 return c.quickReject(dstR.roundOut()); in clipped_out()
1142 if (fRC->quickReject(bounds)) { in drawSprite()
DSkScan_Hairline.cpp171 if (clip.quickReject(r)) { in HairRect()
516 if (rclip.quickReject(ibounds)) { in hair_path()
/external/skia/src/core/
DSkCanvas.cpp1742 bool SkCanvas::quickReject(const SkRect& src) const { in quickReject() function in SkCanvas
1783 bool SkCanvas::quickReject(const SkPath& path) const { in quickReject() function in SkCanvas
1784 return path.isEmpty() || this->quickReject(path.getBounds()); in quickReject()
2257 if (this->quickReject(paint.computeFastStrokeBounds(r, &storage))) { in onDrawPoints()
2282 if (this->quickReject(paint.computeFastBounds(r, &storage))) { in onDrawRect()
2308 if (this->quickReject(paint.computeFastBounds(regionRect, &storage))) { in onDrawRegion()
2360 if (this->quickReject(paint.computeFastBounds(oval, &storage))) { in onDrawOval()
2381 if (this->quickReject(paint.computeFastBounds(oval, &storage))) { in onDrawArc()
2398 if (this->quickReject(paint.computeFastBounds(rrect.getBounds(), &storage))) { in onDrawRRect()
2425 if (this->quickReject(paint.computeFastBounds(outer.getBounds(), &storage))) { in onDrawDRRect()
[all …]
DSkRasterClip.h116 bool quickReject(const SkIRect& rect) const { in quickReject() function
DSkDraw.cpp663 if (fRC->quickReject(ir)) { in drawRect()
1053 return c.quickReject(dstR.roundOut()); in clipped_out()
1145 if (fRC->quickReject(bounds)) { in drawSprite()
DSkScan_Hairline.cpp171 if (clip.quickReject(r)) { in HairRect()
516 if (rclip.quickReject(ibounds)) { in hair_path()
DSkScan_Antihair.cpp593 if (clip->quickReject(ir)) { in AntiHairLineRgn()
946 if (clip->quickReject(outer)) { in AntiFrameRect()
/external/skia/include/core/
DSkRegion.h320 bool quickReject(const SkIRect& rect) const { in quickReject() function
332 bool quickReject(const SkRegion& rgn) const { in quickReject() function
/external/skqp/bench/
DQuickRejectBench.cpp30 if (canvas->quickReject(*(SkRect*)(fFloats+i))) { in onDraw()
/external/skia/bench/
DQuickRejectBench.cpp30 if (canvas->quickReject(*(SkRect*)(fFloats+i))) { in onDraw()
/external/skqp/include/core/
DSkRegion.h322 bool quickReject(const SkIRect& rect) const { in quickReject() function
334 bool quickReject(const SkRegion& rgn) const { in quickReject() function
/external/skia/samplecode/
DSample.cpp36 if (canvas->quickReject(r)) { in draw()
/external/skqp/samplecode/
DSample.cpp105 if (canvas->quickReject(r)) { in draw()
/external/skqp/site/user/api/
DSkRegion_Reference.md50 …bool <a href='#SkRegion_quickReject'>quickReject</a>(const <a href='SkIRect_Reference#SkIRect'>SkI…
51 …bool <a href='#SkRegion_quickReject'>quickReject</a>(const <a href='SkRegion_Reference#SkRegion'>S…
1576 <a href='#SkRegion_contains'>contains</a> <a href='#SkRegion_quickReject'>quickReject</a> <a href='…
1627 <a href='#SkRegion_contains'>contains</a> <a href='#SkRegion_quickReject'>quickReject</a> <a href='…
1634 bool <a href='#SkRegion_quickReject'>quickReject</a>(const <a href='SkIRect_Reference#SkIRect'>SkIR…
1659 quickReject 1: true
1660 quickReject 2: true
1661 quickReject 3: false
1675 bool <a href='#SkRegion_quickReject'>quickReject</a>(const <a href='SkRegion_Reference#SkRegion'>Sk…
1700 quickReject 1: true
[all …]

12