Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrLayerHoister.cpp26 const SkIRect& srcIR, in prepare_for_hoisting() argument
37 srcIR, in prepare_for_hoisting()
45 desc.fWidth = srcIR.width(); in prepare_for_hoisting()
46 desc.fHeight = srcIR.height(); in prepare_for_hoisting()
87 const SkIRect& dstIR, SkIRect* srcIR) { in compute_source_rect() argument
102 r.roundOut(srcIR); in compute_source_rect()
104 if (!srcIR->intersect(clipBounds)) { in compute_source_rect()
108 *srcIR = clipBounds; in compute_source_rect()
166 SkIRect srcIR; in FindLayersToAtlas() local
168 if (!compute_source_rect(info, initialMat, dstIR, &srcIR) || in FindLayersToAtlas()
[all …]
DGrLayerCache.h153 const SkIRect& srcIR, in GrCachedLayer()
162 , fSrcIR(srcIR) in GrCachedLayer()
198 const SkIRect& srcIR() const { return fSrcIR; } in srcIR() function
318 const SkIRect& srcIR,
406 const SkIRect& srcIR, const SkIRect& dstIR,
DGrRecordReplaceDraw.cpp38 const SkRect dst = SkRect::Make(layer->srcIR()); in draw_replacement_bitmap()
45 SkIntToScalar(layer->srcIR().fLeft + layer->offset().fX), in draw_replacement_bitmap()
46 SkIntToScalar(layer->srcIR().fTop + layer->offset().fY), in draw_replacement_bitmap()
DGrLayerCache.cpp132 const SkIRect& srcIR, in createLayer() argument
140 GrCachedLayer* layer = new GrCachedLayer(pictureID, start, stop, srcIR, dstIR, initialMat, key, in createLayer()
154 const SkIRect& srcIR, in findLayerOrCreate() argument
164 srcIR, dstIR, initialMat, in findLayerOrCreate()
/external/skia/src/core/
DSkBitmapDevice.cpp287 const SkIRect srcIR = tmpSrc.roundOut(); in drawBitmapRect() local
291 bitmap.pixelRef()->readPixels(&tmpBitmap, kN32_SkColorType, &srcIR); in drawBitmapRect()
293 if (!bitmap.extractSubset(&tmpBitmap, srcIR)) { in drawBitmapRect()
301 if (srcIR.fLeft > 0) { in drawBitmapRect()
302 dx = SkIntToScalar(srcIR.fLeft); in drawBitmapRect()
304 if (srcIR.fTop > 0) { in drawBitmapRect()
305 dy = SkIntToScalar(srcIR.fTop); in drawBitmapRect()
/external/skia/src/pdf/
DSkPDFDevice.cpp1174 SkIRect srcIR; in drawImageRect() local
1175 tmpSrc.roundOut(&srcIR); in drawImageRect()
1177 autoImageUnref.reset(image->newSubset(srcIR)); in drawImageRect()
1184 if (srcIR.fLeft > 0) { in drawImageRect()
1185 dx = SkIntToScalar(srcIR.fLeft); in drawImageRect()
1187 if (srcIR.fTop > 0) { in drawImageRect()
1188 dy = SkIntToScalar(srcIR.fTop); in drawImageRect()