Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/ops/
DGrClearOp.h43 if (fClip.scissorEnabled()) { in dumpInfo()
44 const SkIRect& r = fClip.scissorRect(); in dumpInfo()
61 , fClip(GrFixedClip(rect)) in GrClearOp()
65 fClip.disableScissor(); in GrClearOp()
75 if (fClip.windowRectsState() != cb->fClip.windowRectsState()) { in onCombineIfPossible()
79 fClip = cb->fClip; in onCombineIfPossible()
91 return !fClip.scissorEnabled() || in contains()
92 (that->fClip.scissorEnabled() && in contains()
93 fClip.scissorRect().contains(that->fClip.scissorRect())); in contains()
100 GrFixedClip fClip; variable
DGrClearOp.cpp16 , fClip(clip) in GrClearOp()
19 if (fClip.scissorEnabled()) { in GrClearOp()
21 if (!fClip.intersect(rtRect)) { in GrClearOp()
23 fClip = GrFixedClip(SkIRect::MakeEmpty()); in GrClearOp()
26 if (GrResourceProvider::IsFunctionallyExact(proxy) && fClip.scissorRect() == rtRect) { in GrClearOp()
27 fClip.disableScissor(); in GrClearOp()
30 this->setBounds(SkRect::Make(fClip.scissorEnabled() ? fClip.scissorRect() : rtRect), in GrClearOp()
37 state->commandBuffer()->clear(state->drawOpArgs().fRenderTarget, fClip, fColor); in onExecute()
DGrClearStencilClipOp.h30 if (fClip.scissorEnabled()) { in dumpInfo()
31 const SkIRect& r = fClip.scissorRect(); in dumpInfo()
45 , fClip(clip) in GrClearStencilClipOp()
47 const SkRect& bounds = fClip.scissorEnabled() in GrClearStencilClipOp()
48 ? SkRect::Make(fClip.scissorRect()) in GrClearStencilClipOp()
61 fClip, fInsideStencilMask); in onExecute()
64 const GrFixedClip fClip; variable
DGrStencilAndCoverPathRenderer.cpp78 args.fRenderTargetContext->priv().stencilPath(*args.fClip, args.fAAType, in onStencilPath()
114 args.fRenderTargetContext->priv().stencilPath(*args.fClip, args.fAAType, viewMatrix, in onDrawPath()
136 args.fRenderTargetContext->addDrawOp(*args.fClip, in onDrawPath()
144 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
DGrDashLinePathRenderer.cpp54 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
DGrTessellatingPathRenderer.cpp363 args.fClip->getConservativeBounds(args.fRenderTargetContext->width(), in onDrawPath()
372 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
/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;
DSkDraw.cpp230 const SkRegion* fClip; member
249 SkASSERT(rec.fClip->isRect()); in bw_pt_rect_hair_proc()
250 const SkIRect& r = rec.fClip->getBounds(); in bw_pt_rect_hair_proc()
308 if (rec.fClip->contains(x, y)) { in bw_pt_hair_proc()
390 fClip = nullptr; in init()
406 fClip = nullptr; in init()
420 fClip = &fRC->bwRgn(); in chooseProc()
423 fClip = &fWrapper.getRgn(); in chooseProc()
446 if (SkCanvas::kPoints_PointMode == fMode && fClip->isRect()) { in chooseProc()
1398 , fClip(fUseRegionToDraw ? &draw.fRC->bwRgn() : nullptr) in DrawOneGlyph()
[all …]
DSkQuadClipper.h29 SkRect fClip;
/external/skia/bench/
DClipMaskBench.cpp27 , fClip(maskMaker(kSize)) {} in ClipMaskBench()
33 SkCanvas::SaveLayerRec rec(nullptr, nullptr, nullptr, fClip.get(), nullptr, 0); in onDraw()
46 sk_sp<SkImage> fClip; member in ClipMaskBench
Dnanobench.cpp603 &fClip.fLeft, &fClip.fTop, &fClip.fRight, &fClip.fBottom)) { in BenchmarkStream()
768 return new SKPBench(name.c_str(), pic.get(), fClip, fScales[fCurrentScale], in rawNext()
780 return new SKPBench(SkOSPath::Basename(path).c_str(), pic.get(), fClip, in rawNext()
804 return new SKPAnimationBench(name.c_str(), pic.get(), fClip, animation.get(), in rawNext()
1023 SkStringPrintf("%d %d %d %d", fClip.fLeft, fClip.fTop, in fillCurrentOptions()
1024 fClip.fRight, fClip.fBottom).c_str()); in fillCurrentOptions()
1053 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/src/gpu/
DGrPathRenderer.h126 const GrClip* fClip; member
136 SkASSERT(fClip); in validate()
183 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/tests/
DBlendTest.cpp138 SkRect fClip; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() member
175 canvas->clipRect(testCase.fClip, false); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skia/tools/debugger/
DSkDebugCanvas.h89 return fClip; in getCurrentClip()
250 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/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp60 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
81 args.fClip->getConservativeBounds(rtc->width(), rtc->height(), &fHeadDraw.fClipBounds, nullptr); in DrawPathsOp()

12