Home
last modified time | relevance | path

Searched refs:GrClip (Results 1 – 25 of 68) sorted by relevance

123

/third_party/skia/src/gpu/v1/
DSurfaceDrawContext_v1.h27 class GrClip; variable
144 void drawPaint(const GrClip*, GrPaint&&, const SkMatrix& viewMatrix);
155 void drawRect(const GrClip*,
171 void fillRectToRect(const GrClip*,
181 void fillPixelsWithLocalMatrix(const GrClip* clip, in fillPixelsWithLocalMatrix()
197 void fillRectWithEdgeAA(const GrClip* clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA,
222 void fillQuadWithEdgeAA(const GrClip* clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA, in fillQuadWithEdgeAA()
232 void drawQuadSet(const GrClip* clip, GrPaint&& paint, GrAA aa, const SkMatrix& viewMatrix,
241 void drawTexture(const GrClip*,
262 void drawTextureQuad(const GrClip* clip, in drawTextureQuad()
[all …]
DSurfaceDrawContext.cpp327 void SurfaceDrawContext::drawGlyphRunListNoCache(const GrClip* clip, in drawGlyphRunListNoCache()
349 void SurfaceDrawContext::drawGlyphRunListWithCache(const GrClip* clip, in drawGlyphRunListWithCache()
398 void SurfaceDrawContext::drawGlyphRunList(const GrClip* clip, in drawGlyphRunList()
424 void SurfaceDrawContext::drawPaint(const GrClip* clip, in drawPaint()
461 const GrClip* clip, const GrUserStencilSettings* stencilSettings, GrAA* aa, DrawQuad* quad, in attemptQuadOptimization()
491 GrClip::IsOutsideClip(SkIRect::MakeSize(this->dimensions()), drawBounds, GrAA::kYes)) { in attemptQuadOptimization()
509 GrClip::PreClipResult result = clip ? clip->preApply(drawBounds, *aa) in attemptQuadOptimization()
510 : GrClip::PreClipResult(GrClip::Effect::kUnclipped); in attemptQuadOptimization()
512 case GrClip::Effect::kClippedOut: in attemptQuadOptimization()
514 case GrClip::Effect::kUnclipped: in attemptQuadOptimization()
[all …]
DClipStack.cpp405 : fBounds(GrClip::GetPixelIBounds(drawBounds, aa, BoundsType::kExterior)) in Draw()
408 fOriginalBounds = drawBounds.makeInset(GrClip::kBoundsTolerance, GrClip::kBoundsTolerance); in Draw()
549 fOuterBounds = GrClip::GetPixelIBounds(outer, fAA, BoundsType::kExterior); in simplify()
566 fInnerBounds = GrClip::GetPixelIBounds(outer, fAA, BoundsType::kInterior); in simplify()
579 fInnerBounds = GrClip::GetPixelIBounds(inner, fAA, BoundsType::kInterior); in simplify()
612 if (GrClip::IsPixelAligned(fShape.rect())) { in combine()
616 } else if (!GrClip::IsPixelAligned(other.fShape.rect())) { in combine()
1202 GrClip::PreClipResult ClipStack::preApply(const SkRect& bounds, GrAA aa) const { in preApply()
1205 return GrClip::Effect::kClippedOut; in preApply()
1211 return GrClip::Effect::kClippedOut; in preApply()
[all …]
DPathRenderer.h16 class GrClip; variable
123 const GrClip* fClip;
/third_party/flutter/skia/src/gpu/
DGrRenderTargetContext.h26 class GrClip; variable
62 virtual void drawGlyphRunList(const GrClip&, const SkMatrix& viewMatrix, const SkGlyphRunList&);
87 void drawPaint(const GrClip&, GrPaint&&, const SkMatrix& viewMatrix);
98 void drawRect(const GrClip&,
114 void fillRectToRect(const GrClip& clip, in fillRectToRect()
128 void fillRectWithLocalMatrix(const GrClip& clip, in fillRectWithLocalMatrix()
146 void fillRectWithEdgeAA(const GrClip& clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA,
166 void fillQuadWithEdgeAA(const GrClip& clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA, in fillQuadWithEdgeAA()
184 void drawQuadSet(const GrClip& clip, GrPaint&& paint, GrAA aa, const SkMatrix& viewMatrix,
193 void drawTexture(const GrClip& clip, sk_sp<GrTextureProxy> proxy, GrSamplerState::Filter filter, in drawTexture()
[all …]
DGrReducedClip.cpp59 if (GrClip::IsOutsideClip(stackBounds, queryBounds)) { in GrReducedClip()
70 if (GrClip::IsInsideClip(stackBounds, queryBounds)) { in GrReducedClip()
77 if (!iter.prev()->isAA() || GrClip::IsPixelAligned(stackBounds)) { in GrReducedClip()
87 fScissor = GrClip::GetPixelIBounds(tightBounds); in GrReducedClip()
104 SkAssertResult(tighterQuery.intersect(GrClip::GetPixelBounds(stackBounds))); in GrReducedClip()
107 fScissor = GrClip::GetPixelIBounds(tighterQuery); in GrReducedClip()
152 SkRect relaxedQueryBounds = queryBounds.makeInset(GrClip::kBoundsTolerance, in walkStack()
153 GrClip::kBoundsTolerance); in walkStack()
185 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
199 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
[all …]
DGrSoftwarePathRenderer.h28 const GrClip& clip,
39 const GrClip& clip,
46 const GrClip& clip,
58 const GrClip& clip,
DGrBlurUtils.h13 class GrClip; variable
38 const GrClip&,
49 const GrClip&,
DGrRenderTargetContext.cpp81 void addDrawOp(const GrClip& clip, std::unique_ptr<GrAtlasTextOp> op) override { in addDrawOp()
85 void drawShape(const GrClip& clip, const SkPaint& paint, in drawShape()
221 const GrClip& clip, const SkMatrix& viewMatrix, in drawGlyphRunList()
420 void GrRenderTargetContext::drawPaint(const GrClip& clip, in drawPaint()
472 const GrClip& clip, const SkPMColor4f* constColor, in attemptQuadOptimization()
561 } else if (GrClip::IsPixelAligned(drawBounds) && in attemptQuadOptimization()
628 void GrRenderTargetContext::drawFilledQuad(const GrClip& clip, in drawFilledQuad()
656 const GrClip& finalClip = opt == QuadOptimization::kClipApplied ? GrFixedClip::Disabled() in drawFilledQuad()
666 void GrRenderTargetContext::drawTexturedQuad(const GrClip& clip, in drawTexturedQuad()
694 const GrClip& finalClip = opt == QuadOptimization::kClipApplied ? GrFixedClip::Disabled() in drawTexturedQuad()
[all …]
DGrClip.h22 class GrClip {
41 virtual ~GrClip() {} in ~GrClip()
139 class GrHardClip : public GrClip {
DGrBlurUtils.cpp37 const GrClip& clip, in draw_mask()
63 const GrClip& clipData, in sw_draw_with_mask_filter()
231 const GrClip& clip, in get_shape_and_clip_bounds()
251 const GrClip& clip, in draw_shape_with_mask_filter()
432 const GrClip& clip, in drawShapeWithMaskFilter()
443 const GrClip& clip, in drawShapeWithMaskFilter()
DGrRenderTargetContextPriv.h69 const GrClip& clip, const GrUserStencilSettings* ss, GrPaint&& paint,
111 void testingOnly_addDrawOp(const GrClip&, std::unique_ptr<GrDrawOp>,
DGrPathRenderer.h16 class GrClip; variable
116 const GrClip* fClip;
/third_party/skia/src/gpu/ops/
DSoftwarePathRenderer.h32 const GrClip*,
43 const GrClip*,
50 const GrClip*,
62 const GrClip*,
DTextureOp.h18 class GrClip; variable
68 const GrClip*,
DFillRectOp.h15 class GrClip; variable
58 const GrClip*,
/third_party/skia/src/gpu/
DGrBlurUtils.h13 class GrClip; variable
37 const GrClip*,
48 const GrClip*,
DGrFixedClip.cpp16 GrClip::PreClipResult GrFixedClip::preApply(const SkRect& drawBounds, GrAA aa) const { in preApply()
34 GrClip::Effect GrFixedClip::apply(GrAppliedHardClip* out, SkIRect* bounds) const { in apply()
DGrClip.h22 class GrClip {
49 virtual ~GrClip() {} in ~GrClip()
204 class GrHardClip : public GrClip {
DGrBlurUtils.cpp46 const GrClip* clip, in draw_mask()
266 const GrClip* clip, in get_shape_and_clip_bounds()
466 const GrClip* clip, in draw_shape_with_mask_filter()
556 const GrClip* clip, in drawShapeWithMaskFilter()
567 const GrClip* clip, in drawShapeWithMaskFilter()
595 const GrClip*, in drawShapeWithMaskFilter() argument
604 const GrClip*, in drawShapeWithMaskFilter() argument
/third_party/flutter/skia/src/gpu/text/
DGrTextTarget.h15 class GrClip; variable
33 virtual void addDrawOp(const GrClip&, std::unique_ptr<GrAtlasTextOp> op) = 0;
35 virtual void drawShape(const GrClip&, const SkPaint&,
/third_party/skia/src/gpu/text/
DGrTextBlob.cpp178 void draw(const GrClip*,
217 void PathSubRun::draw(const GrClip* clip, in draw()
462 void draw(const GrClip*,
468 std::tuple<const GrClip*, GrOp::Owner>
469 makeAtlasTextOp(const GrClip* clip,
591 void DirectMaskSubRun::draw(const GrClip* clip, in draw()
612 calculate_clip(const GrClip* clip, SkRect deviceBounds, SkRect glyphBounds) { in calculate_clip()
617 case GrClip::Effect::kClippedOut: in calculate_clip()
619 case GrClip::Effect::kUnclipped: in calculate_clip()
621 case GrClip::Effect::kClipped: { in calculate_clip()
[all …]
DGrTextBlob.h76 virtual std::tuple<const GrClip*, GrOp::Owner>
78 const GrClip*,
113 virtual void draw(const GrClip*,
302 const GrClip*,
327 const GrClip* const fClip;
/third_party/skia/tests/
DGrClipStackTest.cpp257 elementBounds = GrClip::GetPixelIBounds(e.fLocalToDevice.mapRect(e.fShape.bounds()), in getOptimalBounds()
258 e.fAA, GrClip::BoundsType::kExterior); in getOptimalBounds()
263 elementBounds = GrClip::GetPixelIBounds(e.fShape.rect(), e.fAA, in getOptimalBounds()
264 GrClip::BoundsType::kInterior); in getOptimalBounds()
266 elementBounds = GrClip::GetPixelIBounds(SkRRectPriv::InnerBounds(e.fShape.rrect()), in getOptimalBounds()
267 e.fAA, GrClip::BoundsType::kInterior); in getOptimalBounds()
1740 GrClip::Effect effect = cs.apply(context.get(), sdc.get(), NoOp::Get(), GrAAType::kCoverage, in DEF_TEST()
1743 REPORTER_ASSERT(r, effect == GrClip::Effect::kClipped); in DEF_TEST()
1803 GrClip::PreClipResult result = cs.preApply({-10.f, -10.f, -1.f, -1.f}, GrAA::kYes); in DEF_TEST()
1804 REPORTER_ASSERT(r, result.fEffect == GrClip::Effect::kClippedOut, in DEF_TEST()
[all …]
/third_party/flutter/skia/src/core/
DSkMaskFilterBase.h19 class GrClip; variable
114 const GrClip&,

123