Home
last modified time | relevance | path

Searched refs:fClip (Results 1 – 25 of 33) sorted by relevance

12

/external/skia/src/gpu/ops/
DGrClearOp.h40 if (fClip.scissorEnabled()) { in dumpInfo()
41 const SkIRect& r = fClip.scissorRect(); in dumpInfo()
55 , fClip(clip) in GrClearOp()
58 if (fClip.scissorEnabled()) { in GrClearOp()
60 if (!fClip.intersect(rtRect)) { in GrClearOp()
63 if (fClip.scissorRect() == rtRect) { in GrClearOp()
64 fClip.disableScissor(); in GrClearOp()
67 this->setBounds(SkRect::Make(fClip.scissorEnabled() ? fClip.scissorRect() : rtRect), in GrClearOp()
74 , fClip(GrFixedClip(rect)) in GrClearOp()
78 fClip.disableScissor(); in GrClearOp()
[all …]
DGrClearStencilClipOp.h31 if (fClip.scissorEnabled()) { in dumpInfo()
32 const SkIRect& r = fClip.scissorRect(); in dumpInfo()
44 , fClip(clip) in GrClearStencilClipOp()
47 const SkRect& bounds = fClip.scissorEnabled() ? SkRect::Make(fClip.scissorRect()) in GrClearStencilClipOp()
57 state->commandBuffer()->clearStencilClip(fRenderTarget.get(), fClip, fInsideStencilMask); in onExecute()
60 const GrFixedClip fClip; variable
DGrStencilAndCoverPathRenderer.cpp80 args.fRenderTargetContext->priv().stencilPath(*args.fClip, args.fAAType, in onStencilPath()
119 args.fRenderTargetContext->priv().stencilPath(*args.fClip, args.fAAType, viewMatrix, in onDrawPath()
144 args.fRenderTargetContext->addMeshDrawOp(pipelineBuilder, *args.fClip, in onDrawPath()
151 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
DGrDashLinePathRenderer.cpp58 args.fRenderTargetContext->addMeshDrawOp(pipelineBuilder, *args.fClip, std::move(op)); in onDrawPath()
DGrTessellatingPathRenderer.cpp358 args.fClip->getConservativeBounds(args.fRenderTargetContext->width(), in onDrawPath()
369 args.fRenderTargetContext->addMeshDrawOp(pipelineBuilder, *args.fClip, std::move(op)); in onDrawPath()
DGrDefaultPathRenderer.cpp591 *args.fClip, in onDrawPath()
606 GrUserStencilSettings::kUnused, *args.fClip, *args.fViewMatrix, in onStencilPath()
DGrMSAAPathRenderer.cpp693 *args.fClip, in onDrawPath()
709 GrUserStencilSettings::kUnused, *args.fClip, *args.fViewMatrix, in onStencilPath()
/external/skia/samplecode/
DSampleMegaStroke.cpp16 fClip.set(0, 0, 950, 600); in MegaStrokeView()
38 fClip.set(0, 0, 950, 600); in onQuery()
43 fClip.set(0, 0, 950, 600); in onQuery()
59 canvas->clipRect(fClip); in onDrawContent()
77 fClip = divSim; in onDrawContent()
81 fClip.set(0, 0, 950, 600); in onSizeChange()
90 SkRect fClip; member in MegaStrokeView
DSamplePathClip.cpp156 SkRect fClip; member in EdgeClipView
159 EdgeClipView() : fClip(SkRect::MakeLTRB(150, 150, 550, 450)) { in EdgeClipView()
211 canvas->drawRect(fClip, p); in onDrawContent()
216 canvas->clipRect(fClip); in onDrawContent()
231 draw_clipped_line(canvas, fClip, fPoly[i], fPoly[j], p); in onDrawContent()
302 if (fClip.intersects(SkRect::MakeLTRB(x - 1, y - 1, x + 1, y + 1))) { in onFindClickHandler()
303 return new DragRectClick(this, &fClip); in onFindClickHandler()
DSamplePathFuzz.cpp150 fClip = makePath(); in randomize()
162 return fClip; in getClip()
583 SkPath fClip; member in FuzzPath
/external/skia/gm/
Dcomplexclip2.cpp27 : fClip(clip) in ComplexClip2GM()
124 if (kRect_Clip == fClip && !fAntiAlias) { in onShortName()
130 ClipStr(fClip), in onShortName()
159 switch (fClip) { in onDraw()
173 switch (fClip) { in onDraw()
197 Clip fClip; member in skiagm::ComplexClip2GM
/external/skia/src/core/
DSkQuadClipper.cpp12 fClip.setEmpty(); in SkQuadClipper()
17 fClip.set(clip); in setClip()
66 const SkScalar ctop = fClip.fTop; in clipQuad()
67 const SkScalar cbot = fClip.fBottom; in clipQuad()
DSkCubicClipper.cpp13 fClip.setEmpty(); in SkCubicClipper()
18 fClip.set(clip); in setClip()
123 const SkScalar ctop = fClip.fTop; in clipCubic()
124 const SkScalar cbot = fClip.fBottom; in clipCubic()
DSkCubicClipper.h31 SkRect fClip;
DSkQuadClipper.h29 SkRect fClip;
DSkDraw.cpp272 const SkRegion* fClip; member
291 SkASSERT(rec.fClip->isRect()); in bw_pt_rect_hair_proc()
292 const SkIRect& r = rec.fClip->getBounds(); in bw_pt_rect_hair_proc()
350 if (rec.fClip->contains(x, y)) { in bw_pt_hair_proc()
432 fClip = nullptr; in init()
448 fClip = nullptr; in init()
462 fClip = &fRC->bwRgn(); in chooseProc()
465 fClip = &fWrapper.getRgn(); in chooseProc()
488 if (SkCanvas::kPoints_PointMode == fMode && fClip->isRect()) { in chooseProc()
1443 , fClip(fUseRegionToDraw ? &draw.fRC->bwRgn() : nullptr) in DrawOneGlyph()
[all …]
DSkRegion.cpp1357 : fIter(rgn), fClip(clip), fDone(true) { in Cliperator()
1382 if (r.fTop >= fClip.fBottom) { in next()
1385 if (fRect.intersect(fClip, r)) { in next()
/external/skia/src/gpu/
DGrPathRenderer.h131 const GrClip* fClip; member
141 SkASSERT(fClip); in validate()
188 const GrClip* fClip; member
DGrSoftwarePathRenderer.cpp149 *args.fClip, *args.fShape, in onDrawPath()
155 *args.fUserStencilSettings, *args.fClip, *args.fViewMatrix, in onDrawPath()
225 *args.fUserStencilSettings, *args.fClip, *args.fViewMatrix, devClipBounds, in onDrawPath()
230 *args.fUserStencilSettings, *args.fClip, *args.fViewMatrix, in onDrawPath()
/external/skia/bench/
Dnanobench.cpp594 &fClip.fLeft, &fClip.fTop, &fClip.fRight, &fClip.fBottom)) { in BenchmarkStream()
760 return new SKPBench(name.c_str(), pic.get(), fClip, fScales[fCurrentScale], in rawNext()
772 return new SKPBench(SkOSPath::Basename(path).c_str(), pic.get(), fClip, in rawNext()
796 return new SKPAnimationBench(name.c_str(), pic.get(), fClip, animation.get(), in rawNext()
1020 SkStringPrintf("%d %d %d %d", fClip.fLeft, fClip.fTop, in fillCurrentOptions()
1021 fClip.fRight, fClip.fBottom).c_str()); in fillCurrentOptions()
1050 SkIRect fClip; member in BenchmarkStream
DSKPBench.cpp27 , fClip(clip) in SKPBench()
108 return SkIPoint::Make(fClip.width(), fClip.height()); in onGetSize()
DSKPBench.h51 const SkIRect fClip; variable
/external/skia/tools/debugger/
DSkDebugCanvas.h89 return fClip; in getCurrentClip()
268 SkIRect fClip; variable
/external/skia/src/svg/
DSkSVGDevice.cpp113 SkString fClip; member
299 if (!res.fClip.isEmpty()) { in AutoElement()
303 fClipGroup->addAttribute("clip-path",res.fClip); in AutoElement()
476 resources->fClip.printf("url(#%s)", clipID.c_str()); in addClipResources()
/external/skia/include/core/
DSkRegion.h351 SkIRect fClip; variable

12