Lines Matching refs:srcIR
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()
171 !GrLayerCache::PlausiblyAtlasable(srcIR.width(), srcIR.height())) { in FindLayersToAtlas()
176 info, srcIR, dstIR, atlased, recycled, true, 0); in FindLayersToAtlas()
220 SkIRect srcIR; in FindLayersToHoist() local
221 if (!compute_source_rect(info, initialMat, dstIR, &srcIR)) { in FindLayersToHoist()
225 prepare_for_hoisting(layerCache, topLevelPicture, initialMat, info, srcIR, dstIR, in FindLayersToHoist()
243 const SkIPoint offset = SkIPoint::Make(layer->srcIR().fLeft, layer->srcIR().fTop); in DrawLayersToAtlas()
300 const SkIPoint filterOffset = SkIPoint::Make(layer->srcIR().fLeft, layer->srcIR().fTop); in FilterLayer()
332 const SkIPoint offset = SkIPoint::Make(layer->srcIR().fLeft, layer->srcIR().fTop); in DrawLayers()