Home
last modified time | relevance | path

Searched refs:fRC (Results 1 – 25 of 41) sorted by relevance

12

/third_party/skia/src/core/
DSkDraw.cpp58 if (fRC->isEmpty()) { in computeConservativeLocalClipBounds()
67 SkIRect devBounds = fRC->getBounds(); in computeConservativeLocalClipBounds()
79 if (fRC->isEmpty()) { in drawPaint()
87 SkScan::FillIRect(devRect, *fRC, blitter.get()); in drawPaint()
96 const SkRasterClip* fRC; member
130 SkASSERT(rec.fRC->isRect()); in bw_pt_rect_16_hair_proc()
131 const SkIRect& r = rec.fRC->getBounds(); in bw_pt_rect_16_hair_proc()
151 SkASSERT(rec.fRC->isRect()); in bw_pt_rect_32_hair_proc()
152 const SkIRect& r = rec.fRC->getBounds(); in bw_pt_rect_32_hair_proc()
183 SkScan::HairLine(&devPts[i], 2, *rec.fRC, blitter); in bw_line_hair_proc()
[all …]
DSkDraw_text.cpp43 SkBlitter::Choose(fDst, *fMatrixProvider, paint, &alloc, false, fRC->clipShader()); in paintMasks()
48 *fCoverage, *fMatrixProvider, SkPaint(), &alloc, true, fRC->clipShader())); in paintMasks()
51 SkAAClipBlitterWrapper wrapper{*fRC, blitter}; in paintMasks()
54 bool useRegion = fRC->isBW() && !fRC->isRect(); in paintMasks()
62 SkRegion::Cliperator clipper(fRC->bwRgn(), mask.fBounds); in paintMasks()
82 SkIRect clipBounds = fRC->isBW() ? fRC->bwRgn().getBounds() in paintMasks()
83 : fRC->aaRgn().getBounds(); in paintMasks()
133 if (fRC->isEmpty()) { in drawGlyphRunList()
DSkRasterClipStack.h31 rec.fRC.setRect(fRootBounds); in setNewSize()
34 const SkRasterClip& rc() const { return fStack.back().fRC; } in rc()
100 SkRasterClip fRC; member
103 Rec(const SkRasterClip& rc) : fRC(rc), fDeferredCount(0) {} in Rec()
115 fStack.emplace_back(fStack.back().fRC); in writable_rc()
117 return fStack.back().fRC; in writable_rc()
DSkRasterClip.h129 SkAutoRasterClipValidate(const SkRasterClip& rc) : fRC(rc) { in SkAutoRasterClipValidate()
130 fRC.validate(); in SkAutoRasterClipValidate()
133 fRC.validate(); in ~SkAutoRasterClipValidate()
136 const SkRasterClip& fRC;
DSkDraw_vertices.cpp377 fDst, shaderPaint, *fMatrixProvider, outerAlloc, this->fRC->clipShader()); in drawFixedVertices()
387 fill_triangle(state, blitter, *fRC, dev2, dev3); in drawFixedVertices()
415 fDst, shaderPaint, pipeline, isOpaque, outerAlloc, fRC->clipShader()); in drawFixedVertices()
429 fill_triangle(state, blitter, *fRC, dev2, dev3); in drawFixedVertices()
454 fDst, shaderPaint, *matrixProvider, &innerAlloc, this->fRC->clipShader()); in drawFixedVertices()
458 fill_triangle(state, blitter, *fRC, dev2, dev3); in drawFixedVertices()
494 fDst, shaderPaint, *fMatrixProvider, outerAlloc, this->fRC->clipShader()); in drawFixedVertices()
510 fill_triangle(state, blitter, *fRC, dev2, dev3); in drawFixedVertices()
522 if (vertexCount < 3 || (indexCount > 0 && indexCount < 3) || fRC->isEmpty()) { in drawVertices()
DSkDraw_atlas.cpp156 fDst, p, pipeline, isOpaque, &alloc, fRC->clipShader()); in drawAtlas()
175 fill_rect(mx, *fRC, textures[i], blitter, &scratchPath); in drawAtlas()
194 fRC->clipShader())) { in drawAtlas()
206 fill_rect(mx, *fRC, textures[i], blitter, &scratchPath); in drawAtlas()
DSkAutoBlitterChoose.h39 draw.fRC->clipShader());
45 draw.fRC->clipShader());
DSkBitmapDevice.cpp109 fDraw.fRC = &fTileRC; in SkDrawTiler()
116 fDraw.fRC = &dev->fRCStack.rc(); in SkDrawTiler()
196 fRC = &dev->fRCStack.rc(); in BDDraw()
579 draw.fRC = &fRCStack.rc(); in drawDevice()
604 draw.fRC = &fRCStack.rc(); in drawSpecial()
DSkDraw.h162 const SkRasterClip* fRC{nullptr}; // required
/third_party/flutter/skia/src/core/
DSkDraw.cpp54 if (fRC->isEmpty()) { in computeConservativeLocalClipBounds()
63 SkIRect devBounds = fRC->getBounds(); in computeConservativeLocalClipBounds()
75 if (fRC->isEmpty()) { in drawPaint()
83 SkScan::FillIRect(devRect, *fRC, blitter.get()); in drawPaint()
92 const SkRasterClip* fRC; member
126 SkASSERT(rec.fRC->isRect()); in bw_pt_rect_16_hair_proc()
127 const SkIRect& r = rec.fRC->getBounds(); in bw_pt_rect_16_hair_proc()
147 SkASSERT(rec.fRC->isRect()); in bw_pt_rect_32_hair_proc()
148 const SkIRect& r = rec.fRC->getBounds(); in bw_pt_rect_32_hair_proc()
179 SkScan::HairLine(&devPts[i], 2, *rec.fRC, blitter); in bw_line_hair_proc()
[all …]
DSkDraw_text.cpp35 SkAAClipBlitterWrapper wrapper{*fRC, blitter}; in paintMasks()
38 bool useRegion = fRC->isBW() && !fRC->isRect(); in paintMasks()
42 SkRegion::Cliperator clipper(fRC->bwRgn(), mask.fBounds); in paintMasks()
61 SkIRect clipBounds = fRC->isBW() ? fRC->bwRgn().getBounds() in paintMasks()
62 : fRC->aaRgn().getBounds(); in paintMasks()
105 if (fRC->isEmpty()) { in drawGlyphRunList()
DSkRasterClipStack.h71 rec.fRC.setRect(fRootBounds); in SkRasterClipStack()
82 rec.fRC.setRect(fRootBounds); in setNewSize()
85 const SkRasterClip& rc() const { return fStack.top().fRC; } in rc()
143 SkRasterClip fRC; member
162 return fStack.top().fRC; in writable_rc()
169 rec.fRC.op(fRootBounds, SkRegion::kIntersect_Op); in trimIfExpanding()
DSkRasterClip.h192 SkAutoRasterClipValidate(const SkRasterClip& rc) : fRC(rc) { in SkAutoRasterClipValidate()
193 fRC.validate(); in SkAutoRasterClipValidate()
196 fRC.validate(); in ~SkAutoRasterClipValidate()
199 const SkRasterClip& fRC;
DSkDraw_vertices.cpp170 if (vertexCount < 3 || (indices && indexCount < 3) || fRC->isEmpty()) { in drawVertices()
304 SkScan::FillTriangle(tmp, *fRC, blitter); in drawVertices()
331 SkScan::FillTriangle(tmp, *fRC, blitter); in drawVertices()
344 const SkRasterClip& clip = *fRC; in drawVertices()
DSkBitmapDevice.cpp110 fDraw.fRC = &fTileRC; in SkDrawTiler()
117 fDraw.fRC = &dev->fRCStack.rc(); in SkDrawTiler()
196 fRC = &dev->fRCStack.rc(); in BDDraw()
568 draw.fRC = &fRCStack.rc(); in drawDevice()
DSkDraw.h159 const SkRasterClip* fRC{nullptr}; // required
DSkDraw_atlas.cpp114 fill_rect(mx, *fRC, textures[i], blitter); in drawAtlas()
DSkPixmap.cpp170 draw.fRC = &rc; in erase()
/third_party/flutter/skia/experimental/xform/
DXContext.cpp16 RasterClipCache(const SkRasterClip& rc) : fRC(std::move(rc)) {} in RasterClipCache()
18 SkRasterClip fRC; member in RasterClipCache
22 return ((RasterClipCache*)clip)->fRC; in peek_rasterclip()
30 , fRC(bounds) in RasterXformResolver()
37 fRC = rc; in RasterXformResolver()
45 fRC.op(r, fCTM, fBounds, (SkRegion::Op)op, false); in clipRect()
50 fRC.op(rr, fCTM, fBounds, (SkRegion::Op)op, false); in clipRRect()
54 fRC.op(p, fCTM, fBounds, (SkRegion::Op)op, false); in clipPath()
62 fCache = sk_sp<ClipCache>(new RasterClipCache(fRC)); in snapCache()
70 SkRasterClip fRC; member in RasterXformResolver
/third_party/skia/experimental/xform/
DXContext.cpp16 RasterClipCache(const SkRasterClip& rc) : fRC(std::move(rc)) {} in RasterClipCache()
18 SkRasterClip fRC; member in RasterClipCache
22 return ((RasterClipCache*)clip)->fRC; in peek_rasterclip()
30 , fRC(bounds) in RasterXformResolver()
37 fRC = rc; in RasterXformResolver()
45 fRC.op(r, fCTM, op, false); in clipRect()
50 fRC.op(rr, fCTM, op, false); in clipRRect()
54 fRC.op(p, fCTM, op, false); in clipPath()
62 fCache = sk_sp<ClipCache>(new RasterClipCache(fRC)); in snapCache()
70 SkRasterClip fRC; member in RasterXformResolver
/third_party/flutter/skia/bench/
DCoverageBench.cpp22 SkRasterClip fRC; member in DrawPathBench
44 fRC.setRect(fPath.getBounds().round()); in DrawPathBench()
48 fDraw.fRC = &fRC; in DrawPathBench()
/third_party/skia/bench/
DCoverageBench.cpp23 SkRasterClip fRC; member in DrawPathBench
45 fRC.setRect(fPath.getBounds().round()); in DrawPathBench()
49 fDraw.fRC = &fRC; in DrawPathBench()
/third_party/flutter/skia/src/gpu/
DGrSWMaskHelper.cpp91 fDraw.fRC = &fRasterClip; in init()
/third_party/skia/src/gpu/
DGrSWMaskHelper.cpp144 fDraw.fRC = &fRasterClip; in init()
/third_party/skia/src/gpu/ops/
DSmallPathRenderer.cpp421 draw.fRC = &rasterClip; in addDFPathToAtlas()
500 draw.fRC = &rasterClip; in addBMPathToAtlas()

12