Home
last modified time | relevance | path

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

1234

/external/skia/src/gpu/ops/
DGrClearOp.h38 if (fClip.scissorEnabled()) { in dumpInfo()
39 const SkIRect& r = fClip.scissorRect(); in dumpInfo()
59 , fClip(GrFixedClip(rect)) in GrClearOp()
63 fClip.disableScissor(); in GrClearOp()
73 if (fClip.windowRectsState() != cb->fClip.windowRectsState()) { in onCombineIfPossible()
77 fClip = cb->fClip; in onCombineIfPossible()
88 return !fClip.scissorEnabled() || in contains()
89 (that->fClip.scissorEnabled() && in contains()
90 fClip.scissorRect().contains(that->fClip.scissorRect())); in contains()
97 GrFixedClip fClip; variable
DGrClearOp.cpp44 , fClip(clip) in GrClearOp()
47 if (fClip.scissorEnabled()) { in GrClearOp()
49 if (!fClip.intersect(rtRect)) { in GrClearOp()
51 fClip = GrFixedClip(SkIRect::MakeEmpty()); in GrClearOp()
54 if (GrProxyProvider::IsFunctionallyExact(proxy) && fClip.scissorRect() == rtRect) { in GrClearOp()
55 fClip.disableScissor(); in GrClearOp()
58 this->setBounds(SkRect::Make(fClip.scissorEnabled() ? fClip.scissorRect() : rtRect), in GrClearOp()
64 state->rtCommandBuffer()->clear(fClip, fColor); in onExecute()
DGrClearStencilClipOp.h32 if (fClip.scissorEnabled()) { in dumpInfo()
33 const SkIRect& r = fClip.scissorRect(); in dumpInfo()
50 , fClip(clip) in GrClearStencilClipOp()
52 const SkRect& bounds = fClip.scissorEnabled() in GrClearStencilClipOp()
53 ? SkRect::Make(fClip.scissorRect()) in GrClearStencilClipOp()
62 const GrFixedClip fClip; variable
DGrStencilAndCoverPathRenderer.cpp84 args.fRenderTargetContext->priv().stencilPath(*args.fClip, args.fAAType, in onStencilPath()
109 if (!args.fClip->apply(args.fContext, args.fRenderTargetContext, in onDrawPath()
167 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
173 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
/external/skqp/src/gpu/ops/
DGrClearOp.h37 if (fClip.scissorEnabled()) { in dumpInfo()
38 const SkIRect& r = fClip.scissorRect(); in dumpInfo()
58 , fClip(GrFixedClip(rect)) in GrClearOp()
62 fClip.disableScissor(); in GrClearOp()
72 if (fClip.windowRectsState() != cb->fClip.windowRectsState()) { in onCombineIfPossible()
76 fClip = cb->fClip; in onCombineIfPossible()
87 return !fClip.scissorEnabled() || in contains()
88 (that->fClip.scissorEnabled() && in contains()
89 fClip.scissorRect().contains(that->fClip.scissorRect())); in contains()
96 GrFixedClip fClip; variable
DGrClearOp.cpp42 , fClip(clip) in GrClearOp()
45 if (fClip.scissorEnabled()) { in GrClearOp()
47 if (!fClip.intersect(rtRect)) { in GrClearOp()
49 fClip = GrFixedClip(SkIRect::MakeEmpty()); in GrClearOp()
52 if (GrProxyProvider::IsFunctionallyExact(proxy) && fClip.scissorRect() == rtRect) { in GrClearOp()
53 fClip.disableScissor(); in GrClearOp()
56 this->setBounds(SkRect::Make(fClip.scissorEnabled() ? fClip.scissorRect() : rtRect), in GrClearOp()
62 state->rtCommandBuffer()->clear(fClip, fColor); in onExecute()
DGrClearStencilClipOp.h31 if (fClip.scissorEnabled()) { in dumpInfo()
32 const SkIRect& r = fClip.scissorRect(); in dumpInfo()
49 , fClip(clip) in GrClearStencilClipOp()
51 const SkRect& bounds = fClip.scissorEnabled() in GrClearStencilClipOp()
52 ? SkRect::Make(fClip.scissorRect()) in GrClearStencilClipOp()
61 const GrFixedClip fClip; variable
DGrStencilAndCoverPathRenderer.cpp84 args.fRenderTargetContext->priv().stencilPath(*args.fClip, args.fAAType, in onStencilPath()
109 if (!args.fClip->apply(args.fContext, args.fRenderTargetContext, in onDrawPath()
167 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
173 args.fRenderTargetContext->addDrawOp(*args.fClip, std::move(op)); in onDrawPath()
/external/skia/samplecode/
DSampleMegaStroke.cpp16 fClip.set(0, 0, 950, 600); in MegaStrokeView()
37 fClip.set(0, 0, 950, 600); in onQuery()
40 fClip.set(0, 0, 950, 600); in onQuery()
56 canvas->clipRect(fClip); in onDrawContent()
74 fClip = divSim; in onDrawContent()
78 fClip.set(0, 0, 950, 600); in onSizeChange()
87 SkRect fClip; member in MegaStrokeView
DSamplePathClip.cpp160 SkRect fClip; member in EdgeClipView
163 EdgeClipView() : fClip(SkRect::MakeLTRB(150, 150, 550, 450)) { in EdgeClipView()
215 canvas->drawRect(fClip, p); in onDrawContent()
220 canvas->clipRect(fClip); in onDrawContent()
235 draw_clipped_line(canvas, fClip, fPoly[i], fPoly[j], p); in onDrawContent()
306 if (fClip.intersects(SkRect::MakeLTRB(x - 1, y - 1, x + 1, y + 1))) { in onFindClickHandler()
307 return new DragRectClick(this, &fClip); in onFindClickHandler()
/external/skqp/samplecode/
DSampleMegaStroke.cpp16 fClip.set(0, 0, 950, 600); in MegaStrokeView()
37 fClip.set(0, 0, 950, 600); in onQuery()
40 fClip.set(0, 0, 950, 600); in onQuery()
56 canvas->clipRect(fClip); in onDrawContent()
74 fClip = divSim; in onDrawContent()
78 fClip.set(0, 0, 950, 600); in onSizeChange()
87 SkRect fClip; member in MegaStrokeView
DSamplePathClip.cpp160 SkRect fClip; member in EdgeClipView
163 EdgeClipView() : fClip(SkRect::MakeLTRB(150, 150, 550, 450)) { in EdgeClipView()
215 canvas->drawRect(fClip, p); in onDrawContent()
220 canvas->clipRect(fClip); in onDrawContent()
235 draw_clipped_line(canvas, fClip, fPoly[i], fPoly[j], p); in onDrawContent()
306 if (fClip.intersects(SkRect::MakeLTRB(x - 1, y - 1, x + 1, y + 1))) { in onFindClickHandler()
307 return new DragRectClick(this, &fClip); in onFindClickHandler()
/external/skqp/tools/
DDDLTileHelper.cpp22 , fClip(clip) { in TileData()
66 subCanvas->clipRect(SkRect::MakeWH(fClip.width(), fClip.height())); in createDDL()
67 subCanvas->translate(-fClip.fLeft, -fClip.fTop); in createDDL()
87 dst->clipRect(SkRect::Make(fClip)); in compose()
88 dst->drawImage(std::move(img), fClip.fLeft, fClip.fTop); in compose()
/external/skia/tools/
DDDLTileHelper.cpp22 , fClip(clip) { in TileData()
66 subCanvas->clipRect(SkRect::MakeWH(fClip.width(), fClip.height())); in createDDL()
67 subCanvas->translate(-fClip.fLeft, -fClip.fTop); in createDDL()
87 dst->clipRect(SkRect::Make(fClip)); in compose()
88 dst->drawImage(std::move(img), fClip.fLeft, fClip.fTop); in compose()
/external/skqp/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/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/skqp/src/core/
DSkQuadClipper.cpp14 fClip.setEmpty(); in SkQuadClipper()
19 fClip.set(clip); in setClip()
68 const SkScalar ctop = fClip.fTop; in clipQuad()
69 const SkScalar cbot = fClip.fBottom; in clipQuad()
DSkCubicClipper.cpp15 fClip.setEmpty(); in SkCubicClipper()
20 fClip.set(clip); in setClip()
125 const SkScalar ctop = fClip.fTop; in clipCubic()
126 const SkScalar cbot = fClip.fBottom; in clipCubic()
/external/skia/src/core/
DSkQuadClipper.cpp14 fClip.setEmpty(); in SkQuadClipper()
19 fClip.set(clip); in setClip()
68 const SkScalar ctop = fClip.fTop; in clipQuad()
69 const SkScalar cbot = fClip.fBottom; in clipQuad()
DSkCubicClipper.cpp15 fClip.setEmpty(); in SkCubicClipper()
20 fClip.set(clip); in setClip()
125 const SkScalar ctop = fClip.fTop; in clipCubic()
126 const SkScalar cbot = fClip.fBottom; in clipCubic()
/external/skqp/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
/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.cpp612 &fClip.fLeft, &fClip.fTop, &fClip.fRight, &fClip.fBottom)) { in BenchmarkStream()
779 return new SKPBench(name.c_str(), pic.get(), fClip, fScales[fCurrentScale], in rawNext()
791 return new SKPBench(SkOSPath::Basename(path).c_str(), pic.get(), fClip, in rawNext()
815 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()
1054 SkIRect fClip; member in BenchmarkStream
/external/skia/src/gpu/
DGrPathRenderer.h113 const GrClip* fClip; member
124 SkASSERT(fClip); in validate()
145 const GrHardClip* fClip; member
/external/skqp/src/gpu/
DGrPathRenderer.h113 const GrClip* fClip; member
124 SkASSERT(fClip); in validate()
145 const GrHardClip* fClip; member

1234