Home
last modified time | relevance | path

Searched refs:clipBounds (Results 1 – 25 of 33) 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.cpp33 SkIRect clipBounds; in drawPath() local
34 if (this->getClipDeviceBounds(&clipBounds)) { in drawPath()
35 this->handleBBox(SkRect::Make(clipBounds)); in drawPath()
DSkScan_Antihair.cpp619 SkRect clipBounds; in AntiHairLineRgn() local
620 clipBounds.set(clip->getBounds()); in AntiHairLineRgn()
630 clipBounds.inset(-SK_Scalar1, -SK_Scalar1); in AntiHairLineRgn()
632 if (!SkLineClipper::IntersectLine(pts, clipBounds, pts)) { in AntiHairLineRgn()
782 const SkIRect& clipBounds = clip->getBounds(); in AntiFillXRect() local
784 if (clipBounds.contains(outerBounds)) { in AntiFillXRect()
789 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.cpp33 SkIRect clipBounds; in drawPath() local
34 if (this->getClipDeviceBounds(&clipBounds)) { in drawPath()
35 this->handleBBox(SkRect::Make(clipBounds)); in drawPath()
DSkScan_Antihair.cpp619 SkRect clipBounds; in AntiHairLineRgn() local
620 clipBounds.set(clip->getBounds()); in AntiHairLineRgn()
630 clipBounds.inset(-SK_Scalar1, -SK_Scalar1); in AntiHairLineRgn()
632 if (!SkLineClipper::IntersectLine(pts, clipBounds, pts)) { in AntiHairLineRgn()
782 const SkIRect& clipBounds = clip->getBounds(); in AntiFillXRect() local
784 if (clipBounds.contains(outerBounds)) { in AntiFillXRect()
789 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/skia/tests/
DPictureTest.cpp445 SkIRect clipBounds; in test_clip_bound_opt() local
453 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds); in test_clip_bound_opt()
455 REPORTER_ASSERT(reporter, 0 == clipBounds.fLeft); in test_clip_bound_opt()
456 REPORTER_ASSERT(reporter, 0 == clipBounds.fTop); in test_clip_bound_opt()
457 REPORTER_ASSERT(reporter, 10 == clipBounds.fBottom); in test_clip_bound_opt()
458 REPORTER_ASSERT(reporter, 10 == clipBounds.fRight); in test_clip_bound_opt()
466 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds); in test_clip_bound_opt()
468 REPORTER_ASSERT(reporter, 7 == clipBounds.fLeft); in test_clip_bound_opt()
469 REPORTER_ASSERT(reporter, 7 == clipBounds.fTop); in test_clip_bound_opt()
470 REPORTER_ASSERT(reporter, 8 == clipBounds.fBottom); in test_clip_bound_opt()
[all …]
/external/skia/include/core/
DSkMaskFilter.h87 const SkIRect& clipBounds,
164 const SkIRect& clipBounds,
170 const SkIRect& clipBounds,
DSkRasterizer.h30 const SkIRect* clipBounds, SkMaskFilter* filter,
39 const SkIRect* clipBounds,
DSkDraw.h87 static bool DrawToMask(const SkPath& devPath, const SkIRect* clipBounds,
/external/chromium_org/third_party/skia/include/core/
DSkMaskFilter.h87 const SkIRect& clipBounds,
164 const SkIRect& clipBounds,
170 const SkIRect& clipBounds,
DSkRasterizer.h30 const SkIRect* clipBounds, SkMaskFilter* filter,
39 const SkIRect* clipBounds,
DSkDraw.h87 static bool DrawToMask(const SkPath& devPath, const SkIRect* clipBounds,
/external/chromium_org/third_party/skia/src/effects/
DSkLayerRasterizer.cpp49 const SkIRect* clipBounds, SkIRect* bounds) { in compute_bounds() argument
76 if (!SkDraw::DrawToMask(devPath, clipBounds, paint.getMaskFilter(), in compute_bounds()
89 const SkIRect* clipBounds, in onRasterize() argument
96 if (!compute_bounds(fLayers, path, matrix, clipBounds, &mask->fBounds)) in onRasterize()
DSkBlurMaskFilter.cpp37 const SkIRect& clipBounds,
53 const SkIRect& clipBounds,
57 const SkIRect& clipBounds,
241 const SkIRect& clipBounds, in filterRRectToNine() argument
358 const SkIRect& clipBounds, in filterRectsToNine() argument
506 const SkIRect& clipBounds, in canFilterMaskGPU() argument
531 SkRect clipRect = SkRect::Make(clipBounds); in canFilterMaskGPU()
/external/skia/src/effects/
DSkLayerRasterizer.cpp49 const SkIRect* clipBounds, SkIRect* bounds) { in compute_bounds() argument
76 if (!SkDraw::DrawToMask(devPath, clipBounds, paint.getMaskFilter(), in compute_bounds()
89 const SkIRect* clipBounds, in onRasterize() argument
96 if (!compute_bounds(fLayers, path, matrix, clipBounds, &mask->fBounds)) in onRasterize()
DSkBlurMaskFilter.cpp37 const SkIRect& clipBounds,
53 const SkIRect& clipBounds,
57 const SkIRect& clipBounds,
241 const SkIRect& clipBounds, in filterRRectToNine() argument
358 const SkIRect& clipBounds, in filterRectsToNine() argument
506 const SkIRect& clipBounds, in canFilterMaskGPU() argument
531 SkRect clipRect = SkRect::Make(clipBounds); in canFilterMaskGPU()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/win/
DTransparencyWin.cpp203 SkRect clipBounds; in computeLayerSize() local
204 if (m_destContext->getClipBounds(&clipBounds)) { in computeLayerSize()
205 … FloatRect clipRect(clipBounds.left(), clipBounds.top(), clipBounds.width(), clipBounds.height()); in computeLayerSize()
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasRenderingContext2D.cpp892 FloatRect clipBounds; in fill() local
893 if (!drawingContext()->getTransformedClipBounds(&clipBounds)) in fill()
910 didDraw(clipBounds); in fill()
914 didDraw(clipBounds); in fill()
917 if (computeDirtyRect(m_path.boundingRect(), clipBounds, &dirtyRect)) { in fill()
1064 FloatRect clipBounds; in fillRect() local
1065 if (!drawingContext()->getTransformedClipBounds(&clipBounds)) in fillRect()
1076 if (rectContainsTransformedRect(rect, clipBounds)) { in fillRect()
1078 didDraw(clipBounds); in fillRect()
1081 didDraw(clipBounds); in fillRect()
[all …]
/external/skia/include/effects/
DSkLayerRasterizer.h43 const SkIRect* clipBounds,
/external/chromium_org/third_party/skia/include/effects/
DSkLayerRasterizer.h43 const SkIRect* clipBounds,

12