Home
last modified time | relevance | path

Searched refs:srcIR (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/
DGrLayerHoister.cpp28 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 …]
DGrLayerCache.h147 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,
DGrRecordReplaceDraw.cpp39 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()
DGrLayerCache.cpp126 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/
Ddrawbitmaprect.cpp87 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/
DSkBitmapDevice.cpp264 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/
DSkPDFDevice.cpp1040 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()