/external/skia/src/gpu/ops/ |
D | GrClearOp.h | 43 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
|
D | GrClearOp.cpp | 16 , 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()
|
D | GrClearStencilClipOp.h | 30 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
|
D | GrStencilAndCoverPathRenderer.cpp | 78 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()
|
D | GrDashLinePathRenderer.cpp | 54 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
|
D | GrTessellatingPathRenderer.cpp | 363 args.fClip->getConservativeBounds(args.fRenderTargetContext->width(), in onDrawPath() 372 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
|
/external/skia/samplecode/ |
D | SampleMegaStroke.cpp | 16 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
|
D | SamplePathClip.cpp | 156 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()
|
D | SamplePathFuzz.cpp | 150 fClip = makePath(); in randomize() 162 return fClip; in getClip() 583 SkPath fClip; member in FuzzPath
|
/external/skia/gm/ |
D | complexclip2.cpp | 27 : 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/ |
D | SkQuadClipper.cpp | 12 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()
|
D | SkCubicClipper.cpp | 13 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()
|
D | SkCubicClipper.h | 31 SkRect fClip;
|
D | SkDraw.cpp | 230 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 …]
|
D | SkQuadClipper.h | 29 SkRect fClip;
|
/external/skia/bench/ |
D | ClipMaskBench.cpp | 27 , 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
|
D | nanobench.cpp | 603 &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
|
D | SKPBench.cpp | 27 , fClip(clip) in SKPBench() 108 return SkIPoint::Make(fClip.width(), fClip.height()); in onGetSize()
|
D | SKPBench.h | 51 const SkIRect fClip; variable
|
/external/skia/src/gpu/ |
D | GrPathRenderer.h | 126 const GrClip* fClip; member 136 SkASSERT(fClip); in validate() 183 const GrClip* fClip; member
|
D | GrSoftwarePathRenderer.cpp | 149 *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/ |
D | BlendTest.cpp | 138 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/ |
D | SkDebugCanvas.h | 89 return fClip; in getCurrentClip() 250 SkIRect fClip; variable
|
/external/skia/src/svg/ |
D | SkSVGDevice.cpp | 113 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/ |
D | GrCoverageCountingPathRenderer.cpp | 60 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath() 81 args.fClip->getConservativeBounds(rtc->width(), rtc->height(), &fHeadDraw.fClipBounds, nullptr); in DrawPathsOp()
|