Home
last modified time | relevance | path

Searched refs:clipBounds (Results 1 – 25 of 39) sorted by relevance

12

/external/skia/src/core/
DSkRasterizer.cpp16 const SkIRect* clipBounds, SkMaskFilter* filter, in rasterize() argument
20 if (clipBounds && filter && SkMask::kJustRenderImage_CreateMode != mode) { in rasterize()
30 storage = *clipBounds; in rasterize()
32 clipBounds = &storage; in rasterize()
35 return this->onRasterize(fillPath, matrix, clipBounds, mask, mode); in rasterize()
41 const SkIRect* clipBounds, in onRasterize() argument
46 return SkDraw::DrawToMask(devPath, clipBounds, NULL, NULL, mask, mode, in onRasterize()
DSkScan.cpp23 const SkIRect& clipBounds = clip->getBounds(); in FillIRect() local
25 if (clipBounds.contains(r)) { in FillIRect()
29 if (rr.intersect(clipBounds)) { in FillIRect()
DSkBBoxRecord.cpp40 SkIRect clipBounds; in drawPath() local
41 if (this->getClipDeviceBounds(&clipBounds)) { in drawPath()
42 this->handleBBox(SkRect::Make(clipBounds)); in drawPath()
DSkScan_Antihair.cpp617 SkRect clipBounds; in AntiHairLineRgn() local
618 clipBounds.set(clip->getBounds()); in AntiHairLineRgn()
628 clipBounds.inset(-SK_Scalar1, -SK_Scalar1); in AntiHairLineRgn()
630 if (!SkLineClipper::IntersectLine(pts, clipBounds, pts)) { in AntiHairLineRgn()
780 const SkIRect& clipBounds = clip->getBounds(); in AntiFillXRect() local
782 if (clipBounds.contains(outerBounds)) { in AntiFillXRect()
787 XRect_set(&tmpR, clipBounds); in AntiFillXRect()
DSkMaskFilter.cpp290 const SkIRect& clipBounds, NinePatch*) const { in filterRRectToNine() argument
296 const SkIRect& clipBounds, NinePatch*) const { in filterRectsToNine() argument
306 const SkIRect& clipBounds, in canFilterMaskGPU() argument
/external/chromium_org/third_party/skia/src/core/
DSkRasterizer.cpp16 const SkIRect* clipBounds, SkMaskFilter* filter, in rasterize() argument
20 if (clipBounds && filter && SkMask::kJustRenderImage_CreateMode != mode) { in rasterize()
30 storage = *clipBounds; in rasterize()
32 clipBounds = &storage; in rasterize()
35 return this->onRasterize(fillPath, matrix, clipBounds, mask, mode); in rasterize()
41 const SkIRect* clipBounds, in onRasterize() argument
46 return SkDraw::DrawToMask(devPath, clipBounds, NULL, NULL, mask, mode, in onRasterize()
DSkScan.cpp23 const SkIRect& clipBounds = clip->getBounds(); in FillIRect() local
25 if (clipBounds.contains(r)) { in FillIRect()
29 if (rr.intersect(clipBounds)) { in FillIRect()
DSkBBoxRecord.cpp40 SkIRect clipBounds; in drawPath() local
41 if (this->getClipDeviceBounds(&clipBounds)) { in drawPath()
42 this->handleBBox(SkRect::Make(clipBounds)); in drawPath()
DSkScan_Antihair.cpp617 SkRect clipBounds; in AntiHairLineRgn() local
618 clipBounds.set(clip->getBounds()); in AntiHairLineRgn()
628 clipBounds.inset(-SK_Scalar1, -SK_Scalar1); in AntiHairLineRgn()
630 if (!SkLineClipper::IntersectLine(pts, clipBounds, pts)) { in AntiHairLineRgn()
780 const SkIRect& clipBounds = clip->getBounds(); in AntiFillXRect() local
782 if (clipBounds.contains(outerBounds)) { in AntiFillXRect()
787 XRect_set(&tmpR, clipBounds); in AntiFillXRect()
DSkMaskFilter.cpp290 const SkIRect& clipBounds, NinePatch*) const { in filterRRectToNine() argument
296 const SkIRect& clipBounds, NinePatch*) const { in filterRectsToNine() argument
306 const SkIRect& clipBounds, in canFilterMaskGPU() argument
/external/chromium_org/third_party/skia/tests/
DPictureTest.cpp1361 SkIRect clipBounds; in test_clip_bound_opt() local
1368 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds); in test_clip_bound_opt()
1370 REPORTER_ASSERT(reporter, 0 == clipBounds.fLeft); in test_clip_bound_opt()
1371 REPORTER_ASSERT(reporter, 0 == clipBounds.fTop); in test_clip_bound_opt()
1372 REPORTER_ASSERT(reporter, 10 == clipBounds.fBottom); in test_clip_bound_opt()
1373 REPORTER_ASSERT(reporter, 10 == clipBounds.fRight); in test_clip_bound_opt()
1379 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds); in test_clip_bound_opt()
1381 REPORTER_ASSERT(reporter, 7 == clipBounds.fLeft); in test_clip_bound_opt()
1382 REPORTER_ASSERT(reporter, 7 == clipBounds.fTop); in test_clip_bound_opt()
1383 REPORTER_ASSERT(reporter, 8 == clipBounds.fBottom); in test_clip_bound_opt()
[all …]
/external/skia/tests/
DPictureTest.cpp1361 SkIRect clipBounds; in test_clip_bound_opt() local
1368 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds); in test_clip_bound_opt()
1370 REPORTER_ASSERT(reporter, 0 == clipBounds.fLeft); in test_clip_bound_opt()
1371 REPORTER_ASSERT(reporter, 0 == clipBounds.fTop); in test_clip_bound_opt()
1372 REPORTER_ASSERT(reporter, 10 == clipBounds.fBottom); in test_clip_bound_opt()
1373 REPORTER_ASSERT(reporter, 10 == clipBounds.fRight); in test_clip_bound_opt()
1379 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds); in test_clip_bound_opt()
1381 REPORTER_ASSERT(reporter, 7 == clipBounds.fLeft); in test_clip_bound_opt()
1382 REPORTER_ASSERT(reporter, 7 == clipBounds.fTop); in test_clip_bound_opt()
1383 REPORTER_ASSERT(reporter, 8 == clipBounds.fBottom); in test_clip_bound_opt()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasRenderingContext2D.cpp994 FloatRect clipBounds; in fillInternal() local
995 if (!c->getTransformedClipBounds(&clipBounds)) { in fillInternal()
1010 didDraw(clipBounds); in fillInternal()
1014 didDraw(clipBounds); in fillInternal()
1017 if (computeDirtyRect(path.boundingRect(), clipBounds, &dirtyRect)) { in fillInternal()
1048 FloatRect clipBounds; in strokeInternal() local
1049 if (!c->getTransformedClipBounds(&clipBounds)) in strokeInternal()
1060 didDraw(clipBounds); in strokeInternal()
1064 didDraw(clipBounds); in strokeInternal()
1069 if (computeDirtyRect(bounds, clipBounds, &dirtyRect)) { in strokeInternal()
[all …]
/external/chromium_org/third_party/skia/include/core/
DSkMaskFilter.h92 const SkIRect& clipBounds,
190 const SkIRect& clipBounds,
196 const SkIRect& clipBounds,
DSkRasterizer.h28 const SkIRect* clipBounds, SkMaskFilter* filter,
38 const SkIRect* clipBounds,
DSkImageFilter.h64 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) : in Context() argument
65 fCTM(ctm), fClipBounds(clipBounds), fCache(cache) { in Context()
68 const SkIRect& clipBounds() const { return fClipBounds; } in clipBounds() function
/external/skia/include/core/
DSkMaskFilter.h92 const SkIRect& clipBounds,
190 const SkIRect& clipBounds,
196 const SkIRect& clipBounds,
DSkRasterizer.h28 const SkIRect* clipBounds, SkMaskFilter* filter,
38 const SkIRect* clipBounds,
DSkImageFilter.h64 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) : in Context() argument
65 fCTM(ctm), fClipBounds(clipBounds), fCache(cache) { in Context()
68 const SkIRect& clipBounds() const { return fClipBounds; } in clipBounds() function
/external/chromium_org/third_party/skia/src/effects/
DSkLayerRasterizer.cpp66 const SkIRect* clipBounds, SkIRect* bounds) { in compute_bounds() argument
93 if (!SkDraw::DrawToMask(devPath, clipBounds, paint.getMaskFilter(), in compute_bounds()
106 const SkIRect* clipBounds, in onRasterize() argument
114 if (!compute_bounds(*fLayers, path, matrix, clipBounds, &mask->fBounds)) in onRasterize()
DSkBlurMaskFilter.cpp46 const SkIRect& clipBounds,
73 const SkIRect& clipBounds,
77 const SkIRect& clipBounds,
265 const SkIRect& clipBounds, in filterRRectToNine() argument
399 const SkIRect& clipBounds, in filterRectsToNine() argument
1097 const SkIRect& clipBounds, in canFilterMaskGPU() argument
1122 SkRect clipRect = SkRect::Make(clipBounds); in canFilterMaskGPU()
/external/skia/src/effects/
DSkLayerRasterizer.cpp66 const SkIRect* clipBounds, SkIRect* bounds) { in compute_bounds() argument
93 if (!SkDraw::DrawToMask(devPath, clipBounds, paint.getMaskFilter(), in compute_bounds()
106 const SkIRect* clipBounds, in onRasterize() argument
114 if (!compute_bounds(*fLayers, path, matrix, clipBounds, &mask->fBounds)) in onRasterize()
DSkBlurMaskFilter.cpp46 const SkIRect& clipBounds,
73 const SkIRect& clipBounds,
77 const SkIRect& clipBounds,
265 const SkIRect& clipBounds, in filterRRectToNine() argument
399 const SkIRect& clipBounds, in filterRectsToNine() argument
1097 const SkIRect& clipBounds, in canFilterMaskGPU() argument
1122 SkRect clipRect = SkRect::Make(clipBounds); in canFilterMaskGPU()
/external/chromium_org/third_party/skia/include/effects/
DSkLayerRasterizer.h89 const SkIRect* clipBounds,
/external/skia/include/effects/
DSkLayerRasterizer.h89 const SkIRect* clipBounds,

12