/external/skia/src/core/ |
D | SkRasterizer.cpp | 16 const SkIRect* clipBounds, SkMaskFilter* filter, in rasterize() argument 20 if (clipBounds && filter && SkMask::kJustRenderImage_CreateMode != mode) { in rasterize() 29 storage = clipBounds->makeOutset(margin.fX, margin.fY); in rasterize() 30 clipBounds = &storage; in rasterize() 33 return this->onRasterize(fillPath, matrix, clipBounds, mask, mode); in rasterize() 39 const SkIRect* clipBounds, in onRasterize() argument 44 return SkDraw::DrawToMask(devPath, clipBounds, nullptr, nullptr, mask, mode, in onRasterize()
|
D | SkMultiPictureDraw.cpp | 127 SkRect clipBounds; in draw() local 128 if (!data.fCanvas->getClipBounds(&clipBounds)) { in draw() 143 clipBounds, in draw() 162 SkRect clipBounds; in draw() local 163 if (!canvas->getClipBounds(&clipBounds)) { in draw() 177 clipBounds, &needRendering, &recycled, in draw()
|
D | SkBigPicture.cpp | 33 SkRect clipBounds = { 0, 0, 0, 0 }; in playback() local 34 (void)canvas->getClipBounds(&clipBounds); in playback() 35 const bool useBBH = !clipBounds.contains(this->cullRect()); in playback()
|
D | SkScan.cpp | 23 const SkIRect& clipBounds = clip->getBounds(); in FillIRect() local 25 if (clipBounds.contains(r)) { in FillIRect() 29 if (rr.intersect(clipBounds)) { in FillIRect()
|
D | SkImageFilterCacheKey.h | 13 const SkIRect& clipBounds, uint32_t srcGenID, const SkIRect& srcSubset) in Key() 16 , fClipBounds(clipBounds) in Key()
|
D | SkImageFilter.cpp | 222 Cache::Key key(fUniqueID, context.ctm(), context.clipBounds(), in filterImageDeprecated() 389 return dstBounds->intersect(ctx.clipBounds()); in applyCropRect() 401 if (!bounds->intersect(ctx.clipBounds())) { in applyCropRectDeprecated() 456 SkIRect clipBounds; in mapContext() local 457 this->onFilterNodeBounds(ctx.clipBounds(), ctx.ctm(), &clipBounds, in mapContext() 459 return Context(ctx.ctm(), clipBounds, ctx.cache()); in mapContext()
|
/external/skia/src/gpu/ |
D | GrPathRenderingDrawContext.cpp | 22 const SkIRect& clipBounds) { in drawText() argument 34 text, byteLength, x, y, clipBounds); in drawText() 42 const SkIRect& clipBounds) { in drawPosText() argument 55 clipBounds); in drawPosText() 61 SkDrawFilter* filter, const SkIRect& clipBounds) { in drawTextBlob() argument 73 y, filter, clipBounds); in drawTextBlob()
|
D | GrBlurUtils.cpp | 21 static bool clip_bounds_quick_reject(const SkIRect& clipBounds, const SkIRect& rect) { in clip_bounds_quick_reject() argument 22 return clipBounds.isEmpty() || rect.isEmpty() || !SkIRect::Intersects(clipBounds, rect); in clip_bounds_quick_reject() 55 const SkIRect& clipBounds, in sw_draw_with_mask_filter() argument 60 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM, in sw_draw_with_mask_filter() 72 if (clip_bounds_quick_reject(clipBounds, dstM.fBounds)) { in sw_draw_with_mask_filter() 161 SkIRect clipBounds; in draw_path_with_mask_filter() local 162 clip.getConservativeBounds(drawContext->width(), drawContext->height(), &clipBounds); in draw_path_with_mask_filter() 200 clipBounds, in draw_path_with_mask_filter() 205 if (clip_bounds_quick_reject(clipBounds, finalIRect)) { in draw_path_with_mask_filter() 248 maskFilter, clipBounds, paint, style); in draw_path_with_mask_filter() [all …]
|
D | GrPathRenderingDrawContext.h | 19 SkScalar x, SkScalar y, const SkIRect& clipBounds) override; 23 const SkPoint& offset, const SkIRect& clipBounds) override; 27 SkDrawFilter*, const SkIRect& clipBounds) override;
|
D | GrTessellator.h | 31 int PathToVertices(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds, 34 int PathToTriangles(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds,
|
D | GrLayerHoister.cpp | 88 SkIRect clipBounds = dstIR; in compute_source_rect() local 95 info.fPaint->getImageFilter()->filterBounds(clipBounds, totMat, &clipBounds); in compute_source_rect() 104 if (!srcIR->intersect(clipBounds)) { in compute_source_rect() 108 *srcIR = clipBounds; in compute_source_rect() 299 SkIRect clipBounds = layer->rect(); in FilterLayer() local 304 SkImageFilter::Context filterContext(totMat, clipBounds, cache); in FilterLayer()
|
/external/skia/src/gpu/batches/ |
D | GrTessellatingPathRenderer.cpp | 83 SkRect clipBounds) { in Create() argument 84 return new TessellatingPathBatch(color, path, stroke, viewMatrix, clipBounds); in Create() 211 const SkRect& clipBounds) in TessellatingPathBatch() argument 218 fClipBounds = clipBounds; in TessellatingPathBatch() 261 SkRect clipBounds = SkRect::Make(clipBoundsI); in onDrawPath() local 266 vmi.mapRect(&clipBounds); in onDrawPath() 269 clipBounds)); in onDrawPath() 283 SkRect clipBounds = GrTest::TestRect(random); in DRAW_BATCH_TEST_DEFINE() local 289 vmi.mapRect(&clipBounds); in DRAW_BATCH_TEST_DEFINE() 291 return TessellatingPathBatch::Create(color, path, strokeInfo, viewMatrix, clipBounds); in DRAW_BATCH_TEST_DEFINE()
|
/external/skia/src/gpu/text/ |
D | GrStencilAndCoverTextContext.cpp | 80 SkScalar x, SkScalar y, const SkIRect& clipBounds) { in drawText() argument 88 clipBounds, fFallbackTextContext, skPaint); in drawText() 93 byteLength, x, y, clipBounds); in drawText() 99 clipBounds); in drawText() 113 const SkIRect& clipBounds) { in drawPosText() argument 121 clipBounds, fFallbackTextContext, skPaint); in drawPosText() 127 scalarsPerPosition, offset, clipBounds); in drawPosText() 133 byteLength, pos, scalarsPerPosition, offset, clipBounds); in drawPosText() 144 const SkIRect& clipBounds) { in uncachedDrawTextBlob() argument 173 textLen, x + offset.x(), y + offset.y(), clipBounds); in uncachedDrawTextBlob() [all …]
|
D | GrStencilAndCoverTextContext.h | 37 SkScalar y, const SkIRect& clipBounds); 43 const SkPoint& offset, const SkIRect& clipBounds); 47 SkDrawFilter*, const SkIRect& clipBounds); 67 const SkIRect& clipBounds); 83 SkScalar x, SkScalar y, const SkIRect& clipBounds,
|
D | GrAtlasTextBlob.cpp | 345 const SkIRect& clipBounds) { in flushBigGlyphs() argument 359 skPaint, ctm, nullptr, clipBounds, false); in flushBigGlyphs() 368 const SkIRect& clipBounds, SkScalar x, SkScalar y) { in flushRunAsPaths() argument 386 textLen, x + offset.x(), y + offset.y(), clipBounds); in flushRunAsPaths() 392 clipBounds); in flushRunAsPaths() 397 textLen, it.pos(), 2, SkPoint::Make(x, y), clipBounds); in flushRunAsPaths() 412 const SkIRect& clipBounds, in flushCached() argument 424 drawFilter, viewMatrix, clipBounds, x, y); in flushCached() 432 this->flushBigGlyphs(context, dc, clip, skPaint, viewMatrix, x, y, clipBounds); in flushCached() 443 const SkIRect& clipBounds, in flushThrowaway() argument [all …]
|
D | GrTextUtils.h | 74 const SkIRect& clipBounds); 83 const SkPoint& offset, const SkIRect& clipBounds);
|
/external/skia/src/effects/ |
D | SkComposeImageFilter.cpp | 38 SkIRect clipBounds = ctx.clipBounds(); in onFilterImageDeprecated() local 39 clipBounds.offset(-innerOffset.x(), -innerOffset.y()); in onFilterImageDeprecated() 40 Context outerContext(outerMatrix, clipBounds, ctx.cache()); in onFilterImageDeprecated()
|
D | SkLayerRasterizer.cpp | 52 const SkIRect* clipBounds, SkIRect* bounds) { in compute_bounds() argument 79 if (!SkDraw::DrawToMask(devPath, clipBounds, paint.getMaskFilter(), in compute_bounds() 92 const SkIRect* clipBounds, in onRasterize() argument 100 if (!compute_bounds(*fLayers, path, matrix, clipBounds, &mask->fBounds)) in onRasterize()
|
/external/skia/tests/ |
D | PictureTest.cpp | 955 SkIRect clipBounds; in test_clip_bound_opt() local 962 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds); in test_clip_bound_opt() 964 REPORTER_ASSERT(reporter, 0 == clipBounds.fLeft); in test_clip_bound_opt() 965 REPORTER_ASSERT(reporter, 0 == clipBounds.fTop); in test_clip_bound_opt() 966 REPORTER_ASSERT(reporter, 10 == clipBounds.fBottom); in test_clip_bound_opt() 967 REPORTER_ASSERT(reporter, 10 == clipBounds.fRight); in test_clip_bound_opt() 973 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds); in test_clip_bound_opt() 975 REPORTER_ASSERT(reporter, 7 == clipBounds.fLeft); in test_clip_bound_opt() 976 REPORTER_ASSERT(reporter, 7 == clipBounds.fTop); in test_clip_bound_opt() 977 REPORTER_ASSERT(reporter, 8 == clipBounds.fBottom); in test_clip_bound_opt() [all …]
|
/external/skia/include/core/ |
D | SkMaskFilter.h | 106 const SkIRect& clipBounds, 213 const SkIRect& clipBounds, 219 const SkIRect& clipBounds,
|
D | SkRasterizer.h | 26 const SkIRect* clipBounds, SkMaskFilter* filter, 34 const SkIRect* clipBounds,
|
D | SkImageFilter.h | 55 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) in Context() argument 57 , fClipBounds(clipBounds) in Context() 62 const SkIRect& clipBounds() const { return fClipBounds; } in clipBounds() function
|
/external/pdfium/xfa/src/fwl/src/core/ |
D | fwl_widgetmgrimp.cpp | 741 CFX_RectF clipBounds; in OnDrawWidget() local 746 pGraphics->GetClipRect(clipBounds); in OnDrawWidget() 747 clipCopy = clipBounds; in OnDrawWidget() 752 pGraphics->GetClipRect(clipBounds); in OnDrawWidget() 753 clipCopy = clipBounds; in OnDrawWidget() 755 clipBounds.Set(pMatrix->a, pMatrix->b, pMatrix->c, pMatrix->d); in OnDrawWidget() 769 clipBounds.Intersect(rtClient); in OnDrawWidget() 771 if (!clipBounds.IsEmpty()) { in OnDrawWidget() 772 DrawChild(pWidget, clipBounds, pTemp, pMatrix); in OnDrawWidget() 799 CFX_RectF clipBounds(rtWidget); in DrawChild() local [all …]
|
/external/skia/include/gpu/ |
D | GrDrawContext.h | 57 SkScalar x, SkScalar y, const SkIRect& clipBounds); 61 const SkPoint& offset, const SkIRect& clipBounds); 65 SkDrawFilter*, const SkIRect& clipBounds);
|
/external/skia/gm/ |
D | imagefiltersclipped.cpp | 67 const SkRect& primBounds, const SkRect& clipBounds) { in draw_clipped_filter() argument 73 canvas->clipRect(clipBounds); in draw_clipped_filter()
|