Home
last modified time | relevance | path

Searched refs:preApply (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/src/gpu/v1/
H A DStencilClip.h55 PreClipResult preApply(const SkRect& drawBounds, GrAA aa) const final {
57 return this->INHERITED::preApply(drawBounds, aa);
59 return fFixedClip.preApply(drawBounds, aa);
H A DClipStack.h79 GrClip::PreClipResult preApply(const SkRect& drawBounds, GrAA aa) const override;
H A DSurfaceDrawContext.cpp511 GrClip::PreClipResult result = clip ? clip->preApply(drawBounds, *aa) in attemptQuadOptimization()
544 // Our fractional bounds aren't actually inside the clip. GrClip::preApply() can sometimes in attemptQuadOptimization()
1059 GrClip::PreClipResult result = clip->preApply(devRRect.getBounds(), aa); in drawRRect()
H A DClipStack.cpp1202 GrClip::PreClipResult ClipStack::preApply(const SkRect& bounds, GrAA aa) const { in preApply() function in skgpu::v1::ClipStack
1245 // iterate per element like we would in apply(), but preApply() is meant to be in preApply()
/third_party/skia/src/gpu/
H A DGrFixedClip.h51 PreClipResult preApply(const SkRect& drawBounds, GrAA aa) const final;
H A DGrFixedClip.cpp16 GrClip::PreClipResult GrFixedClip::preApply(const SkRect& drawBounds, GrAA aa) const { in preApply() function in GrFixedClip
H A DGrClip.h77 * with one exception. When 'result.fIsRRect' is true, preApply() reports the single round rect
86 virtual PreClipResult preApply(const SkRect& drawBounds, GrAA aa) const { in preApply() function in GrClip
/third_party/skia/tests/
H A DGrClipStackTest.cpp1795 // Tests preApply works as expected for device rects, rrects, and reports clipped-out, etc. as
1803 GrClip::PreClipResult result = cs.preApply({-10.f, -10.f, -1.f, -1.f}, GrAA::kYes); in DEF_TEST()
1808 result = cs.preApply({-10.f, -10.f, 10.f, 10.f}, GrAA::kYes); in DEF_TEST()
1815 result = cs.preApply({0.f, 0.f, 20.f, 20.f}, GrAA::kYes); in DEF_TEST()
1821 // don't support an inner bounds and anything complex is otherwise skipped in preApply). in DEF_TEST()
1826 result = cs.preApply(rect, GrAA::kYes); in DEF_TEST()
1831 result = cs.preApply({50.f, 50.f, 60.f, 60.f}, GrAA::kYes); in DEF_TEST()
1840 result = cs.preApply(path.getBounds(), GrAA::kNo); in DEF_TEST()
1848 result = cs.preApply(rect.makeOffset(2.f, 2.f), GrAA::kNo); in DEF_TEST()
1853 "kDeviceRect clip stack should be reported by preApply"); in DEF_TEST()
[all...]
/third_party/skia/src/gpu/text/
H A DGrTextBlob.cpp622 switch (auto result = clip->preApply(glyphBounds, GrAA::kNo); result.fEffect) { in calculate_clip()

Completed in 17 milliseconds