Searched refs:clipBounds (Results 1 - 25 of 45) sorted by relevance

12

/external/chromium_org/third_party/skia/src/core/
H A DSkRasterizer.cpp16 const SkIRect* clipBounds, SkMaskFilter* filter,
20 if (clipBounds && filter && SkMask::kJustRenderImage_CreateMode != mode) {
30 storage = *clipBounds;
32 clipBounds = &storage;
35 return this->onRasterize(fillPath, matrix, clipBounds, mask, mode);
41 const SkIRect* clipBounds,
46 return SkDraw::DrawToMask(devPath, clipBounds, NULL, NULL, mask, mode,
15 rasterize(const SkPath& fillPath, const SkMatrix& matrix, const SkIRect* clipBounds, SkMaskFilter* filter, SkMask* mask, SkMask::CreateMode mode) const argument
40 onRasterize(const SkPath& fillPath, const SkMatrix& matrix, const SkIRect* clipBounds, SkMask* mask, SkMask::CreateMode mode) const argument
H A DSkScan.cpp23 const SkIRect& clipBounds = clip->getBounds(); local
25 if (clipBounds.contains(r)) {
29 if (rr.intersect(clipBounds)) {
H A DSkImageFilter.cpp40 Key(const uint32_t uniqueID, const SkMatrix& matrix, const SkIRect& clipBounds, uint32_t srcGenID) argument
41 : fUniqueID(uniqueID), fMatrix(matrix), fClipBounds(clipBounds), fSrcGenID(srcGenID) {
175 Cache::Key key(fUniqueID, context.ctm(), context.clipBounds(), srcGenID);
300 if (!srcBounds.intersect(ctx.clipBounds())) {
322 if (!bounds->intersect(ctx.clipBounds())) {
H A DSkScan_Antihair.cpp617 SkRect clipBounds;
618 clipBounds.set(clip->getBounds());
628 clipBounds.inset(-SK_Scalar1, -SK_Scalar1);
630 if (!SkLineClipper::IntersectLine(pts, clipBounds, pts)) {
780 const SkIRect& clipBounds = clip->getBounds();
782 if (clipBounds.contains(outerBounds)) {
787 XRect_set(&tmpR, clipBounds);
H A DSkBBoxRecord.cpp47 SkIRect clipBounds; local
48 if (this->getClipDeviceBounds(&clipBounds)) {
49 this->handleBBox(SkRect::Make(clipBounds));
H A DSkMaskFilter.cpp290 const SkIRect& clipBounds, NinePatch*) const {
296 const SkIRect& clipBounds, NinePatch*) const {
306 const SkIRect& clipBounds,
289 filterRRectToNine(const SkRRect&, const SkMatrix&, const SkIRect& clipBounds, NinePatch*) const argument
295 filterRectsToNine(const SkRect[], int count, const SkMatrix&, const SkIRect& clipBounds, NinePatch*) const argument
305 canFilterMaskGPU(const SkRect& devBounds, const SkIRect& clipBounds, const SkMatrix& ctm, SkRect* maskRect) const argument
/external/skia/src/core/
H A DSkRasterizer.cpp16 const SkIRect* clipBounds, SkMaskFilter* filter,
20 if (clipBounds && filter && SkMask::kJustRenderImage_CreateMode != mode) {
30 storage = *clipBounds;
32 clipBounds = &storage;
35 return this->onRasterize(fillPath, matrix, clipBounds, mask, mode);
41 const SkIRect* clipBounds,
46 return SkDraw::DrawToMask(devPath, clipBounds, NULL, NULL, mask, mode,
15 rasterize(const SkPath& fillPath, const SkMatrix& matrix, const SkIRect* clipBounds, SkMaskFilter* filter, SkMask* mask, SkMask::CreateMode mode) const argument
40 onRasterize(const SkPath& fillPath, const SkMatrix& matrix, const SkIRect* clipBounds, SkMask* mask, SkMask::CreateMode mode) const argument
H A DSkScan.cpp23 const SkIRect& clipBounds = clip->getBounds(); local
25 if (clipBounds.contains(r)) {
29 if (rr.intersect(clipBounds)) {
H A DSkScan_Antihair.cpp617 SkRect clipBounds;
618 clipBounds.set(clip->getBounds());
628 clipBounds.inset(-SK_Scalar1, -SK_Scalar1);
630 if (!SkLineClipper::IntersectLine(pts, clipBounds, pts)) {
780 const SkIRect& clipBounds = clip->getBounds();
782 if (clipBounds.contains(outerBounds)) {
787 XRect_set(&tmpR, clipBounds);
H A DSkBBoxRecord.cpp40 SkIRect clipBounds; local
41 if (this->getClipDeviceBounds(&clipBounds)) {
42 this->handleBBox(SkRect::Make(clipBounds));
/external/skia/include/core/
H A DSkRasterizer.h28 const SkIRect* clipBounds, SkMaskFilter* filter,
38 const SkIRect* clipBounds,
H A DSkMaskFilter.h92 const SkIRect& clipBounds,
190 const SkIRect& clipBounds,
196 const SkIRect& clipBounds,
H A DSkImageFilter.h64 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) : argument
65 fCTM(ctm), fClipBounds(clipBounds), fCache(cache) {
68 const SkIRect& clipBounds() const { return fClipBounds; } function in class:SkImageFilter::Context
252 * context's clipBounds, and returns the result in "bounds". If there is
H A DSkDraw.h86 static bool DrawToMask(const SkPath& devPath, const SkIRect* clipBounds,
/external/chromium_org/third_party/skia/include/core/
H A DSkRasterizer.h28 const SkIRect* clipBounds, SkMaskFilter* filter,
40 const SkIRect* clipBounds,
H A DSkMaskFilter.h90 const SkIRect& clipBounds,
190 const SkIRect& clipBounds,
196 const SkIRect& clipBounds,
H A DSkImageFilter.h52 // This cache maps from (filter's unique ID + CTM + clipBounds + src bitmap generation ID) to
66 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) : argument
67 fCTM(ctm), fClipBounds(clipBounds), fCache(cache) {
70 const SkIRect& clipBounds() const { return fClipBounds; } function in class:SkImageFilter::Context
274 * context's clipBounds, and returns the result in "bounds". If there is
/external/chromium_org/third_party/skia/include/effects/
H A DSkLayerRasterizer.h79 const SkIRect* clipBounds,
/external/skia/tests/
H A DPictureTest.cpp1361 SkIRect clipBounds; local
1368 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds);
1370 REPORTER_ASSERT(reporter, 0 == clipBounds.fLeft);
1371 REPORTER_ASSERT(reporter, 0 == clipBounds.fTop);
1372 REPORTER_ASSERT(reporter, 10 == clipBounds.fBottom);
1373 REPORTER_ASSERT(reporter, 10 == clipBounds.fRight);
1379 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds);
1381 REPORTER_ASSERT(reporter, 7 == clipBounds.fLeft);
1382 REPORTER_ASSERT(reporter, 7 == clipBounds.fTop);
1383 REPORTER_ASSERT(reporter, 8 == clipBounds
[all...]
/external/chromium_org/third_party/skia/src/effects/
H A DSkLayerRasterizer.cpp55 const SkIRect* clipBounds, SkIRect* bounds) {
82 if (!SkDraw::DrawToMask(devPath, clipBounds, paint.getMaskFilter(),
95 const SkIRect* clipBounds,
103 if (!compute_bounds(*fLayers, path, matrix, clipBounds, &mask->fBounds))
53 compute_bounds(const SkDeque& layers, const SkPath& path, const SkMatrix& matrix, const SkIRect* clipBounds, SkIRect* bounds) argument
94 onRasterize(const SkPath& path, const SkMatrix& matrix, const SkIRect* clipBounds, SkMask* mask, SkMask::CreateMode mode) const argument
H A DSkPictureImageFilter.cpp87 if (!bounds.intersect(ctx.clipBounds())) {
/external/skia/include/effects/
H A DSkLayerRasterizer.h89 const SkIRect* clipBounds,
/external/skia/src/effects/
H A DSkLayerRasterizer.cpp66 const SkIRect* clipBounds, SkIRect* bounds) {
93 if (!SkDraw::DrawToMask(devPath, clipBounds, paint.getMaskFilter(),
106 const SkIRect* clipBounds,
114 if (!compute_bounds(*fLayers, path, matrix, clipBounds, &mask->fBounds))
64 compute_bounds(const SkDeque& layers, const SkPath& path, const SkMatrix& matrix, const SkIRect* clipBounds, SkIRect* bounds) argument
105 onRasterize(const SkPath& path, const SkMatrix& matrix, const SkIRect* clipBounds, SkMask* mask, SkMask::CreateMode mode) const argument
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasRenderingContext2D.cpp1013 FloatRect clipBounds; local
1014 if (!c->getTransformedClipBounds(&clipBounds)) {
1029 didDraw(clipBounds);
1033 didDraw(clipBounds);
1036 if (computeDirtyRect(path.boundingRect(), clipBounds, &dirtyRect)) {
1067 FloatRect clipBounds; local
1068 if (!c->getTransformedClipBounds(&clipBounds))
1079 didDraw(clipBounds);
1083 didDraw(clipBounds);
1088 if (computeDirtyRect(bounds, clipBounds,
1731 FloatRect clipBounds; local
2219 FloatRect clipBounds; local
2403 FloatRect clipBounds; local
[all...]
/external/chromium_org/third_party/skia/tests/
H A DPictureTest.cpp1571 SkIRect clipBounds; local
1578 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds);
1580 REPORTER_ASSERT(reporter, 0 == clipBounds.fLeft);
1581 REPORTER_ASSERT(reporter, 0 == clipBounds.fTop);
1582 REPORTER_ASSERT(reporter, 10 == clipBounds.fBottom);
1583 REPORTER_ASSERT(reporter, 10 == clipBounds.fRight);
1589 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds);
1591 REPORTER_ASSERT(reporter, 7 == clipBounds.fLeft);
1592 REPORTER_ASSERT(reporter, 7 == clipBounds.fTop);
1593 REPORTER_ASSERT(reporter, 8 == clipBounds
[all...]

Completed in 2212 milliseconds

12