/external/skia/samplecode/ |
D | SampleCull.cpp | 106 fClip.set(0, 0, SkIntToScalar(160), SkIntToScalar(160)); in CullView() 111 SkScalar x = nextScalarRange(rand, -fClip.width()*1, fClip.width()*2); in CullView() 112 SkScalar y = nextScalarRange(rand, -fClip.height()*1, fClip.height()*2); in CullView() 119 SkScalar bump = fClip.width()/8; in CullView() 145 canvas->translate( SkScalarHalf(this->width() - fClip.width()), in onDrawContent() 146 SkScalarHalf(this->height() - fClip.height())); in onDrawContent() 155 canvas->drawRect(fClip, paint); in onDrawContent() 167 fClip.round(&iclip); in onDrawContent() 184 SkRect fClip; member in CullView
|
D | SampleLineClipper.cpp | 160 SkRect fClip; member in LineClipperView 180 fClip.set(SkIntToScalar(x), SkIntToScalar(y), in LineClipperView() 215 drawVLine(canvas, fClip.fLeft + SK_ScalarHalf, paint); in onDrawContent() 216 drawVLine(canvas, fClip.fRight - SK_ScalarHalf, paint); in onDrawContent() 217 drawHLine(canvas, fClip.fTop + SK_ScalarHalf, paint); in onDrawContent() 218 drawHLine(canvas, fClip.fBottom - SK_ScalarHalf, paint); in onDrawContent() 221 canvas->drawRect(fClip, paint); in onDrawContent() 232 gProcs[fProcIndex](fPts, fClip, canvas, paint, paint1); in onDrawContent()
|
D | SampleMovie.cpp | 56 SkRect fClip; member in AnimGifView
|
/external/skia/src/core/ |
D | SkClipStack.cpp | 222 fClip.fRect = NULL; in next() 223 fClip.fPath = NULL; in next() 226 fClip.fRect = &rec->fRect; in next() 227 fClip.fPath = NULL; in next() 230 fClip.fRect = NULL; in next() 231 fClip.fPath = &rec->fPath; in next() 234 fClip.fOp = rec->fOp; in next() 235 fClip.fDoAA = rec->fDoAA; in next() 236 return &fClip; in next()
|
D | SkQuadClipper.cpp | 29 fClip.set(clip); in setClip() 78 const SkScalar ctop = fClip.fTop; in clipQuad() 79 const SkScalar cbot = fClip.fBottom; in clipQuad()
|
D | SkCubicClipper.cpp | 17 fClip.set(clip); in setClip() 130 const SkScalar ctop = fClip.fTop; in clipCubic() 131 const SkScalar cbot = fClip.fBottom; in clipCubic()
|
D | SkDraw.cpp | 298 const SkRegion* fClip; member 317 SkASSERT(rec.fClip->isRect()); in bw_pt_rect_hair_proc() 318 const SkIRect& r = rec.fClip->getBounds(); in bw_pt_rect_hair_proc() 356 if (rec.fClip->contains(x, y)) { in bw_pt_hair_proc() 438 fClip = NULL; in init() 454 fClip = NULL; in init() 468 fClip = &fRC->bwRgn(); in chooseProc() 471 fClip = &fWrapper.getRgn(); in chooseProc() 490 if (SkCanvas::kPoints_PointMode == fMode && fClip->isRect()) { in chooseProc() 1347 SkASSERT((NULL == state.fClip && state.fAAClip) || in D1G_NoBounder_RectClip() [all …]
|
D | SkCubicClipper.h | 31 SkRect fClip;
|
D | SkCanvas.cpp | 69 SkRasterClip fClip; member 103 fClip = totalClip; in updateMC() 110 totalClip.translate(-x, -y, &fClip); in updateMC() 113 fClip.op(SkIRect::MakeWH(width, height), SkRegion::kIntersect_Op); in updateMC() 122 fDevice->setMatrixClip(*fMatrix, fClip.forceGetBW(), clipStack); in updateMC() 125 if (!fClip.isEmpty()) { in updateMC() 128 SkASSERT(deviceR.contains(fClip.getBounds())); in updateMC() 230 while (fCurrLayer && fCurrLayer->fClip.isEmpty()) { in next() 239 fClip = &((SkRasterClip*)&rec->fClip)->forceGetBW(); in next() 240 fRC = &rec->fClip; in next() [all …]
|
D | SkDrawProcs.h | 19 const SkRegion* fClip; member
|
D | SkQuadClipper.h | 30 SkRect fClip;
|
D | SkRegion.cpp | 1202 : fIter(rgn), fClip(clip), fDone(true) { in Cliperator() 1227 if (r.fTop >= fClip.fBottom) { in next() 1230 if (fRect.intersect(fClip, r)) { in next()
|
D | SkAAClip.cpp | 19 AutoAAClipValidate(const SkAAClip& clip) : fClip(clip) { in AutoAAClipValidate() 20 fClip.validate(); in AutoAAClipValidate() 23 fClip.validate(); in ~AutoAAClipValidate() 26 const SkAAClip& fClip; member in AutoAAClipValidate
|
D | SkScalerContext.cpp | 500 draw.fClip = &clip.bwRgn(); in generateMask()
|
/external/skia/include/core/ |
D | SkBounder.h | 79 void setClip(const SkRegion* clip) { fClip = clip; } in setClip() 81 const SkRegion* fClip; variable
|
D | SkClipStack.h | 78 Clip fClip;
|
D | SkDraw.h | 109 const SkRegion* fClip; // DEPRECATED variable
|
D | SkRegion.h | 330 SkIRect fClip; variable
|
/external/skia/src/gpu/ |
D | GrGpu.cpp | 557 if (fClip.hasConservativeBounds()) { in setupClipAndFlushState() 558 bounds = fClip.getConservativeBounds(); in setupClipAndFlushState() 573 fClipInStencil = !fClip.isRect() && !fClip.isEmpty() && in setupClipAndFlushState() 583 stencilBuffer->mustRenderClip(fClip, rt->width(), rt->height())) { in setupClipAndFlushState() 585 stencilBuffer->setLastClip(fClip, rt->width(), rt->height()); in setupClipAndFlushState() 592 fClip.setFromRect(bounds); in setupClipAndFlushState() 653 fClip = clip; in setupClipAndFlushState() 718 fClip = clip; in setupClipAndFlushState()
|
D | GrDrawTarget.h | 603 fClip = fTarget->getClip(); in AutoClipRestore() 607 fTarget->setClip(fClip); in ~AutoClipRestore() 611 GrClip fClip; variable 987 GrClip fClip; variable
|
D | GrInOrderDrawBuffer.cpp | 107 if (drawState->isClipState() && fClip.isRect()) { in drawRect() 109 GrRect clipRect = fClip.getRect(0); in drawRect() 608 if (fClips.empty() || (fClipSet && fClips.back() != fClip)) { in needsNewClip() 616 fClips.push_back() = fClip; in pushClip()
|
D | SkGpuDevice.cpp | 361 *draw.fClipStack, *draw.fClip, this->getOrigin()); in prepareRenderTarget() 1169 *draw.fMatrix, *draw.fClip, draw.fBounder, in drawPath() 1172 *draw.fMatrix, *draw.fClip, draw.fBounder, in drawPath() 1372 r.set(draw.fClip->getBounds()); in drawBitmap()
|
D | GrDrawTarget.cpp | 507 fClip = clip; in setClip() 511 return fClip; in getClip()
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 447 init(draw.fClipStack, *draw.fClip, *draw.fMatrix, paint, hasText); in ScopedContentEntry() 623 if (d.fClip->isEmpty()) { in drawPoints() 698 if (d.fClip->isEmpty()) { in drawRect() 738 if (d.fClip->isEmpty()) { in drawPath() 771 if (d.fClip->isEmpty()) { in drawBitmap() 777 internalDrawBitmap(transform, d.fClipStack, *d.fClip, bitmap, srcRect, in drawBitmap() 783 if (d.fClip->isEmpty()) { in drawSprite() 789 internalDrawBitmap(matrix, d.fClipStack, *d.fClip, bitmap, NULL, paint); in drawSprite() 895 if (d.fClip->isEmpty()) { in drawTextOnPath() 906 if (d.fClip->isEmpty()) { in drawVertices() [all …]
|
/external/skia/src/effects/ |
D | SkLayerRasterizer.cpp | 128 draw.fClip = &rectClip.bwRgn(); in onRasterize()
|