Searched refs:srcIR (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/gpu/ |
D | GrLayerHoister.cpp | 28 const SkIRect& srcIR, in prepare_for_hoisting() argument 39 srcIR, in prepare_for_hoisting() 47 desc.fWidth = srcIR.width(); in prepare_for_hoisting() 48 desc.fHeight = srcIR.height(); in prepare_for_hoisting() 89 const SkIRect& dstIR, SkIRect* srcIR) { in compute_source_rect() argument 104 r.roundOut(srcIR); in compute_source_rect() 106 if (!srcIR->intersect(clipBounds)) { in compute_source_rect() 110 *srcIR = clipBounds; in compute_source_rect() 168 SkIRect srcIR; in FindLayersToAtlas() local 170 if (!compute_source_rect(info, initialMat, dstIR, &srcIR) || in FindLayersToAtlas() [all …]
|
D | GrLayerCache.h | 147 const SkIRect& srcIR, const SkIRect& dstIR, in GrCachedLayer() 154 , fSrcIR(srcIR) in GrCachedLayer() 187 const SkIRect& srcIR() const { return fSrcIR; } in srcIR() function 297 const SkIRect& srcIR, 382 const SkIRect& srcIR, const SkIRect& dstIR,
|
D | GrRecordReplaceDraw.cpp | 39 const SkRect dst = SkRect::Make(layer->srcIR()); in draw_replacement_bitmap() 49 layer->srcIR().fLeft + layer->offset().fX, in draw_replacement_bitmap() 50 layer->srcIR().fTop + layer->offset().fY, in draw_replacement_bitmap()
|
D | GrLayerCache.cpp | 126 const SkIRect& srcIR, in createLayer() argument 135 srcIR, dstIR, initialMat, in createLayer() 149 const SkIRect& srcIR, in findLayerOrCreate() argument 159 srcIR, dstIR, initialMat, in findLayerOrCreate()
|
/external/skia/gm/ |
D | drawbitmaprect.cpp | 87 static void imageproc(SkCanvas* canvas, SkImage* image, const SkBitmap&, const SkIRect* srcIR, in imageproc() argument 90 if (srcIR) { in imageproc() 91 storage.set(*srcIR); in imageproc() 97 static void imagescaleproc(SkCanvas* canvas, SkImage* image, const SkBitmap&, const SkIRect* srcIR, in imagescaleproc() argument 101 SkAutoTUnref<SkImage> newImage(image->newImage(newW, newH, srcIR)); in imagescaleproc() 105 const bool containsSubset = !srcIR || baseR.contains(*srcIR); in imagescaleproc()
|
/external/skia/src/core/ |
D | SkBitmapDevice.cpp | 264 const SkIRect srcIR = tmpSrc.roundOut(); in drawBitmapRect() local 268 bitmap.pixelRef()->readPixels(&tmpBitmap, &srcIR); in drawBitmapRect() 270 if (!bitmap.extractSubset(&tmpBitmap, srcIR)) { in drawBitmapRect() 278 if (srcIR.fLeft > 0) { in drawBitmapRect() 279 dx = SkIntToScalar(srcIR.fLeft); in drawBitmapRect() 281 if (srcIR.fTop > 0) { in drawBitmapRect() 282 dy = SkIntToScalar(srcIR.fTop); in drawBitmapRect()
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 1040 SkIRect srcIR; in drawBitmapRect() local 1041 tmpSrc.roundOut(&srcIR); in drawBitmapRect() 1042 if (!bitmap.extractSubset(&tmpBitmap, srcIR)) { in drawBitmapRect() 1049 if (srcIR.fLeft > 0) { in drawBitmapRect() 1050 dx = SkIntToScalar(srcIR.fLeft); in drawBitmapRect() 1052 if (srcIR.fTop > 0) { in drawBitmapRect() 1053 dy = SkIntToScalar(srcIR.fTop); in drawBitmapRect()
|