Home
last modified time | relevance | path

Searched defs:rgn (Results 1 – 25 of 42) sorted by relevance

12

/third_party/skia/tests/
DRegionTest.cpp14 static void Union(SkRegion* rgn, const SkIRect& rect) { in Union()
18 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect)) argument
19 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect)) argument
20 #define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect)) argument
74 SkRegion rgn; in test_fromchrome() local
118 static void randRgn(SkRandom& rand, SkRegion* rgn, int n) { in randRgn()
142 static void test_contains_iter(skiatest::Reporter* reporter, const SkRegion& rgn) { in test_contains_iter()
171 static void test_intersects_iter(skiatest::Reporter* reporter, const SkRegion& rgn) { in test_intersects_iter()
414 SkRegion rgn; in DEF_TEST() local
431 SkRegion rgn; in DEF_TEST() local
[all …]
DAAClipTest.cpp71 static void copyToMask(const SkRegion& rgn, SkMask* mask) { in copyToMask()
133 static void make_rand_rgn(SkRegion* rgn, SkRandom& rand) { in make_rand_rgn()
140 static bool operator==(const SkRegion& rgn, const SkAAClip& aaclip) { in operator ==()
152 static bool equalsAAClip(const SkRegion& rgn) { in equalsAAClip()
158 static void setRgnToPath(SkRegion* rgn, const SkPath& path) { in setRgnToPath()
168 SkRegion rgn; in test_rgn() local
174 SkRegion rgn; in test_rgn() local
/third_party/flutter/skia/tests/
DRegionTest.cpp14 static void Union(SkRegion* rgn, const SkIRect& rect) { in Union()
18 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect)) argument
19 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect)) argument
20 #define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect)) argument
74 SkRegion rgn; in test_fromchrome() local
118 static void randRgn(SkRandom& rand, SkRegion* rgn, int n) { in randRgn()
142 static void test_contains_iter(skiatest::Reporter* reporter, const SkRegion& rgn) { in test_contains_iter()
171 static void test_intersects_iter(skiatest::Reporter* reporter, const SkRegion& rgn) { in test_intersects_iter()
414 SkRegion rgn; in DEF_TEST() local
431 SkRegion rgn; in DEF_TEST() local
[all …]
DAAClipTest.cpp71 static void copyToMask(const SkRegion& rgn, SkMask* mask) { in copyToMask()
112 static void make_rand_rgn(SkRegion* rgn, SkRandom& rand) { in make_rand_rgn()
119 static bool operator==(const SkRegion& rgn, const SkAAClip& aaclip) { in operator ==()
131 static bool equalsAAClip(const SkRegion& rgn) { in equalsAAClip()
137 static void setRgnToPath(SkRegion* rgn, const SkPath& path) { in setRgnToPath()
147 SkRegion rgn; in test_rgn() local
153 SkRegion rgn; in test_rgn() local
/third_party/flutter/skia/samplecode/
DSampleRegion.cpp140 static void paint_rgn(SkCanvas* canvas, const SkRegion& rgn, in paint_rgn()
165 void build_base_rgn(SkRegion* rgn) { in build_base_rgn()
172 void build_rgn(SkRegion* rgn, SkRegion::Op op) { in build_rgn()
191 SkRegion rgn; in drawPredicates() local
206 SkRegion rgn; in drawOrig() local
215 SkRegion rgn; in drawRgnOped() local
257 SkRegion rgn; in drawPathOped() local
/third_party/skia/include/core/
DSkRegion.h332 bool quickReject(const SkRegion& rgn) const { in quickReject()
393 bool op(const SkRegion& rgn, Op op) { return this->op(*this, rgn, op); } in op()
500 const SkRegion* rgn() const { return fRgn; } in rgn() function
/third_party/flutter/skia/include/core/
DSkRegion.h324 bool quickReject(const SkRegion& rgn) const { in quickReject()
407 bool op(const SkRegion& rgn, Op op) { return this->op(*this, rgn, op); } in op()
509 const SkRegion* rgn() const { return fRgn; } in rgn() function
/third_party/skia/gm/
Dclipdrawdraw.cpp58 SkRegion rgn({ 10, 10, 100, 100 }); variable
/third_party/flutter/skia/gm/
Dclipdrawdraw.cpp58 SkRegion rgn({ 10, 10, 100, 100 }); variable
/third_party/flutter/skia/src/core/
DSkRegion.cpp210 bool SkRegion::op(const SkIRect& rect, const SkRegion& rgn, Op op) { in op()
216 bool SkRegion::op(const SkRegion& rgn, const SkIRect& rect, Op op) { in op()
1029 static bool setRegionCheck(SkRegion* result, const SkRegion& rgn) { in setRegionCheck()
1357 void SkRegionPriv::Validate(const SkRegion& rgn) { SkASSERT(rgn.isValid()); } in Validate()
1377 SkRegion::Iterator::Iterator(const SkRegion& rgn) { in Iterator()
1389 void SkRegion::Iterator::reset(const SkRegion& rgn) { in reset()
1447 SkRegion::Cliperator::Cliperator(const SkRegion& rgn, const SkIRect& clip) in Cliperator()
1486 SkRegion::Spanerator::Spanerator(const SkRegion& rgn, int y, int left, in Spanerator()
1575 void SkRegionPriv::VisitSpans(const SkRegion& rgn, in VisitSpans()
DSkRasterClip.cpp106 void SkConservativeClip::opRegion(const SkRegion& rgn, SkRegion::Op op) { in opRegion()
144 SkRasterClip::SkRasterClip(const SkRegion& rgn) : fBW(rgn) { in SkRasterClip()
313 bool SkRasterClip::op(const SkRegion& rgn, SkRegion::Op op) { in op()
DSkClipStackDevice.cpp42 void SkClipStackDevice::onClipRegion(const SkRegion& rgn, SkClipOp op) { in onClipRegion()
DSkReader32.h122 bool readRegion(SkRegion* rgn) { in readRegion()
DSkRasterClipStack.h120 void clipRegion(const SkRegion& rgn, SkClipOp op) { in clipRegion()
DSkWriter32.h151 void writeRegion(const SkRegion& rgn) { in writeRegion()
DSkBitmapDevice.cpp761 void SkBitmapDevice::onClipRegion(const SkRegion& rgn, SkClipOp op) { in onClipRegion()
776 SkRegion rgn(*mutableClipRestriction); in onSetDeviceClipRestriction() local
/third_party/skia/src/core/
DSkRegion.cpp209 bool SkRegion::op(const SkIRect& rect, const SkRegion& rgn, Op op) { in op()
215 bool SkRegion::op(const SkRegion& rgn, const SkIRect& rect, Op op) { in op()
1028 static bool setRegionCheck(SkRegion* result, const SkRegion& rgn) { in setRegionCheck()
1355 void SkRegionPriv::Validate(const SkRegion& rgn) { SkASSERT(rgn.isValid()); } in Validate()
1375 SkRegion::Iterator::Iterator(const SkRegion& rgn) { in Iterator()
1387 void SkRegion::Iterator::reset(const SkRegion& rgn) { in reset()
1445 SkRegion::Cliperator::Cliperator(const SkRegion& rgn, const SkIRect& clip) in Cliperator()
1484 SkRegion::Spanerator::Spanerator(const SkRegion& rgn, int y, int left, in Spanerator()
1573 void SkRegionPriv::VisitSpans(const SkRegion& rgn, in VisitSpans()
DSkRasterClip.cpp46 SkRasterClip::SkRasterClip(const SkRegion& rgn) : fBW(rgn) { in SkRasterClip()
118 bool SkRasterClip::op(const SkRegion& rgn, SkClipOp op) { in op()
DSkClipStackDevice.cpp46 void SkClipStackDevice::onClipRegion(const SkRegion& rgn, SkClipOp op) { in onClipRegion()
DSkRasterClipStack.h73 void clipRegion(const SkRegion& rgn, SkClipOp op) { in clipRegion()
DSkWriter32.h145 void writeRegion(const SkRegion& rgn) { in writeRegion()
/third_party/flutter/skia/src/effects/
DSk2DPathEffect.cpp35 SkRegion rgn; in onFilterPath() local
/third_party/flutter/skia/src/effects/imagefilters/
DSkAlphaThresholdFilter.cpp89 SkRegion rgn; in CreateProc() local
/third_party/skia/src/effects/imagefilters/
DSkAlphaThresholdImageFilter.cpp89 SkRegion rgn; in CreateProc() local
/third_party/skia/src/effects/
DSk2DPathEffect.cpp80 SkRegion rgn; in onFilterPath() local

12