/external/skia/src/core/ |
H A D | SkRasterizer.cpp | 16 const SkIRect* clipBounds, SkMaskFilter* filter, 20 if (clipBounds && filter && SkMask::kJustRenderImage_CreateMode != mode) { 30 storage = clipBounds->makeOutset(margin.fX, margin.fY); 31 clipBounds = &storage; 34 return this->onRasterize(fillPath, matrix, clipBounds, mask, mode); 40 const SkIRect* clipBounds, 45 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 39 onRasterize(const SkPath& fillPath, const SkMatrix& matrix, const SkIRect* clipBounds, SkMask* mask, SkMask::CreateMode mode) const argument
|
H A D | SkScan.cpp | 23 const SkIRect& clipBounds = clip->getBounds(); local 25 if (clipBounds.contains(r)) { 29 if (rr.intersect(clipBounds)) {
|
H A D | SkMultiPictureDraw.cpp | 126 SkRect clipBounds; local 127 if (!data.fCanvas->getClipBounds(&clipBounds)) { 142 clipBounds, 161 SkRect clipBounds; local 162 if (!canvas->getClipBounds(&clipBounds)) { 176 clipBounds, &needRendering, &recycled,
|
H A D | SkImageFilter.cpp | 45 Key(const uint32_t uniqueID, const SkMatrix& matrix, const SkIRect& clipBounds, uint32_t srcGenID) argument 46 : fUniqueID(uniqueID), fMatrix(matrix), fClipBounds(clipBounds), fSrcGenID(srcGenID) { 178 Cache::Key key(fUniqueID, context.ctm(), context.clipBounds(), srcGenID); 302 if (!srcBounds.intersect(ctx.clipBounds())) { 323 if (!bounds->intersect(ctx.clipBounds())) {
|
H A D | SkScan_Antihair.cpp | 538 SkRect clipBounds; 540 clipBounds.set(clip->getBounds()); 550 clipBounds.outset(SK_Scalar1, SK_Scalar1); 562 if (clip && !SkLineClipper::IntersectLine(pts, clipBounds, pts)) { 709 const SkIRect& clipBounds = clip->getBounds(); 711 if (clipBounds.contains(outerBounds)) { 716 XRect_set(&tmpR, clipBounds);
|
H A D | SkMaskFilter.cpp | 296 const SkIRect& clipBounds, NinePatch*) const { 302 const SkIRect& clipBounds, NinePatch*) const { 312 const SkIRect& clipBounds, 295 filterRRectToNine(const SkRRect&, const SkMatrix&, const SkIRect& clipBounds, NinePatch*) const argument 301 filterRectsToNine(const SkRect[], int count, const SkMatrix&, const SkIRect& clipBounds, NinePatch*) const argument 311 canFilterMaskGPU(const SkRect& devBounds, const SkIRect& clipBounds, const SkMatrix& ctm, SkRect* maskRect) const argument
|
H A D | SkPicture.cpp | 269 SkRect clipBounds = { 0, 0, 0, 0 }; local 270 (void)canvas->getClipBounds(&clipBounds); 271 const bool useBBH = !clipBounds.contains(this->cullRect());
|
H A D | SkScan_Hairline.cpp | 49 SkRect clipBounds; 51 clipBounds.set(clip->getBounds()); 67 if (clip && !SkLineClipper::IntersectLine(pts, clipBounds, pts)) {
|
/external/skia/include/core/ |
H A D | SkRasterizer.h | 28 const SkIRect* clipBounds, SkMaskFilter* filter, 36 const SkIRect* clipBounds,
|
H A D | SkMaskFilter.h | 93 const SkIRect& clipBounds, 202 const SkIRect& clipBounds, 208 const SkIRect& clipBounds,
|
H A D | SkImageFilter.h | 54 // This cache maps from (filter's unique ID + CTM + clipBounds + src bitmap generation ID) to 68 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) : argument 69 fCTM(ctm), fClipBounds(clipBounds), fCache(cache) { 72 const SkIRect& clipBounds() const { return fClipBounds; } function in class:SkImageFilter::Context 309 * context's clipBounds, and returns the result in "bounds". If there is
|
H A D | SkDraw.h | 93 static bool DrawToMask(const SkPath& devPath, const SkIRect* clipBounds,
|
/external/skia/src/gpu/ |
H A D | GrTextContext.h | 34 SkScalar y, const SkIRect& clipBounds); 39 const SkPoint& offset, const SkIRect& clipBounds); 42 SkDrawFilter*, const SkIRect& clipBounds); 69 SkScalar x, SkScalar y, const SkIRect& clipBounds) = 0; 74 const SkPoint& offset, const SkIRect& clipBounds) = 0; 78 const SkIRect& clipBounds); 82 const SkPoint& offset, const SkIRect& clipBounds);
|
H A D | GrTextContext.cpp | 53 SkScalar x, SkScalar y, const SkIRect& clipBounds) { 62 clipBounds); 70 this->drawTextAsPath(skPaint, viewMatrix, text, byteLength, x, y, clipBounds); 77 const SkPoint& offset, const SkIRect& clipBounds) { 86 scalarsPerPosition, offset, clipBounds); 95 clipBounds); 101 SkDrawFilter* drawFilter, const SkIRect& clipBounds) { 128 textLen, x + offset.x(), y + offset.y(), clipBounds); 132 textLen, it.pos(), 1, SkPoint::Make(x, y + offset.y()), clipBounds); 136 textLen, it.pos(), 2, SkPoint::Make(x, y), clipBounds); 50 drawText(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x, SkScalar y, const SkIRect& clipBounds) argument 73 drawPosText(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset, const SkIRect& clipBounds) argument 98 drawTextBlob(GrRenderTarget* rt, const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const SkTextBlob* blob, SkScalar x, SkScalar y, SkDrawFilter* drawFilter, const SkIRect& clipBounds) argument 149 drawTextAsPath(const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x, SkScalar y, const SkIRect& clipBounds) argument 171 drawPosTextAsPath(const SkPaint& origPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset, const SkIRect& clipBounds) argument [all...] |
H A D | GrLayerHoister.cpp | 90 SkIRect clipBounds = dstIR; local 97 info.fPaint->getImageFilter()->filterBounds(clipBounds, totMat, &clipBounds); 106 if (!srcIR->intersect(clipBounds)) { 110 *srcIR = clipBounds; 308 SkIRect clipBounds = layer->rect(); local 313 SkImageFilter::Context filterContext(totMat, clipBounds, cache);
|
H A D | GrAtlasTextContext.h | 57 SkDrawFilter*, const SkIRect& clipBounds) override; 275 const SkMatrix& viewMatrix, const SkIRect& clipBounds, SkScalar x, 285 SkScalar transX, SkScalar transY, const SkIRect& clipBounds); 290 const SkIRect& clipBounds, SkScalar x, SkScalar y, SkScalar transX, SkScalar transY); 292 const GrPaint&, const GrClip&, const SkIRect& clipBounds);
|
H A D | SkGpuDevice.cpp | 653 static bool clip_bounds_quick_reject(const SkIRect& clipBounds, const SkIRect& rect) { argument 654 return clipBounds.isEmpty() || rect.isEmpty() || !SkIRect::Intersects(clipBounds, rect); 663 const SkIRect& clipBounds, 668 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM, 680 if (clip_bounds_quick_reject(clipBounds, dstM.fBounds)) { 772 const SkIRect& clipBounds, bool pathIsMutable) { 853 clipBounds, 858 if (clip_bounds_quick_reject(clipBounds, finalIRect)) { 908 paint.getMaskFilter(), clipBounds, 657 draw_with_mask_filter(GrContext* context, GrRenderTarget* rt, const GrClip& clipData, const SkMatrix& viewMatrix, const SkPath& devPath, SkMaskFilter* filter, const SkIRect& clipBounds, GrPaint* grp, SkPaint::Style style) argument 770 internalDrawPath(const SkPath& origSrcPath, const SkPaint& paint, const SkMatrix& origViewMatrix, const SkMatrix* prePathMatrix, const SkIRect& clipBounds, bool pathIsMutable) argument 1550 SkIRect clipBounds = SkIRect::MakeWH(bitmap.width(), bitmap.height()); local 1666 SkIRect clipBounds = SkIRect::MakeWH(devTex->width(), devTex->height()); local 2021 SkRect clipBounds = SkRect::Make(iBounds); local [all...] |
H A D | GrAtlasTextContext.cpp | 351 SkDrawFilter* drawFilter, const SkIRect& clipBounds) { 432 clip, viewMatrix, clipBounds, x, y, transX, transY); 2046 const SkIRect& clipBounds, SkScalar x, SkScalar y) { 2063 textLen, x + offset.x(), y + offset.y(), clipBounds); 2068 clipBounds); 2072 textLen, it.pos(), 2, SkPoint::Make(x, y), clipBounds); 2142 const SkIRect& clipBounds) { 2160 fGpuDevice->internalDrawPath(bigGlyph.fPath, skPaint, translate, &pathMatrix, clipBounds, 2174 const SkIRect& clipBounds, 2187 this->flushRunAsPaths(it, skPaint, drawFilter, viewMatrix, clipBounds, 348 drawTextBlob(GrRenderTarget* rt, const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const SkTextBlob* blob, SkScalar x, SkScalar y, SkDrawFilter* drawFilter, const SkIRect& clipBounds) argument 2044 flushRunAsPaths(const SkTextBlob::RunIterator& it, const SkPaint& skPaint, SkDrawFilter* drawFilter, const SkMatrix& viewMatrix, const SkIRect& clipBounds, SkScalar x, SkScalar y) argument 2139 flushBigGlyphs(BitmapTextBlob* cacheBlob, GrRenderTarget* rt, const SkPaint& skPaint, SkScalar transX, SkScalar transY, const SkIRect& clipBounds) argument 2165 flush(GrDrawTarget* target, const SkTextBlob* blob, BitmapTextBlob* cacheBlob, GrRenderTarget* rt, const SkPaint& skPaint, const GrPaint& grPaint, SkDrawFilter* drawFilter, const GrClip& clip, const SkMatrix& viewMatrix, const SkIRect& clipBounds, SkScalar x, SkScalar y, SkScalar transX, SkScalar transY) argument 2198 flush(GrDrawTarget* target, BitmapTextBlob* cacheBlob, GrRenderTarget* rt, const SkPaint& skPaint, const GrPaint& grPaint, const GrClip& clip, const SkIRect& clipBounds) argument [all...] |
H A D | GrTessellatingPathRenderer.cpp | 540 void path_to_contours(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds, argument 552 clipBounds.toQuad(quad); 1362 SkRect clipBounds) { 1363 return SkNEW_ARGS(TessellatingPathBatch, (color, path, viewMatrix, clipBounds)); 1474 const SkRect& clipBounds) 1478 , fClipBounds(clipBounds) { 1507 SkRect clipBounds = SkRect::Make(clipBoundsI); local 1512 vmi.mapRect(&clipBounds); 1513 SkAutoTUnref<GrBatch> batch(TessellatingPathBatch::Create(color, path, viewM, clipBounds)); 1527 SkRect clipBounds local 1359 Create(const GrColor& color, const SkPath& path, const SkMatrix& viewMatrix, SkRect clipBounds) argument 1471 TessellatingPathBatch(const GrColor& color, const SkPath& path, const SkMatrix& viewMatrix, const SkRect& clipBounds) argument [all...] |
/external/skia/include/effects/ |
H A D | SkLayerRasterizer.h | 76 const SkIRect* clipBounds,
|
/external/skia/tests/ |
H A D | PictureTest.cpp | 913 SkIRect clipBounds; local 920 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds); 922 REPORTER_ASSERT(reporter, 0 == clipBounds.fLeft); 923 REPORTER_ASSERT(reporter, 0 == clipBounds.fTop); 924 REPORTER_ASSERT(reporter, 10 == clipBounds.fBottom); 925 REPORTER_ASSERT(reporter, 10 == clipBounds.fRight); 931 bool nonEmpty = canvas->getClipDeviceBounds(&clipBounds); 933 REPORTER_ASSERT(reporter, 7 == clipBounds.fLeft); 934 REPORTER_ASSERT(reporter, 7 == clipBounds.fTop); 935 REPORTER_ASSERT(reporter, 8 == clipBounds [all...] |
/external/skia/src/effects/ |
H A D | SkLayerRasterizer.cpp | 55 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 D | SkComposeImageFilter.cpp | 41 Context outerContext(outerMatrix, ctx.clipBounds(), ctx.cache());
|
H A D | SkPictureImageFilter.cpp | 103 if (!bounds.intersect(ctx.clipBounds())) { 149 SkRect localBounds = SkRect::Make(ctx.clipBounds());
|
H A D | SkBlurMaskFilter.cpp | 47 const SkIRect& clipBounds, 80 const SkIRect& clipBounds, 84 const SkIRect& clipBounds, 315 const SkIRect& clipBounds, 345 // TODO: take clipBounds into account to limit our coordinates up front 453 const SkIRect& clipBounds, 465 // TODO: take clipBounds into account to limit our coordinates up front 1162 const SkIRect& clipBounds, 1187 SkRect clipRect = SkRect::Make(clipBounds); 314 filterRRectToNine(const SkRRect& rrect, const SkMatrix& matrix, const SkIRect& clipBounds, NinePatch* patch) const argument 451 filterRectsToNine(const SkRect rects[], int count, const SkMatrix& matrix, const SkIRect& clipBounds, NinePatch* patch) const argument 1161 canFilterMaskGPU(const SkRect& srcBounds, const SkIRect& clipBounds, const SkMatrix& ctm, SkRect* maskRect) const argument
|