Home
last modified time | relevance | path

Searched refs:quickReject (Results 1 - 15 of 15) sorted by relevance

/third_party/skia/tests/
H A DQuickRejectTest.cpp47 REPORTER_ASSERT(reporter, false == canvas.quickReject(r)); in test_layers()
50 REPORTER_ASSERT(reporter, true == canvas.quickReject(r)); in test_layers()
52 // Test that saveLayer updates quickReject in test_layers()
55 REPORTER_ASSERT(reporter, true == canvas.quickReject(SkRect::MakeWH(10, 10))); in test_layers()
56 REPORTER_ASSERT(reporter, false == canvas.quickReject(SkRect::MakeWH(60, 60))); in test_layers()
72 REPORTER_ASSERT(reporter, false == canvas.quickReject(r0)); in test_quick_reject()
73 REPORTER_ASSERT(reporter, true == canvas.quickReject(r1)); in test_quick_reject()
74 REPORTER_ASSERT(reporter, true == canvas.quickReject(r2)); in test_quick_reject()
75 REPORTER_ASSERT(reporter, false == canvas.quickReject(r3)); in test_quick_reject()
76 REPORTER_ASSERT(reporter, false == canvas.quickReject(r in test_quick_reject()
[all...]
/third_party/skia/docs/examples/
H A DRegion_quickReject_2.cpp11 SkDebugf("quickReject 1: %s\n", region.quickReject(test) ? "true" : "false"); in REG_FIDDLE()
13 SkDebugf("quickReject 2: %s\n", region.quickReject(test) ? "true" : "false"); in REG_FIDDLE()
15 SkDebugf("quickReject 3: %s\n", region.quickReject(test) ? "true" : "false"); in REG_FIDDLE()
H A DRegion_quickReject.cpp9 SkDebugf("quickReject 1: %s\n", region.quickReject(test) ? "true" : "false"); in REG_FIDDLE()
11 SkDebugf("quickReject 2: %s\n", region.quickReject(test) ? "true" : "false"); in REG_FIDDLE()
13 SkDebugf("quickReject 3: %s\n", region.quickReject(test) ? "true" : "false"); in REG_FIDDLE()
H A DCanvas_quickReject.cpp11 SkDebugf("quickReject %s\n", canvas->quickReject(testRect) ? "true" : "false"); in REG_FIDDLE()
15 SkDebugf("quickReject %s\n", canvas->quickReject(testRect) ? "true" : "false"); in REG_FIDDLE()
H A DCanvas_quickReject_2.cpp14 SkDebugf("quickReject %s\n", canvas->quickReject(testPath) ? "true" : "false"); in REG_FIDDLE()
18 SkDebugf("quickReject %s\n", canvas->quickReject(testPath) ? "true" : "false"); in REG_FIDDLE()
/third_party/skia/include/core/
H A DSkRegion.h320 bool quickReject(const SkIRect& rect) const { in quickReject() function in SkRegion
332 bool quickReject(const SkRegion& rgn) const { in quickReject() function in SkRegion
H A DSkCanvas.h1053 bool quickReject(const SkRect& rect) const;
1065 bool quickReject(const SkPath& path) const;
/third_party/skia/bench/
H A DQuickRejectBench.cpp30 if (canvas->quickReject(*(SkRect*)(fFloats+i))) {
/third_party/skia/samplecode/
H A DSample.cpp36 if (canvas->quickReject(r)) { in draw()
/third_party/skia/src/core/
H A DSkRasterClip.h78 bool quickReject(const SkIRect& rect) const { in quickReject() function in SkRasterClip
H A DSkDraw.cpp665 if (fRC->quickReject(ir)) { in drawRect()
1050 return c.quickReject(dstR.roundOut()); in clipped_out()
1144 if (fRC->quickReject(bounds)) { in drawSprite()
H A DSkScan_Hairline.cpp180 if (clip.quickReject(r)) {
525 if (rclip.quickReject(ibounds)) {
H A DSkCanvas.cpp1624 bool SkCanvas::quickReject(const SkRect& src) const {
1634 bool SkCanvas::quickReject(const SkPath& path) const {
1635 return path.isEmpty() || this->quickReject(path.getBounds());
1646 return this->quickReject(paint.computeFastBounds(tmp, &tmp));
1922 // We don't test quickReject because the shadow outsets the path's bounds.
2550 // We could calculate the set's dstRect union to always check quickReject(), but we can't reject
2571 // If we happen to have the draw bounds, though, might as well check quickReject().
H A DSkScan_Antihair.cpp592 if (clip->quickReject(ir)) {
945 if (clip->quickReject(outer)) {
H A DSkBlitter.cpp277 if (clip.quickReject(mask.fBounds)) { in blitMaskRegion()

Completed in 17 milliseconds