Searched defs:clipBounds (Results 1 - 25 of 29) 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 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
H A DSkPicturePlayback.cpp72 SkRect clipBounds; local
73 if (canvas->getClipBounds(&clipBounds)) {
74 return fPictureData->getActiveOps(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 DSkDraw.cpp2288 static bool compute_bounds(const SkPath& devPath, const SkIRect* clipBounds, argument
2318 if (clipBounds) {
2319 SkIRect tmp = *clipBounds;
2361 bool SkDraw::DrawToMask(const SkPath& devPath, const SkIRect* clipBounds, argument
2366 if (!compute_bounds(devPath, clipBounds, filter, filterMatrix, &mask->fBounds))
H A DSkCanvas.cpp838 SkIRect clipBounds; local
840 if (!this->getClipDeviceBounds(&clipBounds)) {
845 imageFilter->filterBounds(clipBounds, fMCRec->fMatrix, &clipBounds);
856 if (!ir.intersect(clipBounds)) {
863 ir = clipBounds;
1224 SkIRect clipBounds = SkIRect::MakeWH(srcDev->width(), srcDev->height()); local
1226 SkImageFilter::Context ctx(matrix, clipBounds, cache.get());
1264 SkIRect clipBounds = SkIRect::MakeWH(bitmap.width(), bitmap.height()); local
1266 SkImageFilter::Context ctx(matrix, clipBounds, cach
[all...]
/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 DSkBBoxRecord.cpp40 SkIRect clipBounds; local
41 if (this->getClipDeviceBounds(&clipBounds)) {
42 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
H A DSkDraw.cpp2277 static bool compute_bounds(const SkPath& devPath, const SkIRect* clipBounds, argument
2307 if (clipBounds) {
2308 SkIRect tmp = *clipBounds;
2350 bool SkDraw::DrawToMask(const SkPath& devPath, const SkIRect* clipBounds, argument
2355 if (!compute_bounds(devPath, clipBounds, filter, filterMatrix, &mask->fBounds))
H A DSkCanvas.cpp822 SkIRect clipBounds; local
824 if (!this->getClipDeviceBounds(&clipBounds)) {
829 imageFilter->filterBounds(clipBounds, *fMCRec->fMatrix, &clipBounds);
840 if (!ir.intersect(clipBounds)) {
847 ir = clipBounds;
1208 SkIRect clipBounds = SkIRect::MakeWH(srcDev->width(), srcDev->height()); local
1215 SkImageFilter::Context ctx(matrix, clipBounds, cache);
1254 SkIRect clipBounds = SkIRect::MakeWH(bitmap.width(), bitmap.height()); local
1261 SkImageFilter::Context ctx(matrix, clipBounds, cach
[all...]
/external/chromium_org/third_party/skia/include/core/
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/skia/include/core/
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
/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 DSkBlurMaskFilter.cpp47 const SkIRect& clipBounds,
74 const SkIRect& clipBounds,
78 const SkIRect& clipBounds,
268 const SkIRect& clipBounds,
302 // TODO: take clipBounds into account to limit our coordinates up front
402 const SkIRect& clipBounds,
414 // TODO: take clipBounds into account to limit our coordinates up front
1109 const SkIRect& clipBounds,
1134 SkRect clipRect = SkRect::Make(clipBounds);
267 filterRRectToNine(const SkRRect& rrect, const SkMatrix& matrix, const SkIRect& clipBounds, NinePatch* patch) const argument
400 filterRectsToNine(const SkRect rects[], int count, const SkMatrix& matrix, const SkIRect& clipBounds, NinePatch* patch) const argument
1108 canFilterMaskGPU(const SkRect& srcBounds, const SkIRect& clipBounds, const SkMatrix& ctm, SkRect* maskRect) const argument
/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
H A DSkBlurMaskFilter.cpp46 const SkIRect& clipBounds,
73 const SkIRect& clipBounds,
77 const SkIRect& clipBounds,
265 const SkIRect& clipBounds,
299 // TODO: take clipBounds into account to limit our coordinates up front
399 const SkIRect& clipBounds,
411 // TODO: take clipBounds into account to limit our coordinates up front
1097 const SkIRect& clipBounds,
1122 SkRect clipRect = SkRect::Make(clipBounds);
264 filterRRectToNine(const SkRRect& rrect, const SkMatrix& matrix, const SkIRect& clipBounds, NinePatch* patch) const argument
397 filterRectsToNine(const SkRect rects[], int count, const SkMatrix& matrix, const SkIRect& clipBounds, NinePatch* patch) const argument
1096 canFilterMaskGPU(const SkRect& srcBounds, const SkIRect& clipBounds, const SkMatrix& ctm, SkRect* maskRect) const argument
/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...]
/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/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/src/pdf/
H A DSkPDFDevice.cpp411 SkRect clipBounds = SkRect::Make(clipRegion.getBounds()); local
412 clipBounds.outset(SK_Scalar1, SK_Scalar1);
413 if (!calculate_inverse_path(clipBounds, *outClipPath, outClipPath)) {
/external/skia/src/pdf/
H A DSkPDFDevice.cpp426 SkRect clipBounds = SkRect::Make(clipRegion.getBounds()); local
427 clipBounds.outset(SK_Scalar1, SK_Scalar1);
428 if (!calculate_inverse_path(clipBounds, *outClipPath, outClipPath)) {

Completed in 465 milliseconds

12